php - vagrant-shopware fails at establishing database connection -
this error shown after step 4 of installation "database import" . cannot understand why referenced file "sw4_clean.sql" not in github repo of shopware-4 @ location shown should show missing during install?
i tried editing config.php before each attempt establish database. results database details = internal sever error shown in config.php.dist = internal sever error empty = config.php populate settings = internal sever error
i using vagrant build on windows 8 https://github.com/eriksixt/vagrant-shopware
can shed light on might going wrong?
error received error message. url: importdatabase?offset=0&totalcount=0 message: internal server error
please try fix error , restart update. response
{"code":2,"message":"fopen(\/vagrant\/shopware- 4\/install\/src\/..\/assets\/sql\/sw4_clean.sql) : failed open stream: no such file or directory", "file":"\/vagrant\/shopware- \/install\/src\/lib\/shopware_components_dump.php", "line":36,"trace":"#0 [internal function]: slim\\slim::handleerrors(2, 'fopen(\/vagrant\/...', '\/vagrant\/shopwa...', 36, array) \n#1 \/vagrant\/shopware-4\/install\/src\/lib\/shopware_components_dump.php(36): fopen('\/vagrant\/shopwa...', 'rb')\n#2 \/vagrant\/shopware- 4\/install\/src\/app.php(318): shopware_components_dump- >__construct('\/vagrant\/shopwa...')\n#3 [internal function]: {closure}()\n#4 \/vagrant\/shopware-4\/engine\/library\/slim\/ router.php(172): call_user_func_array(object(closure), array)\n#5 \/vagrant\/shopware-4\/engine\/library\/slim\/slim.php(1225): slim\\router- >dispatch(object(slim\\route))\n#6 \/vagrant\/shopware- 4\/engine\/library\/slim\/middleware\/flash.php(86): slim\\slim->call()\n#7 \/vagrant\/shopware-4\/engine\/library\/slim\/middleware\/methodoverride.php(94): slim\\middleware\\flash->call()\n#8 \/vagrant\/shopware- 4\/engine\/library\/slim\/middleware\/prettyexceptions.php(67): slim\\middleware\\methodoverride->call()\n#9 \/vagrant\/shopware- 4\/engine\/library\/slim\/slim.php(1176): slim\\middleware\\prettyexceptions- >call()\n#10 \/vagrant\/shopware-4\/install\/index.php(59): slim\\slim->run()\n#11 {main}"}
did check strict mode issue? shopware not strict mode, enabled default in current mysql version. in case following configuration (my.cnf or my.ini dependent on os) did help:
[mysqld] sql_mode="traditional,no_auto_create_user"
Comments
Post a Comment