#44 Call to undefined function: execute()

closed
nobody
None
5
2008-03-19
2007-06-17
Anonymous
No

I'm getting the following error:

Fatal error: Call to undefined function: execute() in /mnt/raid0/wwwroot/entertrack-1.2.1/modules/groups/hooks/funcs.php on line 1536

It occurs on multiple pages, each time when the following is called in the code:

$stmt = $_ENV['dbi']->prepare($sql);
...
$result = $stmt->execute(...

I'm using entertrack-1.2.1 and mysql 14.12 on Debian Etch.

Discussion

  • Dustin J. Mitchell

    Logged In: YES
    user_id=7446
    Originator: NO

    Could you try upgrading to the most recent snapshot? The problem in these cases is that prepare() is producing an error object, rather than a statement, in $stmt. The snapshots have an extra check_pear_error(), which should actually print out the error message for you.

     
  • David Trejos

    David Trejos - 2008-03-19
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks