PDA

View Full Version : uploaded images broken (can't upload)


koch
10-05-2005, 11:02 AM
Sorry for one more post about this trouble.

UPLOAD
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/k/koch.h15.ru/WWW/includes/functions.php on line 92

Warning: chmod(): No such file or directory in /home/k/koch.h15.ru/WWW/includes/functions.php on line 94

PATH
Guessed imagepath: /home/k/koch.h15.ru/WWW/images/
Configured Imagepath ../images/
*** (when i put /home/k/koch.h15.ru/WWW/images/ - I got the same error)

Image Directory: OK - Can we write to the directory? YES.

Thumbnails Directory: OK - Can we write to the directory? YES.

Language Directory: OK

Addons Directory: OK

Includes Directory: OK

PHP-version 4.3.9 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.0.18 (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.28 compatible) with JPEG support

Server software Apache

EXIF Pixelpost is using exifer v1.5 for EXIF information

Templates Directory: OK

DIRECTORY
/home/k/koch.h15.ru/WWW/images/20051005143732_testim.jpg
filesize - 135 kb (the same as at local computer)

/home/k/koch.h15.ru/WWW/thumbnails/ - no any files

/images/ - 777
/images/*.jpg - 644

/thumbnails/ - 777

When I download file 20051005143732_testim.jpg NO ONE picture viewer show it :(

http://koch.h15.ru/index.php

THANK YOU

raminia
10-05-2005, 11:26 AM
do you have permision to upload files on you host?

Joe[y]
10-05-2005, 03:03 PM
it seems more likely a paths than permissions problem to me.

are you running pixelpost in a subfolder or subdomain?

koch
10-05-2005, 06:23 PM
Yes, I have permissions to upload files (and realy uploads but it seems to me that smth gonna wrong couse when i try to open uploaded file - it do not open by NO one browser or picture viewer)

path permithions

/images/ - 777
/images/*.jpg - 644

/thumbnails/ - 777

pixel post running in subdomain http://koch.h15.ru/index.php

raminia
10-05-2005, 06:32 PM
give me the file size. try to upload a smaller file. did you speak to your host admin about this?

Joe[y]
10-05-2005, 06:44 PM
also be sure you have plenty of disc space left on your server/host.

koch
10-05-2005, 06:51 PM
give me the file size. try to upload a smaller file. did you speak to your host admin about this?

i've already try to upload diferent size files 5 KB and 135 KB - one result (file upload ok but there isn't thumbnail and smth broken it up and file become not operable. If U'll give mail I'll send it to you (original and uploaded file)

NO. I don't speak with my host admin becouse it is a free PHP mySQL hosting

]also be sure you have plenty of disc space left on your server/host.

YES I've got enough disc space.

raminia
10-05-2005, 08:58 PM
only the thumbnail is broken?

tbell
10-06-2005, 06:31 AM
I am having the exact same problem and would like to know your fix, if any. I scoured the forumns, and while several threads discuss this problem, no one seems to have many answers. The only thing is to change the image path to ../images/ but that yields no change for me.

koch
10-06-2005, 06:52 AM
There are no thumbnails at all.
Only strang JPGs in IMAGES directory

koch
10-06-2005, 06:54 AM
it seems to me that problem is in PHP GD module but i have not possibility to know it for sure

raminia
10-06-2005, 10:27 AM
no thumb creation >> GD lib with jpeg support + check path. I've no new clue.

tbell
10-06-2005, 05:08 PM
what versions of php is everyone using, maybe it is related to that?

Joe[y]
10-06-2005, 05:12 PM
what versions of php is everyone using, maybe it is related to that?

4.3.11

i don't see this being a problem but an upgrade couldn't hurt!

GeoS
10-11-2005, 02:12 PM
Me: 4.4.0

Connie
10-11-2005, 04:05 PM
PHP-version 4.3.10

kaliganges
10-18-2005, 12:43 AM
I too am running into problems when using the multiple-images-upload addon. It was working well for me when I only had a few pictures in my pixelpost. Now I don't know if more pictures in the db is a related issue or what, but these are my errors:

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/.../pixelpost/includes/functions.php on line 92

Warning: chmod(): No such file or directory in /home/.../pixelpost/includes/functions.php on line 94

But unlike Koch I *do* get thumbnails loaded, just with a bunch of junk errors.

MySQL version is 4.0.24 acc. to the host docs, though I wonder why pixelpost is working at all with it (if it's supposed to want a more recent version). Hrm. Perhaps I have answered my own question!