PDA

View Full Version : thumbnails not working


yeonjae
11-10-2005, 03:28 AM
Hi,

My site, sundaymonday.net, suddenly won't create thumbnails for newly uploaded images. Here are the warning messages I get:

Warning: imagejpeg(): Unable to access ../thumbnails/thumb_20051109231407_180.jpg in /nfsn/content/yylog/htdocs/includes/12cropimageinc.php on line 146

Warning: imagejpeg(): Invalid filename '../thumbnails/thumb_20051109231407_180.jpg' in /nfsn/content/yylog/htdocs/includes/12cropimageinc.php on line 146

Warning: chmod(): Unable to access ../thumbnails/thumb_20051109231407_180.jpg in /nfsn/content/yylog/htdocs/includes/12cropimageinc.php on line 148

Warning: chmod(): No such file or directory in /nfsn/content/yylog/htdocs/includes/12cropimageinc.php on line 148

Warning: Cannot modify header information - headers already sent by (output started at /nfsn/content/yylog/htdocs/includes/12cropimageinc.php:146) in /nfsn/content/yylog/htdocs/includes/12cropimageinc.php on line 42

---

It was working fine for the last image I uploaded.

Here's what my info page says:

Pixelpost Version
You are running version 1.4 of Pixelpost. Released 5 April 2005.

Host Information
PHP-version 4.4.1 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.1.9 (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible)
Server software Apache/1.3.34
EXIF Pixelpost is using exifer v1.5 for EXIF information.

Paths
Guessed imagepath: /nfsn/content/yylog/htdocs/images/
Configured Imagepath /nfsn/content/yylog/htdocs/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

--

Thankss in advance for any help.

Connie
11-10-2005, 05:22 AM
If it was working and you did not change anything, ask your hoster please, what they changed! It cannot change from nothing...

by the way, you use a not so fresh version of Pixelpost, maybe you would like to update? (After getting your PP working again, that's the most important point, for sure)

good luck,

Connie

yeonjae
11-10-2005, 07:00 PM
I checked the updates on my host's website, and it says that they upgraded to PHP 4.4.1 yesterday. Could that have anything to do with the problem? Thanks.

Joe[y]
11-10-2005, 07:35 PM
I checked the updates on my host's website, and it says that they upgraded to PHP 4.4.1 yesterday. Could that have anything to do with the problem? Thanks.

i very much doubt it - it's more likely a side effect of somethign they did during the upgrade. ie, you don't seem to have jpg-support on your gd lib any longer which makes it impossible to create thumbnails - ask your host about this.

yeonjae
11-11-2005, 02:49 AM
I contacted my host and they said that JPEG support seems to be installed and working correctly on all of their servers - is there anything else that might be causing this problem?

Connie
11-11-2005, 05:11 AM
please try to upload images with de-activated 12cropimage to find out if that works

Joe[y]
11-11-2005, 06:59 AM
could you please create a phpinfo.php page please

just insert

<?PHP
phpinfo();
?>

into a new php file on your server and give us a link please. this could help us.

GeoS
11-11-2005, 09:31 AM
@yeonjae: give us a link.

Im pretty sure that problem is in GDLib without JPEG support what reports PP in General Info page.

yeonjae
11-12-2005, 04:09 PM
My host found that http://bugs.php.net/bug.php?id=35060 was the cause. They found a fix for the problem, and my site is working correctly.

Thank you very much for your time.

Connie
11-12-2005, 07:16 PM
Oh how I hate these things.. everything is done to make the life more stressy and difficult for no reason at all ;=((((

could you tell us the workaround / fix which your hoster found for you?
We might need to know that ;=(

yeonjae
11-13-2005, 01:50 AM
They reverted back to PHP 4.4.0 because of this and some other problems. So basically, "Don't run PHP 4.4.1."

This bug report - http://bugs.php.net/bug.php?id=35071 - says that new "snapshot" versions fix the problem...

Connie
11-13-2005, 06:16 AM
thanks for the info! I fear my hoster plans to switch to this version too.. must find out..