Skip to content

broken subshops in OXID version 6.2 #127

Open
@alfredbez

Description

@alfredbez

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions