View Issue Details

IDProjectCategoryView StatusLast Update
0003967OXID eShop (all versions)1. ----- eShop frontend -----public2014-03-11 10:07
Reporterstripfire Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinuxOSDebianOS VersionDebian-60-squeez
Product Version4.6.0 revision 44406 
Fixed in Version4.6.6 revision 54646 
Summary0003967: Debugging mode isn't working - caused by: function 'UI' does not exist ...
DescriptionAfter installing of the new oxid version 4.6 and activation of the debugmode i get the following error instead of the debugging view.

oxSystemComponentException---!--NOT CAUGHT--!--oxException (time: 2012-04-28 13:39:40): [0]: Function 'UI' does not exist or is not accessible! (oxLegacyDb)
 
 Stack Trace: #0 /home/prowerk/html/core/oxdebuginfo.php(185): oxSuperCfg->__call('UI', Array)
#1 /home/prowerk/html/core/oxdebuginfo.php(185): oxLegacyDb->UI(5)
#2 /home/prowerk/html/views/oxshopcontrol.php(236): oxDebugInfo->formatAdoDbPerf()
#3 /home/prowerk/html/views/oxshopcontrol.php(338): oxShopControl->_stopMonitor(false, false, NULL, Array)
#4 /home/prowerk/html/views/oxshopcontrol.php(119): oxShopControl->_process('exceptionError', 'displayExceptio...')
#5 /home/prowerk/html/index.php(99): oxShopControl->start()
#6 {main}

In the file core/oxsupercfg.php the following part is maybe the place to search:

 77 public function __call( $sMethod, $aArgs )
 78 {
 79 if ( defined( 'OXID_PHP_UNIT' ) ) {
 80 if ( substr( $sMethod, 0, 4) == "UNIT" ) {
 81 $sMethod = str_replace( "UNIT", "_", $sMethod );
 82 }
 83 if ( method_exists( $this, $sMethod)) {
 84 return call_user_func_array( array( & $this, $sMethod ), $aArgs );
 85 }
 86 }
 87
 88 throw new oxSystemComponentException( "Function '$sMethod' does not exist or is not accessible! (" . get_class($this) . ")".PHP_EOL);
 89 }

=> OXID_PHP_UNIT isn't defined.
Steps To ReproduceTurn on the debugmode with the level 2,3 or 4 (according to http://www.oxid-esales.com/forum/showthread.php?t=14273)
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Version5.3
Database Version5.5

Relationships

has duplicate 0004295 closedsvetlana function UI does not exist or is not accessible! (oxLegacyDb) 

Activities

JaroslavHerber

2012-06-21 14:22

reporter   ~0006951

Last edited: 2012-08-01 16:35

Partly fix:

Add this line (method) to /core/oxlegacydb.php :
  public function UI() {}

This will fix the error, but the debug-navigation wont be visible.

Linas Kukulskis

2012-12-13 13:08

reporter   ~0008122

added function to oxlegecydb class