Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken subshops in OXID version 6.2 #127

Open
alfredbez opened this issue Jan 6, 2020 · 0 comments
Open

broken subshops in OXID version 6.2 #127

alfredbez opened this issue Jan 6, 2020 · 0 comments
Labels
Milestone

Comments

@alfredbez
Copy link
Collaborator

In a OXID 6.2 project I'm not able to select a newly created subshop in the backend. The problem happens only if this module is activated (version c69cbf6)

Log-Entry:

[2020-01-06 15:38:25] OXID Logger.ERROR: Unable to load shop config values from database ["[object] (OxidEsales\\Eshop\\Core\\Exception\\DatabaseException(code: 0): Unable to load shop config values from database at /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Config.php:381, Exception(code: 0):  at /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Config.php:384)\n[stacktrace]\n#0 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Config.php(427): OxidEsales\\EshopCommunity\\Core\\Config->initVars(3)\n#1 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(579): OxidEsales\\EshopCommunity\\Core\\Config->init()\n#2 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/ShopControl.php(134): OxidEsales\\EshopCommunity\\Core\\ShopControl->_runOnce()\n#3 /var/www/oxideshop/vendor/oxid-esales/oxideshop-ce/source/Core/Oxid.php(26): OxidEsales\\EshopCommunity\\Core\\ShopControl->start()\n#4 /var/www/oxideshop/source/index.php(15): OxidEsales\\EshopCommunity\\Core\\Oxid::run()\n#5 /var/www/oxideshop/source/admin/index.php(11): require_once('/var/www/oxides...')\n#6 {main}\n"] []

The problem is that the oxconfig table is empty:

mysql> SELECT OXID FROM oxconfig WHERE OXSHOPID = 3;
Empty set (0.00 sec)

mysql> SELECT OXID FROM oxshops WHERE OXID = 3;
+------+
| OXID |
+------+
|    3 |
+------+
1 row in set (0.00 sec)

How to reproduce this:

  1. create a subshop
  2. after hitting 'save' you will see the new shop, it is automatically selected
  3. Install
  4. Install and active this module
  5. create another shop
  6. You will see that the frame on the left (navigation) will show an error, there is also an error in the logfile.
@alfredbez alfredbez modified the milestones: 1.3.0, 3.0.0 Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant