PDA

View Full Version : minor bug - regeneration of thumbs


mat
05-02-2005, 02:47 PM
Hello,

I am new to pixelpost and photoblogging in general... been taking photographs for 15 years, however...

Regardless, my bug:

In admin, I changed the width/length of the thumbnail to 100x100, then saved. Then I hit the regenerate button... and I got this error:

Warning: imagejpeg(): supplied argument is not a valid Image resource in /home2/xxx/public_html/lomat/includes/functions.php on line 92

Warning: chmod(): No such file or directory in /home2/xxx/public_html/lomat/includes/functions.php on line 94
Thumbnails updated
8 thumbnails updated.

--
It still actually regenerated the thumbs, so I am unsure why I received the error...

Thanks so much regardless for a great piece of software,
Mat

Connie
05-02-2005, 05:09 PM
Mat,

please give us the information which you can find in the admin panel:

version
PHP-Version etc.

and: is your website hosted at dreamhost?
Because from there we get so many messages like yours :cry:

mat
05-02-2005, 05:14 PM
Mat,

please give us the information which you can find in the admin panel:

version
PHP-Version etc.

and: is your website hosted at dreamhost?
Because from there we get so many messages like yours :cry:

Sorry, about that. My first time here...

I am hosted with site5

You are running version 1.4.1 of Pixelpost. Released 24 April 2005.
Latest pixelpost version: Check

Host Information
PHP-version 4.3.10 (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.0.22-standard (Pixelpost's min requirement: MySQL 3.23.58)
GD-lib bundled (2.0.28 compatible) with JPEG support
Server software Apache/1.3.33 (Unix) mod_bwlimited/1.4 mod_auth_passthrough/1.8 mod_bwprotect/0.2 PHP/4.3.10 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.6b
EXIF Pixelpost is using exifer v1.5 for EXIF information.

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


Thanks,
Mat

Joe[y]
05-02-2005, 06:23 PM
your mySQL version isn't up to scratch with the PP requirements. You'll have to ask your host to update the mySQL version. this shouldn't be too much of a mission for them so ask kindly and I'm sure they'll do it in no time if they're worth any money at all! :D

mat
05-02-2005, 06:26 PM
your mySQL version isn't up to scratch with the PP requirements. You'll have to ask your host to update the mySQL version. this shouldn't be too much of a mission for them so ask kindly and I'm sure they'll do it in no time if they're worth any money at all! :D

I am a little confused...

Looks to me my version is newer than the minimum requirements...

MySQL version 4.0.22-standard (Pixelpost's min requirement: MySQL 3.23.5)

Don't I have 4.0.22 and the requirement is 3.23.5?

Connie
05-02-2005, 06:28 PM
JSpurling, this I don't understand:

MySQL version 4.0.22-standard (Pixelpost's min requirement: MySQL 3.23.5

I always higher release-numbers are more actual? Or is our information about MySQL-min requirement wrong? :?:

Joe[y]
05-02-2005, 06:30 PM
no. sorry. me being dum. realised that i read that wrong just before you corrected me. you beat me to it! :D

Joe[y]
05-02-2005, 07:06 PM
assuming your image path is correct (as you have posted images before... right?) then i would go with the suggestion that GeoS made in http://pixelpost.org/forum/viewtopic.php?t=946

which is :

It seems that your hosting company have problems with support of /tmp dir.
Maybe there is not free space (/tmp) or something else is making such effect??


EDIT: Are the following not displaying with the rest of your info? :

Guessed imagepath:
Configured Imagepath

mat
05-02-2005, 07:07 PM
assuming your image path is correct (as you have posted images before... right?) then i would go with the suggestion that GeoS made in http://pixelpost.org/forum/viewtopic.php?t=946

which is :

It seems that your hosting company have problems with support of /tmp dir.
Maybe there is not free space (/tmp) or something else is making such effect??

i have 4.5 gigs free space...

but i'll look in to it

thanks so much,
mat

Connie
05-02-2005, 07:25 PM
Mat,

it's not the space itself, even if you are lucky to have so much space, it is the configuration of the server, whether a /tmp-dir is allowed or not, whether uploading files to such a directory and moving to the final directory...

it's a question of configuration and permissions

mat
05-02-2005, 07:42 PM
Mat,

it's not the space itself, even if you are lucky to have so much space, it is the configuration of the server, whether a /tmp-dir is allowed or not, whether uploading files to such a directory and moving to the final directory...

it's a question of configuration and permissions

i use Gallery1.5 and Gallery 2... Both use the /tmp directory and I have no had problems... In fact there are a few files in there from a few days ago from those said programs...

Honestly, this isn't *that* big a deal as it still functioned perfectly, sans this error...

Let me know if there is anything else I can check on my end...

Mat

raminia
05-03-2005, 07:55 AM
I think the warning could be from some other addons!
the problem could be something like this. some addons, like random addon, work when user browses main index.php and not the admin/index.php. they may throw warning like that if the path is not checked before any use. the original version of random image addon has this problem which is discussed in the forum but I didn't have time to correct this addon.