Jump to content

MDB2_Error::execute()


angelostudios

Recommended Posts

I'm pretty new to PHP and have an issue I can't Google my way out of.

 

I keep getting this error on my page:

 

 

Fatal error: Call to undefined method MDB2_Error::execute() in /blah/blah/blah/mypage.php on line 24

 

Line 24 is:

 

$res = &$sql->execute(array());

 

This makes me think that I'm not connecting to the database correctly or that I have an issue with the MDB2 for PEAR. I've checked everything I know to check but I am still having this issue. I'm not much of a PHP programmer though.

 

I'm running PHP5/mySQL5 and  have the following Pear libs installed:

 

HTML_Template_Flexy - Yes

Mail - Yes

Mail_Mime - Yes

Mail_mimeDecode - Yes

Mail_Queue - Yes

HTTP - Yes

HTTP_Client -Yes

SOAP - Yes

HTML_QuickForm - Yes used HTML_Common2.

MDB2 - Yes

MDB2_Driver_mysql - Yes

Numbers_Words - Yes

Text_Password - Yes

HTTP_Upload - Yes

 

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.