View Issue Details

IDProjectCategoryView StatusLast Update
0004414OXID eShop (all versions)2.3. Extensions (modules, themes)public2012-12-10 13:33
Reporterjurate.baseviciene 
PriorityurgentSeveritycriticalReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.7.0_5.0.0_beta1 
Target Version4.7.0_5.0.0_beta2Fixed in Version4.7.0_5.0.0_beta3 
Summary0004414: Shop doesn't working if active module without directory is moved to new directory
Descriptionshop 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 Reproduce1. 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
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
MySQL Versionany

Activities

jurate.baseviciene

2012-08-20 12:50

reporter  

Modules__.png (39,425 bytes)
Modules__.png (39,425 bytes)

jurate.baseviciene

2012-08-20 12:53

reporter  

fatal.png (750,915 bytes)

rimvydas_paskevicius

2012-08-30 16:19

reporter   ~0007412

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.