Image Upload issue for products
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: 30
- Joined: 08 Aug 2017, 07:20
Image Upload issue for products
Hello,
I am using aimeos with laravel 5.4. I am facing issue in uploading image for products from admin. It gives me error
No file uploaded for 1. new image, /ext/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm/Product/Image/Standard.php:420.
Also my laravel is installed in the subdirectory of root.
I am new to Laravel so please help me out to resolve this issue.
I am using aimeos with laravel 5.4. I am facing issue in uploading image for products from admin. It gives me error
No file uploaded for 1. new image, /ext/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm/Product/Image/Standard.php:420.
Also my laravel is installed in the subdirectory of root.
I am new to Laravel so please help me out to resolve this issue.
Re: Image Upload issue for products
Besides security issues, Laravel doesn't support installations in subdirectories very well. The ./public/ directory must be the document root of your VHost.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 30
- Joined: 08 Aug 2017, 07:20
Re: Image Upload issue for products
Could you please tell me in which folder images will be uploaded for products and categories?
Also it will be ok if i moved only public folder to root and will change index file path?
Also it will be ok if i moved only public folder to root and will change index file path?
Re: Image Upload issue for products
The folders are the ./public/files/ and ./public/preview/ directories in your Laravel application directory. Maybe you forgot to set the permissions correctly so the web server can write into these directories?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 30
- Joined: 08 Aug 2017, 07:20
Re: Image Upload issue for products
But issue is on preview of product image it is not taking public in url. That's why it is not showing any image.
Re: Image Upload issue for products
Like we already said: Laravel doesn't support installing applications in subdirectories well. ./public/ needs to be the document root of your vhost.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 30
- Joined: 08 Aug 2017, 07:20
Re: Image Upload issue for products
Hello,
Please suggest me about the subscription feature for my shop. I want to add monthly subscription for products. Please suggest how to achieve it.
Thanks in advance.
Please suggest me about the subscription feature for my shop. I want to add monthly subscription for products. Please suggest how to achieve it.
Thanks in advance.
-
- Posts: 13
- Joined: 27 Dec 2018, 07:32
Re: Image Upload issue for products
Hi,
I am using laravel 5.7 and can't upload product or edit the image of product. i am having error
vendor/aimeos/aimeos-core/lib/mwlib/src/MW/Media/Factory.php in this path and Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'finfo' not found
but with same code i am able to upload pictures locally but not on live, where to add 'finfo' class or change it.(have already copy pasted local file on live but its still giving same error).
please reply me as soon as possible.
I am using laravel 5.7 and can't upload product or edit the image of product. i am having error
vendor/aimeos/aimeos-core/lib/mwlib/src/MW/Media/Factory.php in this path and Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'finfo' not found
but with same code i am able to upload pictures locally but not on live, where to add 'finfo' class or change it.(have already copy pasted local file on live but its still giving same error).
please reply me as soon as possible.
Re: Image Upload issue for products
You haven't installed the php-finfo extension on your server.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

-
- Posts: 13
- Joined: 27 Dec 2018, 07:32
Re: Image Upload issue for products
Hi,
Can you tell me the path of admin main layouts file so that i can change the content and logo according to my requirement.
and also other views where i can customize more like banner(in Home page) logos and all.
Why i am unable to show price of any product and when i go to basket it shows that price of this product is not present whether i have inserted its price successfully in Admin portal.
ThankYou
Can you tell me the path of admin main layouts file so that i can change the content and logo according to my requirement.
and also other views where i can customize more like banner(in Home page) logos and all.
Why i am unable to show price of any product and when i go to basket it shows that price of this product is not present whether i have inserted its price successfully in Admin portal.
ThankYou