Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moved server, now get imagedestroy error :(


dijol

Recommended Posts

Posted

Hi Guys,

 

Ive moved a guy over to my linux server from a windows one, his shop was running ok and now i get the follwing errors on the category pages;

 

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xgraphic/public_html/includes/functions/general.php on line 1521

 

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xgraphic/public_html/includes/functions/general.php on line 1521

 

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xgraphic/public_html/includes/functions/general.php on line 1521

 

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xgraphic/public_html/includes/functions/general.php on line 1521

 

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xgraphic/public_html/includes/functions/general.php on line 1521

 

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xgraphic/public_html/includes/functions/general.php on line 1521

 

There is 1 error per product on the page, but they are all grouped together at the top,

 

I also get these errors on the product page;

 

Warning: Wrong parameter count for addslashes() in /home/xgraphic/public_html/product_info.php on line 178

 

this one appears above the image of the product image, and these appear below it;

 

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xgraphic/public_html/includes/functions/general.php on line 1521

 

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/xgraphic/public_html/includes/functions/general.php on line 1521

 

I'd be very grateful if someone could help me sort it as im a bit baffled :(

 

Thank you.

 

Olly.

Posted

sorted my problems

 

i have just hidden error messages :D

 

it was all working fine, just had errors, now it doesnt!

 

think it could be cos i went from php4 to php5?

 

oh well its fixed now!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...