View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006727 | OXID eShop (all versions) | 6. ------ Setup ------- | public | 2017-11-26 16:59 | 2018-01-08 09:23 |
Reporter | mario_lorenz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Product Version | 6.0.0 | ||||
Summary | 0006727: Installation without DemoData: Error Exception: The StreamOutput class needs a stream as its first argument | ||||
Description | During Install OXID6 CE i´ve got this error: Fehler beim Ausführen des Kommandos 'Migration'. Returncode: '0'. Das Kommando gibt folgende Meldung zurück: The StreamOutput class needs a stream as its first argument. FEHLER: (Demodaten)Probleme mit folgenden SQL Befehlen: The installation stops. | ||||
Steps To Reproduce | Install OXID6 without Demodata | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | All | ||||
Browser | Firefox | ||||
PHP Version | 5.6 | ||||
Database Version | 5.7 | ||||
|
I couldn't reproduce it. But we had a similar case. This error occurred because the default charset was forced by the settings of the MySQL database. This shouldn't be. Please contact your provider to get this changed. |
|
Dear Sir, thanks for your note. I installed OXID6 on a WAMP-System. This makes me the provider myself. I checked the MySQL-DB and i found following. I have create the DB with Collation "utf8_general_ci", so i do it all time before. After the broken setup, i checked the DB again and i found that one of the new oxid-DBs ("oxmigrations_ce") has the collation "utf8_unicode_ci". I change the Collation of the DB to "utf8_unicode_ci" and start the setup again. And now it works and the setup finished correctly. BUT, I looked at the DB again. All Tables, except one, have the !Collation "utf8_general_ci"!. Only the "oxmigrations_ce" has "utf8_unicode_ci". That is not consistent. Either the Collation of all tables depends on the database, or the installscript checks on "utf_unicode_ci" and then installs all tables with "utf_unicode_ci". Both solutions would be Ok. Can you check again? |
|
It's correct that "oxmigrations_ce" has "utf8_unicode_ci" while the other tables uses "utf8_general_ci". However, whether I create my database with "utf8_general_ci" or "utf8_unicode_ci" the installation finishes successfully. I couldn't reproduce your problem -> I close this issue, but you could create a new issue refering to the inconsistent collation, if you want. |