Just upgraded from 1.3.9 by fresh install and applying all customizations and language files as well as the CKEditor. When trying to edit prices of products in the attributes controller, page goes blank after hitting the update button.
The error log is:
The reason seems to be that the function zen_not_null($value) in admin/includes/functions/general.php does not handle objects while we have this construct:Code:[12-Jul-2016 20:00:15] Request URI:/cart/admin/attributes_controller.php?action=update_product_attribute&attribute_page=1&products_filter=157, IP address: ............. #1 trim(upload Object ([file] => attributes_image,[filename] => ,[destination] =>/home/company/public_html/cart/images/,[permissions] => 420,[extensions] => Array ([0] =>jpg,[1] => jpeg,[2] => gif,[3] => png,[4] => webp,[5] => flv,[6] => webm,[7] =>ogg),[tmp_filename] => ,[message_location] => direct)) called at [/home/company/public_html/cart/admin/includes/functions/general.php:441] #2 zen_not_null(upload Object ([file] => attributes_image,[filename] => ,[destination] =>/home/company/public_html/cart/images/,[permissions] => 420,[extensions] => Array ([0] =>jpg,[1] => jpeg,[2] => gif,[3] => png,[4] => webp,[5] => flv,[6] => webm,[7] =>ogg),[tmp_filename] => ,[message_location] => direct)) called at [/home/company/public_html/cart/admin/includes/classes/upload.php:61] #3 upload->parse() called at [/home/company/public_html/cart/admin/attributes_controller.php:445] [12-Jul-2016 20:00:15] PHP Catchable fatal error: Object of class upload could not be converted to string in /home/company/public_html/cart/admin/includes/functions/general.php on line 441
on line 442 in admin/attributes_controller.phpCode:$attributes_image = new upload('attributes_image');
PHP Version 5.2.17 MySQL: 5.5.50


Reply With Quote

