View Issue Details

IDProjectCategoryView StatusLast Update
0000841OXID eShop (all versions)1. ----- eShop frontend -----public2012-12-10 14:17
Reporterjoshua Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0000841: Extending "oxbasket" class leads to an fatal error in shop admin
DescriptionIf the class "oxbasket" is extended by a module following error occurrs (even if the module does nothing at all) if the shop is changed in admin interface using the list of all shops:

Fatal error: oxConfig::onShopChange() [<a href='oxconfig.onshopchange'>oxconfig.onshopchange</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "test_oxbasket" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in D:\www\projects\OXID_EE_4_1_0\core\oxconfig.php on line 2050


If the shop is changed in admin interface using the dropdown on the left, everything seems to be fine...
TagsSubshops
Theme
Browser
PHP Version
Database Version

Activities

arvydas_vapsva

2009-05-05 09:47

reporter   ~0000832

Last edited: 2009-05-05 10:33

fixed oxConfig::onShopChange() method - in admin mode there should be NO basket loading from session