phildiggle Posted April 16, 2009 Share Posted April 16, 2009 Hi Guys, Just signed up to the forum, but have addiquate experience in PHP coding. However, this one's throwing me. Just downloaded PlainCart from phpwebcommerce.com (topic has been posted on here a couple of times) Had a couple of problems but managed to iron them out - however, one has been persistant. This is that when I create a category through the Admin pages I get an error thrown out of: Warning: imagejpeg(): Unable to open '/www/shoptrial/images/category/df3b73b51a50b6b4259a18b1bd843b2e.jpg' for writing in /vhost/vhost7/p/h/i/phildiggle.co.uk/www/shoptrial/admin/library/functions.php on line 254 Warning: Cannot modify header information - headers already sent by (output started at /vhost/vhost7/p/h/i/phildiggle.co.uk/www/shoptrial/admin/library/functions.php:254) in /vhost/vhost7/p/h/i/phildiggle.co.uk/www/shoptrial/admin/category/processCategory.php on line 50 Now, I've sorted out the WEB_HOST and SRV_HOST problems that first occured, so I know directories are fine. The images folder has been set to 777 as have the sub folders Catergory and Product. Still no luck though. Offending lines are: switch($size[2]) { case 1: case 2: imagejpeg($dest,$destFile,$quality); // Line 254 break; case 3: imagepng($dest,$destFile); } I've checked with phpinfo(); that GD support is fully enabled for all image types, and is version 2.0.28. Any pointers would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.