Error on homepage

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Indra
Posts: 5
Joined: 30 May 2019, 07:10

Error on homepage

Post 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 195 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 195 times

User avatar
aimeos
Administrator
Posts: 3207
Joined: 01 Jan 1970, 00:00

Re: Error on homepage

Post by aimeos » 11 Jun 2019, 07:36

Guess you changed the configuration and this isn't a valid array any more:
https://github.com/aimeos/aimeos-larave ... op.php#L27
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Indra
Posts: 5
Joined: 30 May 2019, 07:10

Re: Error on homepage

Post 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

User avatar
aimeos
Administrator
Posts: 3207
Joined: 01 Jan 1970, 00:00

Re: Error on homepage

Post by aimeos » 11 Jun 2019, 21:58

Not yet. Can you add a

Code: Select all

error_log( var_export( app( 'config' )->get( 'shop.page.catalog-stock' ) ) );
at
https://github.com/aimeos/aimeos-larave ... er.php#L87
and post the output from the console or Apache error log?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Indra
Posts: 5
Joined: 30 May 2019, 07:10

Re: Error on homepage

Post 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 147 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 147 times

User avatar
aimeos
Administrator
Posts: 3207
Joined: 01 Jan 1970, 00:00

Re: Error on homepage

Post by aimeos » 17 Jun 2019, 09:03

Sorry, must be:

Code: Select all

error_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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply