Fresh install with Symfony 4 not working
Forum rules
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Fresh install with Symfony 4 not working
Hi everybody !
Following the official installation instructions, I'm getting this error message after running the last command ("composer update") :
So what's wrong (or missing) with the installation instructions ?
Thanks a lot.
Following the official installation instructions, I'm getting this error message after running the last command ("composer update") :
Code: Select all
In MySqlSchemaManager.php line 315:
Argument 1 passed to Doctrine\DBAL\Schema\MySqlSchemaManager::parseCreateOptions() must be of the type string, null given, called in /home/nicolas/public_html/aimeos/vendor/doctrine/dbal/lib/Doctrine/DBAL/Schema/MySqlSchemaManager.php on line 307
Thanks a lot.
Re: Fresh install with Symfony 4 not working
That's a bug in the current Doctrine DBAL library (2.9.1):
https://github.com/doctrine/dbal/issues/3410
You can add this to your composer.json file to use the previous version instead until a new one is released:
https://github.com/doctrine/dbal/issues/3410
You can add this to your composer.json file to use the previous version instead until a new one is released:
Code: Select all
"doctrine/dbal": "v2.9.0"
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: Fresh install with Symfony 4 not working
Thanks ! Now it's better... but now, it looks like data are inconsistent :
Code: Select all
In Simple.php line 91:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-pr
oduct-custom-8' for key 'unq_msattr_sid_dom_cod_tid'
Re: Fresh install with Symfony 4 not working
That's a problem of the current demo data setup. If you already have the the custom price entry in the mshop_attribute table, trying to add it again results in this error. Please remove the entries from the mshop_attribute table, then it will work to run the setup again incl. to add the demo data.
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: Fresh install with Symfony 4 not working
Thanks a lot
Your solution did not work. I had to disable the creation of the unique index 'unq_msattr_sid_dom_cod_tid' in MShopAddAttributeData.php (line 52), then run setup, remove the first duplicate entry from 'mshop_attribute' table, then (re)generate manually the four columns based unique index. Now it works fine.
Cordially.
Your solution did not work. I had to disable the creation of the unique index 'unq_msattr_sid_dom_cod_tid' in MShopAddAttributeData.php (line 52), then run setup, remove the first duplicate entry from 'mshop_attribute' table, then (re)generate manually the four columns based unique index. Now it works fine.
Cordially.
Re: Fresh install with Symfony 4 not working
Problem has been fixed in latest Aimeos core release
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