Unable to create a new Site
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: 22
- Joined: 16 Jul 2016, 13:11
Unable to create a new Site
I have a fresh aimeos installation ~2017.10 with laravel 5.5, I created Admin user and now trying to create a Site, but when I navigate to Site section I am unable to see Add button I stuck. Than I followed https://aimeos.org/docs/Laravel/Configu ... iple_shops tutorial to achieve it through console, but I got this error 'Maximum number of connections (2) for "db" exceeded'.
Finally I changes DB name in .env file and created a new DB and ran "php artisan aimeos:setup" without setting default shop, in that case also I got the same exception 'Maximum number of connections (2) for "db" exceeded'.
Finally I changes DB name in .env file and created a new DB and ran "php artisan aimeos:setup" without setting default shop, in that case also I got the same exception 'Maximum number of connections (2) for "db" exceeded'.
Re: Unable to create a new Site
Can you specifiy your hosting environment please?
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: 22
- Joined: 16 Jul 2016, 13:11
Re: Unable to create a new Site
Hi, Sorry for not specifying required information.
I am using windows 10, and trying aimeos on my local environment.
Anyways, I found that I have make some changes in shop.php uncommenting resource section and uncommenting "jsonadm" from routes to solve CSRF issue {topic1304.html}. Finally I deleted "shop.php" and run composer update solved my problem.
I am using windows 10, and trying aimeos on my local environment.
Anyways, I found that I have make some changes in shop.php uncommenting resource section and uncommenting "jsonadm" from routes to solve CSRF issue {topic1304.html}. Finally I deleted "shop.php" and run composer update solved my problem.
Last edited by HimanshuBhandari on 22 Jan 2018, 16:01, edited 1 time in total.
Re: Unable to create a new Site
Which web server do you use and which MySQL version?
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: 22
- Joined: 16 Jul 2016, 13:11
Re: Unable to create a new Site
MySQL version : 5.7.19 and the default php server by executing "php artisan serve"aimeos wrote:Which web server do you use and which MySQL version?
I also updated shop.php to achieve https://aimeos.org/docs/Laravel/Configu ... iple_shops before deleting and updating it with
Code: Select all
'routes' => array(
'account' => array('prefix' => '{site}', 'middleware' => ['web', 'auth']),
'default' => array('prefix' => '{site}', 'middleware' => ['web']),
'confirm' => array('prefix' => '{site}', 'middleware' => ['web']),
),
Re: Unable to create a new Site
No, that shouldn't be the problem. Try the distribution for testing instead like recommended in the other thread.
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: 22
- Joined: 16 Jul 2016, 13:11
Re: Unable to create a new Site
After new installation as suggested in this post5511.html thread, I am able to enable currency and save for the first time, in second time either I got logged out automatically or got the same page expired error.
We can continue discuss this problem on another linked thread.
We can continue discuss this problem on another linked thread.