![]() |
Problem Uploading pictures Recently we moved our site to a new server. I edited all server paths and stuff... Now when trying to upload pictures to my albums, i get the message below.... -- Unable to move file [/tmp/phpETaP5J] [/var/www/vhosts/fishmasters.com/httpdocs/photopost/uploads/2/b02.jpg] -- this error messege comes up within photopost. I thought maybe my permissions needed to be changed so i did that, but then i got an error message of the following, and its on a blank white screen. -- Fatal error: Call to undefined function: imagecreatefromjpeg() in /var/www/vhosts/fishmasters.com/httpdocs/photopost/image-inc.php on line 99 -- Thanks for your help guys. |
anyone??? |
anyone??? |
Fatal error: Call to undefined function: imagecreatefromjpeg() in /var/www/vhosts/fishmasters.com/httpdocs/photopost/image-inc.php on line 99 Your new server does not have GD2 installed either compile PHP with GD2 support or find out if mogrify is installed or install it and select ImageMagick as the processor and yes if you move servers you need to change all the paths to the new ones and reset directory and file permissions accordingly |
Quote:
|
that would not matter. The processor is not called until a new image is uploaded and with the error you get your new server does not have GD2 and your trying to use it. |
put the mogrify path in, but i am now getting a new error. Error creating thumbnail! Error code: 1 Command: "/usr/local/bin/mogrify" +profile "*" -size 53x100 -quality 70 -geometry 53x100 -unsharp 10 '/var/www/vhosts/fishmasters.com/httpdocs/photopost/data/508/thumbs/denim.jpg' |
well error code 1 is a permissions error. Double check your data directory at EVERY LEVEL is 777 You can also if thats set right try removing this twice from image-inc.php incase you have an old imagemagick installed on the server that may not know what profile is Code: Content visible to verified customers only. |
Quote:
Its a Debian operating syatem.... does image majic need to have anything special on it? we have the latest version set at default settings. we are still getting: Error creating thumbnail! Error code: 1 Command: "/usr/local/bin/mogrify" -size 53x100 -quality 70 -geometry 53x100 -unsharp 10 '/var/www/vhosts/fishmasters.com/httpdocs/photopost/data/508/thumbs/denim.jpg' |
Thats a permissions issue almost like you do not have permission to access it |
ok... got that problem... now i get this.... Error creating watermarked original! Error code: 1 Command: "/usr/bin/composite" -compose over -gravity SouthEast '/var/www/vhosts/fishmasters.com/httpdocs/photopost/data/516/denim.jpg' '/var/www/vhosts/fishmasters.com/httpdocs/photopost/data/516/denim.jpg' |
So uploads work with no watermark being done now? If your trying to do a watermark you need to ensure your placing the proper server path to the watermark where asked in admin but lets first make sure uploads are indeed working before compounding the issue. |
Quote:
man do i feel like a jerk.... that worked! I had watermark turned on, but no watermark uploaded to my server.... thanks for the help! |
| All times are GMT -5. The time now is 11:37 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0