Bug : user_profile/image ?

Message boards : Web interfaces : Bug : user_profile/image ?
Message board moderation

To post messages, you must log in.

AuthorMessage
[AF>Le_Pommier>MacGeneration.c...

Send message
Joined: 10 Nov 09
Posts: 5
Belgium
Message 31209 - Posted: 25 Feb 2010, 16:28:20 UTC

Hi,

I had a problem with the user_profile/image, the link to the images on the website was not working.
First i thought that it was a permission problem and tried to fix it. But the problem was elsewhere.

I looked at the url formed to display the picture it was something like :
URL_BASE/NAME_PROJECT/user_profile_images/1.jpg

I looked at httpd.conf and saw :
Alias /NAME_PROJECT /home/boincadm/projects/NAME_PROJECT/html/user

The problem is that the folder user_profile/ is not in html/user but right in html/ !!

It explained why the link to the picture was wrong : it was referring to
html/user/user_profile/images/1.jpg

but the right place was
html/user_profile/images/1.jpg


To fix the problem i put a symlink in html/user/ to /html/user_profile. That fixed the problem.

Is it a bug? Did i fixed it right?

I've also another question, as i said at the beginning i thought it was a permission problem and tried to fix it, but i'm afraid i did something bad with the permissions.
Can you tell me if these permissions are right :
drwxrws---    boincadm boincadm  user_profile

drwxrws---   boincadm boincadm  images
-rwxrws---   boincadm boincadm  profile_alpha.html
-rwxrws---   boincadm boincadm  profile_country.html
-rwxrws---   boincadm boincadm  user_gallery_1.html

-rw-r--r--  www-data boincadm  1.jpg


(And what's the utility of profile_alpha.html, profile_country.html, user_gallery_1.html ?)

Thanks for your help !
ID: 31209 · Report as offensive
[AF>Le_Pommier>MacGeneration.c...

Send message
Joined: 10 Nov 09
Posts: 5
Belgium
Message 31213 - Posted: 26 Feb 2010, 0:00:59 UTC - in response to Message 31209.  

Forget
(And what's the utility of profile_alpha.html, profile_country.html, user_gallery_1.html ?)

I see now :)
ID: 31213 · Report as offensive

Message boards : Web interfaces : Bug : user_profile/image ?

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.