Skip to main content

Error Fatal error: Call to undefined method MDB2_Error::getDecorator()

Comments

5 comments

  • vanessa
    That looks like an issue within the application itself. Are you sure all its files were moved?
    0
  • david.crk01
    Yes the app is OK. I have tested it in another server with plesk. After specify the php dir ( wich contains Translation2 and more classes ) it works OK. I can see all classes it needs inside a PHP folder ( in root structure of this user in cpanel ). How can i make to use this folder ? In the old cpanel it was working OK and I can't see any custom include_path in .htaccess or similar
    0
  • cPanelMichael
    Hello :) Have you verified all of the same PHP modules are installed/enabled on the new server? You may want to compare the output of "php -m" on each server to verify that. Thank you.
    0
  • david.crk01
    Hi and thanks for your reply problem is that pear packages stored in /home/user/php/ aren't loading. This function works with pear/Translation2 package. I have installed in system-wide ( Translation2 2.0.4 stable ) but it isn't loading. It doesn't load anyway for this domain ( the old server hasn't got it installed system-wide and is working OK, as has this required files: /home/u448h1/php ls: ls -la total 712K drwxr-xr-x 31 u448h1 u448h1 4,0K jul 21 17:54 . drwx--x--x 26 u448h1 u448h1 4,0K jul 22 00:33 .. drwxr-xr-x 2 u448h1 u448h1 4,0K sep 27 2012 Archive drwxr-xr-x 5 u448h1 u448h1 4,0K sep 27 2012 Auth -rw-r--r-- 1 u448h1 u448h1 39K sep 27 2012 Auth.php drwxr-xr-x 3 u448h1 u448h1 4,0K sep 27 2012 Cache drwxr-xr-x 3 u448h1 u448h1 4,0K sep 16 2010 .channels drwxr-xr-x 2 u448h1 u448h1 4,0K sep 27 2012 Console drwxr-xr-x 2 u448h1 u448h1 4,0K sep 27 2012 Crypt drwxr-xr-x 12 u448h1 u448h1 4,0K sep 27 2012 data drwxr-xr-x 2 u448h1 u448h1 4,0K sep 16 2010 Date -rw-r--r-- 1 u448h1 u448h1 42K sep 16 2010 Date.php drwxr-xr-x 4 u448h1 u448h1 4,0K sep 27 2012 DB -rw-r--r-- 1 u448h1 u448h1 42K sep 27 2012 DB.php -rw-r--r-- 1 u448h1 u448h1 21K oct 1 2012 .depdb -rw-r--r-- 1 u448h1 u448h1 0 oct 1 2012 .depdblock drwxr-xr-x 33 u448h1 u448h1 4,0K oct 1 2012 docs drwxr-xr-x 2 u448h1 u448h1 4,0K sep 16 2010 ext drwxr-xr-x 4 u448h1 u448h1 4,0K sep 27 2012 File -rw-r--r-- 1 u448h1 u448h1 66K oct 1 2012 .filemap drwxr-xr-x 4 u448h1 u448h1 4,0K sep 16 2010 HTTP drwxr-xr-x 7 u448h1 u448h1 4,0K sep 16 2010 I18Nv2 -rw-r--r-- 1 u448h1 u448h1 13K sep 16 2010 I18Nv2.php -rw-r--r-- 1 u448h1 u448h1 0 oct 1 2012 .lock drwxr-xr-x 2 u448h1 u448h1 4,0K sep 27 2012 Log -rw-r--r-- 1 u448h1 u448h1 27K sep 27 2012 Log.php drwxr-xr-x 2 u448h1 u448h1 4,0K sep 27 2012 Mail -rw-r--r-- 1 u448h1 u448h1 9,7K sep 16 2010 Mail.php drwxr-xr-x 4 u448h1 u448h1 4,0K oct 1 2012 MDB drwxr-xr-x 4 u448h1 u448h1 4,0K sep 28 2012 MDB2 -rw-r--r-- 1 u448h1 u448h1 139K sep 28 2012 MDB2.php -rw-r--r-- 1 u448h1 u448h1 26K sep 27 2012 MDB.php drwxr-xr-x 2 u448h1 u448h1 4,0K sep 27 2012 Net drwxr-xr-x 2 u448h1 u448h1 4,0K sep 27 2012 OS drwxr-xr-x 11 u448h1 u448h1 4,0K sep 27 2012 PEAR -rw-r--r-- 1 u448h1 u448h1 1,1K sep 27 2012 PEAR5.php -rw-r--r-- 1 u448h1 u448h1 15K sep 27 2012 pearcmd.php -rw-r--r-- 1 u448h1 u448h1 34K sep 27 2012 PEAR.php -rw-r--r-- 1 u448h1 u448h1 930 sep 27 2012 peclcmd.php drwxr-xr-x 5 u448h1 u448h1 4,0K oct 1 2012 .registry drwxr-xr-x 2 u448h1 u448h1 4,0K nov 12 2010 Services drwxr-xr-x 5 u448h1 u448h1 4,0K sep 27 2012 SOAP drwxr-xr-x 3 u448h1 u448h1 4,0K sep 27 2012 Structures -rw-r--r-- 1 u448h1 u448h1 20K sep 27 2012 System.php drwxr-xr-x 27 u448h1 u448h1 4,0K oct 1 2012 tests drwxr-xr-x 2 u448h1 u448h1 4,0K sep 27 2012 tools drwxr-xr-x 5 u448h1 u448h1 4,0K sep 16 2010 Translation2 [COLOR="#B22222">-rw-r--r-- 1 u448h1 u448h1 18K sep 16 2010 Translation2.php -rw-r--r-- 1 u448h1 u448h1 41K sep 27 2012 Validate.php drwxr-xr-x 3 u448h1 u448h1 4,0K sep 27 2012 XML I have tested this web migrating to other dedicated server with plesk for example. It worked when I pointed include_path to this php pear files ( Same php 5.4 version, so php 5.4 works with this web page ) Thanks !
    0
  • vanessa
    Either add that to your include path in local php.ini, or go into WHM and enable the module loader for PHP.
    0

Please sign in to leave a comment.