|
#1
|
|||
|
|||
|
Cannot create thumbnails
anyway to debug what the errors are when you try to create thumbnails.
when i upload an image it does not create a thumb nail, and if i try to recreate the thumbnails it just results in a blank screen, permissions are correct, just nothing gets resized.. |
|
#2
|
||||
|
||||
|
I suppose you have GD-lib compiled and working.
A hands on debug approach would be to echo out anything to see exactly where it stops processing. Open up /admin/index.php and look at line 839 and onward. Just type echo "so far so good<hr />"; within the function at places. Start at the top. Then hit re-generate thumbnails after each new placement of the line. function createthumbnail($file) { echo "so far so good<hr />"; For example. Then you know it actually has gone this far in the process. Re-place the echo-line lower down, for example after line 857. This is an rough but easy way to see where the script actually stops. // pixelpunk
__________________
icq: 66760929 |
|
#3
|
|||
|
|||
|
when creating a new post with a new image.
Fatal error: Call to undefined function: imagejpeg() in /home/web/public_html/photos/admin/index.php on line 876 |
|
#4
|
|||
|
|||
|
ahh,same error as don tino
|
|
#5
|
|||
|
|||
|
I have php compiled against gd-2.0.28
|
|
#6
|
||||
|
||||
|
Edit: you already posted version, nevermind the below.
Need to check that php supports jpeg. I'll look up what it's called in the phpinfo() output. - Undefined function, weird. imagejpeg() was introduced in php 3.0.16, which is old. It also needs GD-lib 1.8 or later. Can you check that you got atleast those versions? If you do have it (which you should) then I must check one other thing (support for jpeg in the php-compile, I think...). // pixel
__________________
icq: 66760929 |
|
#7
|
|||
|
|||
|
PHP Version 4.3.9
gd-2.0.28 httpd-2.0.50 (apache) let me check my php compile, i compiled it against a ton of options... |
|
#8
|
||||
|
||||
|
Look for --with-jpeg
__________________
icq: 66760929 |
|
#9
|
|||
|
|||
|
hrmm even though libjpeg was in /usr/lib and i put --with-jpeg it couldn't find it.. i had to recompile with --with-jpeg-dir=/usr/lib
|
| Post Reply |
| Thread Tools | |
|
|