Please Help
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: 56
- Joined: 15 Mar 2021, 01:03
Please Help
Hey,
I ran into Exception, identified the code section that generated error. It seems reading from shop.php blocked it.
Please let me know what I did wrong. Thanks in advance.
Aimeos\Admin\JQAdm\Exception
Not allowed to access JQAdm "dashboah"client
vendor/aimeos/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm.php:
if( $view->access( $config->get( 'admin/jqadm/resource/' . $path . '/groups', [] ) ) !== true )
{
$msg = $context->translate( 'admin', 'Not allowed to access JQAdm "%1$s" client' );
throw new \Aimeos\Admin\JQAdm\Exception( sprintf( $msg, $path ) );
}
config/shop.php:
......
'admin' => [
'jqadm' => [
'order' => [
//'name' => 'EbdaaStandard',
'invoice' => [
// 'name' => 'EbdaaInvoiceStandard',
],
],
'resource' => [
'site' => [
'groups' => [],
],
'dashboard' => [
'groups' => [],
],
......
I ran into Exception, identified the code section that generated error. It seems reading from shop.php blocked it.
Please let me know what I did wrong. Thanks in advance.
Aimeos\Admin\JQAdm\Exception
Not allowed to access JQAdm "dashboah"client
vendor/aimeos/ai-admin-jqadm/admin/jqadm/src/Admin/JQAdm.php:
if( $view->access( $config->get( 'admin/jqadm/resource/' . $path . '/groups', [] ) ) !== true )
{
$msg = $context->translate( 'admin', 'Not allowed to access JQAdm "%1$s" client' );
throw new \Aimeos\Admin\JQAdm\Exception( sprintf( $msg, $path ) );
}
config/shop.php:
......
'admin' => [
'jqadm' => [
'order' => [
//'name' => 'EbdaaStandard',
'invoice' => [
// 'name' => 'EbdaaInvoiceStandard',
],
],
'resource' => [
'site' => [
'groups' => [],
],
'dashboard' => [
'groups' => [],
],
......
Re: Please Help
"dashboah" is definitely wrong, it must be "dashboard". Check your config files where you configured the navbar and the permissions for the wrong string.godadada@yahoo.com wrote: ↑15 Dec 2021, 01:50 Aimeos\Admin\JQAdm\Exception
Not allowed to access JQAdm "dashboah"client
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
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Please Help
Sorry, it was 'dashboard'. the Error message was translated and manually reassembled from another locale to English for posting to this forum. The typo occurred during reassembly.
Regards,
Regards,
Re: Please Help
You've assigned no groups for the dashboard:
The dashboard is the main entry point that must be always accessible to all backend users so you should remove those three lines from your config/shop.php
Code: Select all
'dashboard' => [
'groups' => [],
],
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