undefined function: MDB2_Driver_mysql::raiseError()

2,303 views
Skip to first unread message

杨诚

unread,
Feb 8, 2016, 10:26:34 AM2/8/16
to Stacks
HI everyone
     I visit http://localhost/stacks/index.php?db=tut_radtags ,this page does not show anything.
     I look apache log and show "[client ::1:52568] PHP Fatal error:  Call to undefined function: MDB2_Driver_mysql::raiseError(). in /Users/yangcheng/pear/share/pear/MDB2.php on line 1936, referer: http://localhost/stacks/""
    I want to know how solve this problem?(my mdb2 version is 2.4.1 and MDB2_Driver_mysql is already installed and the released version 1.4.1)

Julian Catchen

unread,
Feb 19, 2016, 1:52:37 PM2/19/16
to stacks...@googlegroups.com, owen...@gmail.com
Hi,

You have to install the 'beta' version of MDB2, 2.5.0b5. Although it is
a beta version, it is five years newer than the previous release.

In an upcoming release of Stacks I plan to remove the MDB2 dependency
and instead use the internal PHP SQL methods (which weren't available
when I first coded up the web interface).

julian

Ogier Schelvis

unread,
May 31, 2016, 10:22:10 AM5/31/16
to Stacks, owen...@gmail.com, jcat...@illinois.edu
Thanks a bunch.

This seemed to be the problem aswell while I was installing PEAR on my WAMP stack for a legacy website I inherited for development.

Op vrijdag 19 februari 2016 19:52:37 UTC+1 schreef Julian Catchen:
Reply all
Reply to author
Forward
0 new messages