4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: Nca on May 29, 2003, 08:16:10 AM

Title: Error Creating Thumbnail
Post by: Nca on May 29, 2003, 08:16:10 AM
Quote
Create thumbnail for: afhgani (Afghan_refugee-Pakistan_1985.jpg) ....  
Warning: imagejpeg() [function.imagejpeg]: Unable to open './../data/thumbnails/1/Afghan_refugee-Pakistan_1985.jpg' for writing in /home/bizcon/public_html/pizdaa/gallery/includes/image_utils.php on line 79

Error creating thumbnail!


i get this error in auto thumbnailer. tried to change picture's CHMOD, but it stayed 666. i believe, got my GD path right.

What the heck is wrong?
Title: Error Creating Thumbnail
Post by: V@no on May 29, 2003, 12:12:27 PM
check /docs/installation.thx guide for folders CHMOD settings
Title: Error Creating Thumbnail
Post by: Nca on May 29, 2003, 12:40:07 PM
ay! worked.

before, i had CHMOD-d everything as it said in DOC. i had CHMOD-d everything as it said in DOC and everything underneath it, just in case, as you said. then it worked.

i think, 4images got some bugs with creating directories and CHMOD-ing it.

Nca.
Title: Error Creating Thumbnail
Post by: V@no on May 29, 2003, 12:41:56 PM
Quote from: Nca
i think, 4images got some bugs with creating directories and CHMOD-ing it.

no, it's depence how the server configured.
Title: Error Creating Thumbnail
Post by: Nca on May 29, 2003, 12:44:41 PM
then it'd be really nice if the team had noted it on the DOC file.
Title: Error Creating Thumbnail
Post by: V@no on May 29, 2003, 12:50:27 PM
not sure what they should note there, because if u do exacltly as in installation guide, u shouldnt have this problem.
P.S. u must do CHMOD dirs before u upload files in there (I belive so, not much experience with *NIX servers though)
Title: Error Creating Thumbnail
Post by: Nca on May 29, 2003, 01:23:06 PM
did we mess up here? you said it's server specific. now you say follow the DOC. i mean What?!

i don't no if anyone reported this problem. but i'd be very surprised if none did.

thing is, I did ALL it said in installation.txt, esp. the chmod-ing file part. for example, says chmod 777 /data. chmod 777 /data/media etc. BUT, didn't said chmod /data/media/1 and to chmod 777 every subfolder under /data. if you didn't do it, it gives some error. thas the problem.

Nca.
Title: Error Creating Thumbnail
Post by: V@no on May 29, 2003, 01:57:42 PM
that's what I ment by "server specific".
"Most" of the people dont need do CHMOD manualy for each folder in /data/media/ because its automaticaly CHMOD each folder inside it with same CHMOD settings (sub-folders get CHMOD from parent folders).
as I mentioned before, I dont have much experience with *NIX systems, so, I might be wrong here, but I'm pretty much sure that I'm right...:D
Title: Error Creating Thumbnail
Post by: Nca on May 29, 2003, 02:45:33 PM
then again, it'd be helpful if noted on the DOC.

aight man. just keep your DOC's and support up. though without some needed features, 4images is not bad at all. but there's gotta be no trouble installing it ANYWHERE.

regards.
Nca.
Title: Error Creating Thumbnail
Post by: V@no on May 29, 2003, 02:50:12 PM
Quote from: Nca
but there's gotta be no trouble installing it ANYWHERE.
unfortunetly that's impossible...but for MANY cases, read FAQ and search the forum, u might find the sollution ;)