View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004414 | OXID eShop (all versions) | 2.3. Extensions (modules, themes) | public | 2012-08-20 12:50 | 2012-12-10 13:33 |
Reporter | jurate.baseviciene | Assigned To | |||
Priority | urgent | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.0_5.0.0_beta1 | ||||
Target Version | 4.7.0_5.0.0_beta2 | Fixed in Version | 4.7.0_5.0.0_beta3 | ||
Summary | 0004414: Shop doesn't working if active module without directory is moved to new directory | ||||
Description | shop doesn't working when module (Extended classes: oxconfig->myconfig ) without directory is activated in admin and later the same module is moved to the new directory. 1. Open admin. 2. Active module for example "myconfig.php". 3. Go to shop (Source -> Modules) and then need to create new directory "Modul" 4. then module "myconfig.php" need to move to the new directory. 4. Go to admin "Extensions->Modules" and see is displayed: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 35 bytes) in /mnt/hgfs/www/oxideshop_features/source/core/oxutilsobject.php on line 384 | ||||
Steps To Reproduce | 1. Open admin. 2. Active module for example "myconfig.php". 3. Go to shop (Source -> Modules) and then need to create new directory "Modul" 4. then module "myconfig.php" need to move to the new directory. 4. Go to admin "Extensions->Modules" and see is displayed: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 35 bytes) in /mnt/hgfs/www/oxideshop_features/source/core/oxutilsobject.php on line 384 | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
This issue not related with all modules, but only when oxconfig class is extended. When module handler cant find oxconfig class module, he tries to disable it, but disabling module uses oxConfig object (whic cannot be created) - so you have recursion. Added additional check if module handler cant load oxconfig class module to oxutilsobject class. |