Product Images upload fails
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 2
- Joined: 08 Mar 2016, 11:31
Product Images upload fails
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.
Re: Product Images upload fails
We've released a new beta release (2016.03) which should fix that issue.pingtechgroup wrote:I tried to load an image to the previously created product, but I got an error.Code: Select all
SplFileInfo::getSize(): stat failed for /tmp/phptEs6ZE
Everything related to the Aimeos JQAdm interface is located inpingtechgroup wrote: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.
https://github.com/aimeos/aimeos-core/t ... dmin/JQAdm
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 2
- Joined: 08 Mar 2016, 11:31
Re: Product Images upload fails
Thank you!
That resolved that specific issue.
But after the update there is a new error when trying to navigate to /list or index.php/list:
Since there is only demo data on this instance, I am starting a new/fresh install w/o the demo data. I will update this thread with the results.
UPDATE:
So a fresh install seems to have resolved all issues.
That resolved that specific issue.
But after the update there is a new error when trying to navigate to /list or index.php/list:
Code: Select all
InvalidArgumentException in UrlGenerator.php line 307:
Route [] not defined.
in UrlGenerator.php line 307
at UrlGenerator->route(null, array(), false) in Laravel5.php line 59
at Laravel5->transform(null, 'catalog', 'list', array(), array(), array())
at call_user_func_array(array(object(Laravel5), 'transform'), array(null, 'catalog', 'list', array(), array(), array())) in Standard.php line 85
at Standard->__call('url', array(null, 'catalog', 'list', array(), array(), array())) in body-default.php line 100
at Standard->url(null, 'catalog', 'list', array(), array(), array()) in body-default.php line 100
at include('/home/vagrant/demo/econ1.app/vendor/aimeos/aimeos-core/client/html/templates/catalog/filter/body-default.php') in Standard.php line 274
at Standard->includeFile('/home/vagrant/demo/econ1.app/vendor/aimeos/aimeos-core/client/html/templates/catalog/filter/body-default.php') in Standard.php line 219
at Standard->render('catalog/filter/body-default.php') in Standard.php line 183
at Standard->getBody() in Page.php line 85
UPDATE:
So a fresh install seems to have resolved all issues.
Last edited by pingtechgroup on 14 Mar 2016, 09:33, edited 1 time in total.
Re: Product Images upload fails
Unfortunately, the Laravel decided to copy all configuration and views of packages to a local directory and they won't be updated with newer version. Thus, you have to do this on your own if you upgrade a package. There are some hints in the upgrade page:
https://aimeos.org/docs/Laravel/Upgrade
https://aimeos.org/docs/Laravel/Upgrade
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
