0

I have PEAR, MDB2 and Mysql Driver installed however I keep getting:

Fatal error: Call to undefined function:
MDB2_Driver_mysql::_isNewLinkSet().
in /home/********/PEAR/MDB2.php on line 1937.

The Server is CentOS

I am stuck, any help would be appriciated.

Thanks :)

cweiske
  • 30,033
  • 14
  • 133
  • 194
Kyle Hudson
  • 898
  • 1
  • 14
  • 26

3 Answers3

3

Had the same problem, Reinstall the two last version Beta (for now) and it will be fine.

$ pear upgrade mdb2-beta mdb2_driver_mysqli-beta
cweiske
  • 30,033
  • 14
  • 133
  • 194
JMC
  • 31
  • 2
2

Do you have either http://pear.php.net/package/MDB2_Driver_mysql/ or http://pear.php.net/package/MDB2_Driver_mysqli/ installed? It's not clear whether you do or not - though I suspect you do (otherwise you'd be getting a different error)

Which version of MDB2_Driver_mysql do you have?

kguest
  • 3,804
  • 3
  • 29
  • 31
0

Just had this happen to me, make sure your version of MDB2 matches the version of the sql/sqli drivers. I had to unsintall and force PEAR to install the beta channel inorder to get them to match