I was uploading pictures from products normally when virtuemart show me this error and know always shows me if I try to upload any picture:
Warning: Division by zero in public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 217
Warning: Division by zero in public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 217
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 263
Warning: imageantialias() expects parameter 1 to be resource, boolean given in public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 268
Warning: imagealphablending() expects parameter 1 to be resource, boolean given in /home/rosamaria/domains/mimabebes.es/public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 269
Warning: imagesavealpha() expects parameter 1 to be resource, boolean given in public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 271
Warning: imagecolorallocatealpha() expects parameter 1 to be resource, boolean given in public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 273
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 276
Warning: imagedestroy() expects parameter 1 to be resource, boolean given in public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 165
Warning: imagedestroy() expects parameter 1 to be resource, null given in public_html/administrator/components/com_virtuemart/helpers/img2thumb.php on line 166
PD: joomla 2.5, php 5.3.27, vm 2.0.24b
You can turn off PHP warning reports. http://forum.virtuemart.net/index.php?topic=102555.0
You should also consider updating, Current VM is 2.0.26d http://forum.virtuemart.net/index.php?topic=118683.0
Quote from: jenkinhill on February 01, 2014, 17:59:59 PM
You can turn off PHP warning reports. http://forum.virtuemart.net/index.php?topic=102555.0
You should also consider updating, Current VM is 2.0.26d http://forum.virtuemart.net/index.php?topic=118683.0
Turn off warning php reports solve the problem for now. Don't shows the php error but the picture is not upload either, shows me this error: Warning: ¡Failed to move file!. I trying to update vm to the last version avaliable but i can't. If i try with vm aio give me an error and tell me that i must do manually. If i try manually shows me this message: Unable to write entry.
I assume you are trying to update using Joomla's media manager? Sounds like a permissions issue with your server.