PDA

View Full Version : thumbs issue again


germanseneca
11-30-2005, 08:24 PM
Hi, sorry this might be still the same problem like the all others before regarding the thumbnail creation and php.
Anyway, when I try to re-create the thumbs I get this error messages (I have 777 rights on the folders)
Maybe this is of help or can you just confirm it is the same old error?
Ta
Richard

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: chmod(): Unable to access ../thumbnails/thumb_thumb in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 94

Warning: chmod(): No such file or directory in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 94

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

Warning: imagejpeg(): supplied argument is not a valid Image resource in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 92

Warning: touch(): Unable to access in /mnt/kw2/04/916/00000012/htdocs/includes/functions.php on line 56

germanseneca
11-30-2005, 08:25 PM
+ I think I tried all in this forum offered solutions already...

tinyblob
11-30-2005, 08:34 PM
PHP 5?

germanseneca
11-30-2005, 08:47 PM
unfortunately yes...

tinyblob
11-30-2005, 08:56 PM
We'll do what we can to get Pixelpost v1.5 working with BOTH PHP 5 and MySQL 5 as soon as we can. But it is starting to look like there's no "quick fix".

germanseneca
11-30-2005, 08:59 PM
ok, no problem. ta anyways

raminia
11-30-2005, 09:07 PM
We'll do what we can to get Pixelpost v1.5 working with BOTH PHP 5 and MySQL 5 as soon as we can. But it is starting to look like there's no "quick fix".
why no quick fix?
read bug report forum for php 5.

btw, I don't think it an issue with php 5.

tinyblob
11-30-2005, 09:12 PM
i just assumed that there is no quick fix because the original poster said he tried all the fixes posted on the forum

raminia
11-30-2005, 09:20 PM
I don't underestand the touch() function. it's not in the orignal code and it is from some previous suggested fix for the PHP5 issue that I don't agree with.

I suggest reading
http://forum.pixelpost.org/showthread.php?t=2165 for php 5. But error:
supplied argument is not a valid Image resource in...
is not the same error that we used to see in PHP 5. It's a more common error.

check your image path. is it ../images/ ?

EDIT:
I'll dig into this and fix it if you give me more information. Copy/paste general info page in the admin panel plz. We need to have it fixed in 1.5 and I presumed that it's fixed with the above modification I suggested.

bradc972
12-05-2005, 08:36 PM
Raminia,

I am having the same supplied argument is not a valid Image resource issue. I have done all of your changes for php5 and everything but thumbnail creation works great.

Here is my admin info:

Host Information
PHP-version 5.0.5 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 5.0.15-max (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache/2.0.54 (Unix) DAV/2 PHP/5.0.5
EXIF Pixelpost is using exifer v1.5 for EXIF information.

Paths
Guessed imagepath: /export/www/lanimal/public_html/images/
Configured Imagepath ../images/
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
Templates Directory: OK

And you can view my phpinfo at: http://www.collins.cc/phpinfo.php

I'm running Solaris 10, php & mysql 5. Let me know if you need further info.

Thanks for the help!

Brad

raminia
12-05-2005, 08:49 PM
@bradc972 it's strange that everything works fine 'cause 1.4.x has some lines that are not compatible with MySQL 5 that you have.

It's really late here and I try to get you tomorrow but try searching for the error supplied argument is not a valid Image resource
in the forum and you might find something helpful. Machines sometimes are more helpful than men. Specially when men are asleep ;)

EDIT:
Pardon, 1.4.x has problem with MySQL in some special mode not in ordinary cases.

bradc972
12-07-2005, 08:48 PM
Raminia,

No worries! Everything else is working fine! I love pixelpost, so a little patience while we figure this out is no problem!

I've tried just about everything for invalid image resource I've found on the forums without success.