Page 1 of 1

There is a problem running the new installation

Posted: 06 Jul 2018, 03:51
by xueMing
There was a problem with the first installation of Laravel and Aimeos. I don't know how to solve it!
(1/1) Exception
No item found for conditions: Array
(
[locale.site.code] => default
)
in Base.php line 561
at Base->findItemBase(array('locale.site.code' => 'default'), array(), false)
in Standard.php line 349
at Standard->findItem('default')
in Standard.php line 124
-----------------------------------------
The local installation WINDOWS 10
“php”:“^ 7.0.12”,
“laravel / framework”:“5.4。*”,
“aimeos / aimeos-laravel”:“~2018.04” 

Re: There is a problem running the new installation

Posted: 06 Jul 2018, 07:37
by xueMing
I think that's the reason, but I don't know how to solve it
In Simple.php line 97:

An exception occurred while executing 'ALTER TABLE users_address ADD CONSTRAINT fk_lvuad_pid FOREIGN KEY (parentid)
REFERENCES users (id) ON UPDATE CASCADE ON DELETE CASCADE':

SQLSTATE[HY000]: General error: 1005 Can't create table 's_test.#sql-6650_1a' (errno: 150)

Re: There is a problem running the new installation

Posted: 06 Jul 2018, 09:18
by xueMing
It was a table engine problem = =....

Re: There is a problem running the new installation

Posted: 09 Jul 2018, 07:37
by aimeos
This problem can occur if you have records in the users_address table without corresponding records in the users table. Aimeos 2018.07 tries to add a foreign key constraint which fails in that case. The latest version contains a setup task that removes the dangling records in the users_address table before applying the contraint.

Re: There is a problem running the new installation

Posted: 18 Jul 2018, 09:02
by Kriskev
How fix ? Same error

Re: There is a problem running the new installation

Posted: 18 Jul 2018, 09:16
by sixbynine
I think I had the same problem.
See this : post6396.html
Maybe it could help you.

Re: There is a problem running the new installation

Posted: 18 Jul 2018, 09:48
by Kriskev
If I understand correctly, I just have to remove the user_address table

Re: There is a problem running the new installation

Posted: 18 Jul 2018, 10:21
by Kriskev
I tried composer update, it's the same error.

Re: There is a problem running the new installation

Posted: 18 Jul 2018, 15:34
by sixbynine
I think you should post the exact error you got.