image upload bugs...
Posted: Wed Apr 07, 2004 1:13 pm
Ok, installed s9y 6.0-rc1, works excellent, except for image uploads.
Created dir on server: uploads/, entered it's name in config. screen under 'paths':
relative upload path: uploads/
upload path: uploads/
use imagmagick: yes
path to convert lib: /usr/bin/convert
Here's the errors I'm getting:
Upon uploading an image:
The image is present in the dir, yet no thumb has been created, contrary to the above message.
When I go to 'admin images', there are no imgs to be admined.
However, when I go to 'recreate thumbs', I get:
OK. Now I can edit the source to get rid of the 'in safe mode' errors, as posted here, as well as commenting out the 'set_time_limt' function.
But that doesn't really help...
New errors:
uploading:
However: no thumb is present in the uploads/ dir.
image admin error:
Removing the double slash ('//') in the location has no positive effedt. error is logical, cause there is no 'cassette-tape.klein.gif' in the uploads dir.
So, what's the solution here??
Created dir on server: uploads/, entered it's name in config. screen under 'paths':
relative upload path: uploads/
upload path: uploads/
use imagmagick: yes
path to convert lib: /usr/bin/convert
Here's the errors I'm getting:
Upon uploading an image:
Code: Select all
File IMG_3857.jpg successfully uploaded as /home/virtual/site69/fst/var/www/html/s9y/uploads/IMG_3857.jpg
Warning: shell_exec(): Cannot execute using backquotes in Safe Mode in /home/virtual/site69/fst/var/www/html/s9y/serendipity_functions_images.inc.php on line 146
Thumbnail created.
Done.
When I go to 'admin images', there are no imgs to be admined.
However, when I go to 'recreate thumbs', I get:
Code: Select all
Warning: set_time_limit(): Cannot set time limit in safe mode in /home/virtual/site69/fst/var/www/html/s9y/serendipity_admin_images.inc.php on line 18
Syncronizing the database with the image folder
Done (sync. 1 image).
Resize image
Done (resized 1 image).
But that doesn't really help...
New errors:
uploading:
Code: Select all
File cassette-tape.gif successfully uploaded as /home/virtual/site69/fst/var/www/html/s9y/uploads/cassette-tape.gif
Thumbnail created.
Done.image admin error:
Code: Select all
Warning: getimagesize(): Unable to access /home/virtual/site69/fst/var/www/html/s9y/uploads//cassette-tape.klein.gif in /home/virtual/site69/fst/var/www/html/s9y/serendipity_functions_images.inc.php on line 420
Warning: getimagesize(/home/virtual/site69/fst/var/www/html/s9y/uploads//cassette-tape.klein.gif): failed to open stream: No such file or directory in /home/virtual/site69/fst/var/www/html/s9y/serendipity_functions_images.inc.php on line 420So, what's the solution here??