Author Topic: Error Creating Thumbnail  (Read 9498 times)

0 Members and 1 Guest are viewing this topic.

Offline Nca

  • Newbie
  • *
  • Posts: 34
    • View Profile
Error Creating Thumbnail
« 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?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Error Creating Thumbnail
« Reply #1 on: May 29, 2003, 12:12:27 PM »
check /docs/installation.thx guide for folders CHMOD settings
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Nca

  • Newbie
  • *
  • Posts: 34
    • View Profile
Error Creating Thumbnail
« Reply #2 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.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Error Creating Thumbnail
« Reply #3 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.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Nca

  • Newbie
  • *
  • Posts: 34
    • View Profile
Error Creating Thumbnail
« Reply #4 on: May 29, 2003, 12:44:41 PM »
then it'd be really nice if the team had noted it on the DOC file.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Error Creating Thumbnail
« Reply #5 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)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Nca

  • Newbie
  • *
  • Posts: 34
    • View Profile
Error Creating Thumbnail
« Reply #6 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.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Error Creating Thumbnail
« Reply #7 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
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Nca

  • Newbie
  • *
  • Posts: 34
    • View Profile
Error Creating Thumbnail
« Reply #8 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.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Error Creating Thumbnail
« Reply #9 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 ;)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)