Website times out if /files/cache is set to 777

Permalink
Hi, I have moved a C5 website to a new server. All looks good with the exception of a few issues:

1) Numerous thumbnails do not appear in the file manager, but clicking View from the context menu shows the full size graphic. "Rescan" does not help - is there anyway to repopulate these thumbnails?

2) The most important issue - inserting an image into the "content" block works fine, but when resizing it and clicking apply, the image shows up as a broken image. I'm fairly sure this is because the resized version wants to save itself into /files/cache/, but this dir is NOT set at 777. If I set this folder at 777, the website loads its header area only but no content. If I set it to 755, the page loads fully (except for the images within blocks).

Does anybody have any ideas? I'm currently setting everything else in /files/ to 777 recursively, but am really stumped as to why the page times out when /files/cache/ is set to 777.

Many thanks
Chris

 
crstf replied on at Permalink Reply
Setting everything except for the cache in /files/ to 777 recursively, followed by setting /files/cache/ recursively to 777, seems to fix issue #2. Still scratching my head over the thumbnails...
hostco replied on at Permalink Reply
hostco
Hello,

Set 777 on all directories inside the /files directory, not just the /files and /cache directory.

Set 777 on the /thumbnails directory and all directories inside of it.

Be sure to set 777 on the directories inside of /level2 and level3/ located in the /thumbnails directory.

Double check the permissions on the images themselves. These can be 777 as well.

After that run the re-scan again.

If 777 is causing errors use 755.
crstf replied on at Permalink Reply
Thanks for your reply. I managed to solve the issue by having /files/ and all subdirectories set to 777 and then reuploading all of the subdirectories within /thumbnails/ again, from Dreamweaver instead of FileZilla, and eventually all of the thumbnails came back to life in the File Manager.