PDA

View Full Version : problem: no thumbnails


pusakills
11-01-2005, 07:01 PM
The error message is this:
Fatal error: Only variables can be passed by reference in /...../foto/includes/functions.php on line 54

also: first page is blank

I Have everything:
Host Information
PHP-version 5.0.5_NSS (Pixelpost's min requirement: PHP version 4.3.0)
MySQL version 4.0.24-standard-log (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.
Paths
Guessed imagepath: /home/....../foto/images/
Configured Imagepath /home/....../foto/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

So I need help, thanks in advance...
:confused:

pusakills
11-01-2005, 07:15 PM
Thumbnail problem solved
but first page still blank

pusakills
11-01-2005, 07:32 PM
Problem Solved :D
please delete this threat

It is always so, you post it, then you solve it...

bradc972
11-18-2005, 12:55 AM
I am having similar issues with a like build. Can you tell me how you solved this?

Thanks!
Brad

abhivachan
11-18-2005, 05:50 AM
Hi

Please let me know, how did u solve the problem?:(

Here's my info

Error Message: Fatal error: Only variables can be passed by reference in /mnt/web_f/d35/s48/b02627f1/www/ssuresh/includes/functions.php on line 54

Pixelpost Version
You are running version 1.4.2 of Pixelpost. Released 18 July 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 5.0.5 (Pixelpost's min requirement: PHP version 4.3.0)

MySQL version 4.1.12-log (Pixelpost's min requirement: MySQL 3.23.58)

GD-lib bundled (2.0.28 compatible) with JPEG support

Server software Apache/1.3.26 (Unix) mod_perl/1.26

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

Paths
Guessed imagepath: /mnt/web_f/d35/s48/b02627f1/ssuresh/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

bradc972
11-18-2005, 06:24 PM
I fixed my index.php not working by following the instructions from another post with regards to some bugs in php:

http://forum.pixelpost.org/showthread.php?t=2165&highlight=php5

Now to just fix my thumbnail issue.

Thanks!

Brad

bradc972
11-19-2005, 01:25 AM
I can't seem to figure out my thumbnail issue. Here are the errors I get when I try to regenerate the thumbs (same error when I try the initial create on upload). I have made the mods Here (http://forum.pixelpost.org/showthread.php?t=2165&highlight=php5) to correct for some known php5 issues.



Warning: end() [function.end]: Passed variable is not an array or object in /export/www/lanimal/public_html/includes/functions.php on line 57

Warning: imagejpeg(): supplied argument is not a valid Image resource in /export/www/lanimal/public_html/includes/functions.php on line 97

Warning: chmod() [function.chmod]: No such file or directory in /export/www/lanimal/public_html/includes/functions.php on line 99

Warning: end() [function.end]: Passed variable is not an array or object in /export/www/lanimal/public_html/includes/functions.php on line 57

Warning: imagejpeg(): supplied argument is not a valid Image resource in /export/www/lanimal/public_html/includes/functions.php on line 97

Warning: chmod() [function.chmod]: No such file or directory in /export/www/lanimal/public_html/includes/functions.php on line 99

I'm running on solaris 10 with php5 and apache2.

Here is my admin info:
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.

Guessed imagepath: /export/www/lanimal/public_html/images/

Configured Imagepath /export/www/lanimal/public_html/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 my phpinfo can be seen at: http://www.lanimal.net/phpinfo.php

http://www.lanimal.net for my pixelpost blog.

Love the software! Can't wait to get it all sorted out. Any help is greatly appreciated.

raminia
11-19-2005, 06:26 AM
as stated before the problem of blank page when you have PHP5 on your server is addressed >> http://forum.pixelpost.org/showthread.php?t=2165&highlight=php5

@ bradc972
changed path from admin panel of Pixelpost >> Options >> General to
../images/

bradc972
11-19-2005, 02:49 PM
@ bradc972
changed path from admin panel of Pixelpost >> Options >> General to
../images/

Ramina, changed this and still get the errors when I try and generate thumbnails. It almost looks as if my gdlib isn't recognizing the .jpg files. Very strange.

Any ideas?

errors:
Warning: end() [function.end]: Passed variable is not an array or object in /export/www/lanimal/public_html/includes/functions.php on line 57

Warning: imagejpeg(): supplied argument is not a valid Image resource in /export/www/lanimal/public_html/includes/functions.php on line 97

Warning: chmod() [function.chmod]: No such file or directory in /export/www/lanimal/public_html/includes/functions.php on line 99

Warning: end() [function.end]: Passed variable is not an array or object in /export/www/lanimal/public_html/includes/functions.php on line 57

Warning: imagejpeg(): supplied argument is not a valid Image resource in /export/www/lanimal/public_html/includes/functions.php on line 97

Warning: chmod() [function.chmod]: No such file or directory in /export/www/lanimal/public_html/includes/functions.php on line 99