PHP problem with images upload
-
Hello,
I’ve been having trouble uploading images through Magic Fields 2.The problem is that, when we upload an image, it has to go to this locations:
/var/www/lifeboxset.com/wp-content/files_mf/
/var/www/lifeboxset.com/wp-content/files_mf/cacheThe files appear to be there, but they do not work. The images look broken and invisible. Examples:
https://www.lifeboxset.com/wp-content/files_mf/cache/th_4a54a93031f4c119950098790773b991_1415810520ct.jpg
https://www.lifeboxset.com/wp-content/files_mf/cache/th_4a54a93031f4c119950098790773b991_1415809474plantsvszombies.jpgOur server consultant sent us the following diagnosis:
————
We are seeing the following error messages from your php.log file about this plugin:
Nov 12 09:21:12: PHP Warning: imagecreatefromstring(): Empty string or invalid image in /var/www/lifeboxset.com/wp-content/plugins/magic-fields-2/MF_thumb.php on line 112
Nov 12 09:21:12: PHP Warning: imagecopyresampled() expects parameter 2 to be resource, boolean given in /var/www/lifeboxset.com/wp-content/plugins/magic-fields-2/MF_thumb.php on line 113
Nov 12 09:21:12: PHP Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /var/www/lifeboxset.com/wp-content/plugins/magic-fields-2/MF_thumb.php on line 120————
How can I fix the problem?
Thank you,
Chris.
- The topic ‘PHP problem with images upload’ is closed to new replies.