Page 1 of 1

[solved] upgrade to 1.4.1: images not showing

Posted: Thu Aug 14, 2008 5:16 pm
by struba
I've upgraded my cmsms installation to version 1.4.1. Everything seems to have worked fine, only my images aren't showing anymore. In the cms admin panel when i go to images and click on an image it says 403 forbidden. I try to change the permission in my ftp program (filezilla) but doesn't work, it won't change the permissions!

what have i overlooked? or was there some code in my previous installation that i have now overwritten?

i've looked around on the forum but didn't not find anything about the problem.

any help is much appreciated!

thanks,
Ruben

Re: upgrade to 1.4.1: images not showing

Posted: Thu Aug 14, 2008 5:22 pm
by struba
i get a 550 Operation not permitted in my ftp client. Where can i change permissions for users? Probably everything was setup fine in de previous install. The previeous "owner"  of this site didn't tell me about this issue.
Best,
Ruben

Re: upgrade to 1.4.1: images not showing

Posted: Thu Aug 14, 2008 6:48 pm
by Dr.CSS
It must have been installed/uploaded not with FTP program, maybe have to back it up and try deleting with file manager then reupload with FTP...

Re: upgrade to 1.4.1: images not showing

Posted: Fri Aug 15, 2008 11:36 am
by struba
i don't really follow... i made a backup of my sitei downloaded cms full 1.4.1 then unzipped and installe through filezilla. where did i go wrong then?
By the way, i can change permissions on some folder and files, just not on and in my image folder.
Ruben

Re: upgrade to 1.4.1: images not showing

Posted: Fri Aug 15, 2008 12:14 pm
by Nick Smart
The way some web hosts are set up means that files are owned by different users. You upload and install the core via FTP and those files/directories are owned by your FTP user. Modules you install and any images you upload via CMSMS are owned by the PHP/Apache user. You then need to set various directory ownerships to 777 (e.g. tmp, uploads, modules, etc.) to ensure that the CMSMS can access them correctly, rather than the usual 755. I have a couple of sites that operate this way.

Check the 'System Information' details under the 'Site Admin' menu. You are looking for ticks against the directories listed under "CMS Install Information" and likewise for "Server Information". Do you have to set the directory permission to 777 to get a tick?

Now usually you would have to use your FTP client to change the permissions on the images directory to give CMSMS access. If you can't do that it suggests that the images directory is owned by a different FTP user to the one you are currently using. You mentioned a previous owner of the site. Are you using different FTP user to the previous owner? Can you get hold of their FTP username/password and try changing the permissions with that FTP user?

Give yourself permission to access the entire file structure using the CMSMS File Manager Can you change the directory permissions using the File Manager?

Nick

[solved] Re: upgrade to 1.4.1: images not showing

Posted: Fri Aug 15, 2008 12:50 pm
by struba
the previous owner used the same login as i do.
together with a friend we tried some things a few minutes ago. Changing the name of .htaccess in the uploads folder made the whole problem disappear. I have the backup of that file on my computer at work so i'm going to compare the two to see what gives.
Thanks for the help you 2 have provided, i hope to give some help back by trying to figure out exactly what went wrong.
Best!
Ruben