PDA

View Full Version : thumbnail problems


Anonymous
04-22-2005, 09:10 PM
I've read a number of the posts about thumbnail problems, and have taken steps to resolve them.. however it's still not working.

First I didn't have a thumbnail directory :oops:
Then I didn't have GD compiled in with PHP, and now that I do it still doesn't work

here is the site info (at www.dayna.org)

Pixelpost Version
You are running version 1.4 of Pixelpost. Released 5 April 2005.
Latest pixelpost version: Check

Looking for help or want to give feedback, please step into pixelpost forum.
www.pixelpost.org/forum/

Host Information
PHP-version 4.3.11 (Pixelpost's min requirement: PHP version 4.3.0)

MySQL version 3.23.58 (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.28 compatible)

Server software Apache/2.0.53 (Unix) PHP/4.3.11

EXIF Pixelpost is using exifer v1.5 for EXIF information.

Paths
Guessed imagepath: /home/dayna/htdocs/images/

Configured Imagepath /home/dayna/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

When I hit "rebuild thumbnails" it just shows the Admin banner. There is only one picture on the site, and it is only ~ 150kb.

I'm short on time, I just updated my gf's site because we are going to South America for 6 weeks.. pixelpost seemed like the best solution, but I am having a tough time ironing out the kinks.. any help would be appreciated.

Anonymous
04-22-2005, 10:40 PM
also, phpinfo is available at

http://www.mottie.com/test.php

GeoS
04-22-2005, 11:49 PM
Does it generate when you edit entry and use crop12??

raminia
04-23-2005, 07:16 AM
did you set the permissions?
chmod 777?

GeoS
04-23-2005, 10:32 AM
Paths
Guessed imagepath: /home/dayna/htdocs/images/

Configured Imagepath /home/dayna/htdocs/images/

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

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


It seems that chmod is OK.

mottie
04-23-2005, 05:55 PM
After selecting Crop12 and uploading a picture I get the error:

The layer does not exist (cropdiv)-
If your using Netscape please check the nesting of your tags!

(I have confirmed that I get this error in Firefox and IE)

When I delete an image I get the error "Warning: unlink(../thumbnails/thumb_20050423105241_h320 002.jpg): No such file or directory in /home/dayna/htdocs/admin/index.php on line 983
Could not delete thumbnail. You have to do that some other way, with your ftp software perhaps." which makes sense because there is no thumbnail.

p.s I do have full root access to this box, and have the ability to recompile php/apache2 if you think that will help.

GeoS
04-23-2005, 06:08 PM
It won't help (I think).

Good adviece:

1) del all
2) drop DB
3) extract clear version of PP 1.4
4) edit admin/pixelpost.php
5) upload all
6) install
7) have fun

mottie
04-24-2005, 04:06 AM
New database, new directory, new domain
installed 1.4.1
same problem, banner at top, nothing else.

Connie
04-24-2005, 08:05 AM
I can't open www.dayna.org....

I thought that is your domain?

GeoS
04-24-2005, 10:54 AM
Did you regenerate thumbs (option in admin panel) after you add GD support to PHP and created thumbnails directory with chmod 777??

If not it won't do it itself. You must do it in manual way (if there aren't thumbs).

I think that you have problems with logical thinking when you use PP and not with PP.

mottie
05-10-2005, 07:26 PM
yes i have tried to regenerate thumbs, i have also uploaded a number of photos, thumbnails are not being generated.

You can see that I have chmod 777 in my info statement:

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

I have resorted to uploading the pictures, and then using putty to run mogrify to resize them and create thumbnails.

www.dayna.org is the domain that pixelpost is running on yes, i have verified from 3 differnet ISPīs in canada, and 1 in Uraguay (where I am currently) that the domain resolves perfectly.

GeoS
05-10-2005, 07:32 PM
GD-lib bundled (2.0.28 compatible)


http://www.mottie.com/test.php:
gd
GD Support enabled
GD Version bundled (2.0.28 compatible)
GIF Read Support enabled
GIF Create Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

You don't have JPEG support in your GDlib :/ Without this you can't (re)generate thumbs using PP.

uni
05-11-2005, 06:55 PM
I can confirm what Geos said because I got the *exact* same problems and error messages that you're gettig when I did not have Jpeg support compiled into GD. Unfortunately I struggled with this issue for a great deal of time before I got it working correctly as I run my own OpenBSD box.

Try to upload a BMP file...it will work fine.

GeoS
05-11-2005, 07:24 PM
It will work just like with PNG, GIF, XBM, WBMP (instead of BMP).

mottie
07-20-2005, 06:06 PM
I believe the problem was a result of apache 2. I switched to apache 1 and all works well. even after following all suggestions apache2 would not generate thumbs.

GeoS
07-25-2005, 06:32 PM
Apache doesn't execute PHP code (code responsible for thumbs generation). Problem must be with PHP used under Apache 1.x.x and probably with other PHP configuration under Apache 2.x.x.