Product Images upload fails
Posted: 09 Mar 2016, 06:13
I first loaded the aimeos package and used the demo data. Tested it and all seemed to work well. All the images were properly associated with the various demo products.
Below are the versions that I am using.
I then wiped the database and re-ran the artisan aimeos:setup without the import demo data option. I created a product and that seemed to work fine. I did not upload an initial image. Afterwards, realizing that I had omitted it, I tried to load an image to the previously created product, but I got an error.
I then tried to create a new product, and upload the image as the product was saved, but I got the same error. (different tmpfile name).
I could not find the file that was uploaded to the server, nor the proper controller that defined the /tmp file association. Granted I am fairly new to laravel, but the logic flow seems very non-intuitive.
Any help will be greatly appreciated.
Below are the versions that I am using.
Code: Select all
aimeos/ai-laravel 2016.01.1
aimeos/ai-swiftmailer 2016.01.2
aimeos/ai-zend2-i18n 2016.01.2
aimeos/aimeos-core 2016.01.7
aimeos/aimeos-laravel 2016.01.3
laravel/framework v5.2.16
OS: Ubuntu 14.04
Code: Select all
SplFileInfo::getSize(): stat failed for /tmp/phptEs6ZE
I could not find the file that was uploaded to the server, nor the proper controller that defined the /tmp file association. Granted I am fairly new to laravel, but the logic flow seems very non-intuitive.
Any help will be greatly appreciated.