Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#4453 by sumit kaushik
08 Aug 2017, 07:35
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.
#4455 by aimeos
08 Aug 2017, 08:29
Besides security issues, Laravel doesn't support installations in subdirectories very well. The ./public/ directory must be the document root of your VHost.
#4457 by aimeos
08 Aug 2017, 15:45
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?
#4481 by aimeos
10 Aug 2017, 13:44
Like we already said: Laravel doesn't support installing applications in subdirectories well. ./public/ needs to be the document root of your vhost.
#7441 by hihaider196
01 Jan 2019, 07:46
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.
#7449 by hihaider196
02 Jan 2019, 07:50
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