Member
Member
TimHyde   2006-04-10, 22:55
#1

Please, excuse my english...

Everythings works well with my new installation, except for the thumbnails: they are created in the "cache" directory, but with a chmod of "600" (while the directory itself is "777"), so they are inaccessible from the web...

Any idea?

Thanks alot!

Tim

Developer
Developer
trisweb   2006-04-10, 23:37
#2

Well, sounds like a weird default for your server...

The simple solution is to put this line in i.php:

chmod($newfile, 0644);

right after the imagejpeg(...) line at the end of the file (around line 91).

That permission might not be the right one... if it doesn't work try others.

FYI, I'll probably put this in the next release as a precaution from this happening again.

Member
Member
TimHyde   2006-04-11, 00:32
#3

chmod($newfile,0644); [without a space after the comma] works !

trisweb, thanks alot for your precious help!

And bravo for this extraordinary project!

Tim

Developer
Developer
trisweb   2006-04-11, 07:28
#4

Great, it's in the codebase from now on. You shouldn't need to worry about it ever again.

Thanks for this bug report. Glad to be of help!

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.