Help for integrating the Laravel package
Forum rules: Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#8155 by Indra
11 Jun 2019, 01:15
Hi, after I install the aimeos, I receive this error.
Anyone know the errors?

Thanks

Environment : MAC using MAMP
Attachments
Screen Shot 2019-06-11 at 08.08.37.png
Screen Shot 2019-06-11 at 08.08.37.png (220.94 KiB) Viewed 68 times
Screen Shot 2019-06-11 at 08.07.33.png
using postman
Screen Shot 2019-06-11 at 08.07.33.png (252.01 KiB) Viewed 68 times
#8168 by Indra
11 Jun 2019, 14:22
Hi aimeos, actually I just finish the fresh install by following the documentation on aimeos laravel github, haven't change any configuration, I saw also the line you said commented on my file. Any idea on that error?

Thanks
#8177 by aimeos
11 Jun 2019, 21:58
Not yet. Can you add a
Code: Select allerror_log( var_export( app( 'config' )->get( 'shop.page.catalog-stock' ) ) );

at
https://github.com/aimeos/aimeos-laravel/blob/master/src/Aimeos/Shop/Controller/CatalogController.php#L87
and post the output from the console or Apache error log?
#8216 by Indra
17 Jun 2019, 08:48
Hi aimeos, I already put the error log, but the output is empty. Any more idea?

Thanks
Attachments
Screen Shot 2019-06-17 at 15.47.28.png
Screen Shot 2019-06-17 at 15.47.28.png (121.98 KiB) Viewed 20 times
Screen Shot 2019-06-17 at 15.45.56.png
Screen Shot 2019-06-17 at 15.45.56.png (103.1 KiB) Viewed 20 times
#8217 by aimeos
17 Jun 2019, 09:03
Sorry, must be:
Code: Select allerror_log( var_export( app( 'config' )->get( 'shop.page.catalog-stock' ), true ) );

Without the "true", you won't get any output in the error log because it's directly written to the response.