Error after installing barryvdh (PHP debug bar for Laravel)
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Error after installing barryvdh (PHP debug bar for Laravel)
My environment:
Mac / PHP 8.1.4 / Aimeos 2022.04
After installing barryvdh (a PHP debug bar for Laravel), I can see the following errors as attached ("APP_DEBUG=true" in ".ENV"):
1. The product images cannot be downloaded.
2. The debug bar is not shown properly. (The console log shows some clue about it, but I don't understand what they mean. I need a help on this! FYI, on login/register pages, I can see the debug bar properly.)
Thank you in advance!
Mac / PHP 8.1.4 / Aimeos 2022.04
After installing barryvdh (a PHP debug bar for Laravel), I can see the following errors as attached ("APP_DEBUG=true" in ".ENV"):
1. The product images cannot be downloaded.
2. The debug bar is not shown properly. (The console log shows some clue about it, but I don't understand what they mean. I need a help on this! FYI, on login/register pages, I can see the debug bar properly.)
Thank you in advance!
Re: Error after installing barryvdh (PHP debug bar for Laravel)
The DebugBar implementation uses inline Javascript, which conflicts with the strict Content Security Policy in the Aimeos base Blade template. We've changed that so the CSP is only applied in non-debug mode and you can test yourself by executing:
Code: Select all
composer req aimeos/aimeos-laravel:2022.04.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Error after installing barryvdh (PHP debug bar for Laravel)
Thank you for your help! I've tried to run your command in the terminal but I've got this error message:
There are no commands defined in the "aimeos/aimeos-laravel" namespace.
Could you let me know what's worng with it?
There are no commands defined in the "aimeos/aimeos-laravel" namespace.
Could you let me know what's worng with it?
Re: Error after installing barryvdh (PHP debug bar for Laravel)
Sorry, it must be:
Code: Select all
composer req aimeos/aimeos-laravel:2022.04.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Error after installing barryvdh (PHP debug bar for Laravel)
It works now! Thank you!