cancel
Showing results for 
Search instead for 
Did you mean: 

empty array from image upload

empty array from image upload

Hi there.

 

I am having trouble with image uploads that pause at "complete" and when editing multiple item's attributes with an error saying "this is required field". Neither of these errors had occurred in the past, but a server migration had happened with my host in the last few weeks.

 

The php info and post_max_size is at 8M and upload_max_filesize is 2M and smaller images have been tried to upload to make sure this wasn't the issue.

 

I've opened the exception log and found the following:

 

2016-12-02T01:15:13+00:00 ERR (3): 
exception 'Exception' with message '$_FILES array is empty' in /lib/Varien/File/Uploader.php:500
Stack trace:
#0 /lib/Varien/File/Uploader.php(156): Varien_File_Uploader->_setUploadFileId('thumbnail')
#1 /app/code/core/Mage/Catalog/Model/Category/Attribute/Backend/Image.php(57): Varien_File_Uploader->__construct('thumbnail')
#2 [internal function]: Mage_Catalog_Model_Category_Attribute_Backend_Image>afterSave(Object(Mage_Catalog_Model_Category))
#3 /app/code/core/Mage/Eav/Model/Entity/Abstract.php(657): call_user_func_array(Array, Array)
#4 /app/code/core/Mage/Eav/Model/Entity/Abstract.php(1648): Mage_Eav_Model_Entity_Abstract>walkAttributes('backend/afterSa...', Array)
#5 /app/code/core/Mage/Catalog/Model/Resource/Category.php(235): Mage_Eav_Model_Entity_Abstract>_afterSave(Object(Mage_Catalog_Model_Category))
#6 /app/code/core/Mage/Eav/Model/Entity/Abstract.php(1124): Mage_Catalog_Model_Resource_Category>_afterSave(Object(Mage_Catalog_Model_Category))
#7 /app/code/core/Mage/Core/Model/Abstract.php(318): Mage_Eav_Model_Entity_Abstract>save(Object(Mage_Catalog_Model_Category))
#8 /app/code/core/Mage/Catalog/Model/Category/Api.php(347): Mage_Core_Model_Abstract->save()
#9 [internal function]: Mage_Catalog_Model_Category_Api->update(57, Array)
#10 /app/code/core/Mage/Api/Model/Server/Handler/Abstract.php(296): call_user_func_array(Array, Array)
#11 [internal function]: Mage_Api_Model_Server_Handler_Abstract->call('43b1d37c22e7236...', 'catalog_categor...', Array)
#12 /lib/Zend/Server/Abstract.php(232): call_user_func_array(Array, Array)
#13 /lib/Zend/XmlRpc/Server.php(599): Zend_Server_Abstract->_dispatch(Object(Zend_Server_Method_Definition), Array)
#14 /lib/Zend/XmlRpc/Server.php(337): Zend_XmlRpc_Server->_handle(Object(Zend_XmlRpc_Request_Http))
#15 /app/code/core/Mage/Api/Model/Server/Adapter/Xmlrpc.php(113): Zend_XmlRpc_Server->handle()
#16 /app/code/core/Mage/Api/Model/Server.php(138): Mage_Api_Model_Server_Adapter_Xmlrpc->run()
#17 /app/code/core/Mage/Api/controllers/XmlrpcController.php(39): Mage_Api_Model_Server->run()
#18 /app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Api_XmlrpcController->indexAction()
#19 /app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action>dispatch('index')
#20 /app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard>match(Object(Mage_Core_Controller_Request_Http))
#21 /app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#22 /app/Mage.php(683): Mage_Core_Model_App->run(Array)
#23 /index.php(90): Mage::run('', 'store')
#24 {main}

 

Any suggestions?

 

Thanks in advance for any help.