PHP Classes

Problems with the Class

Recommend this page to a friend!

      AbstractDB  >  All threads  >  Problems with the Class  >  (Un) Subscribe thread alerts  
Subject:Problems with the Class
Summary:Problems with the AbstractDB Class
Messages:2
Author:Michael Stoecker
Date:2005-12-02 13:38:50
Update:2005-12-03 03:26:18
 

  1. Problems with the Class   Reply   Report abuse  
Picture of Michael Stoecker Michael Stoecker - 2005-12-02 13:38:50
Hello,

i have used the class to develope a very simple php application. on my lokal system everything works fine (PHP 5.0.4), on my internet-server (PHP 4.3.10) i get the following error:

Fatal error: Call to a member function on a non-object in /htdocs/wiri/abstractdb.class.php on line 599

any ideas?!

If i activate PHP 5 i don't get the error but nothing happens... no error-message, nothing...

  2. Re: Problems with the Class   Reply   Report abuse  
Picture of Adrian Lehmann Adrian Lehmann - 2005-12-03 03:26:18 - In reply to message 1 from Michael Stoecker
Hi there. There appears to be a bug in the passing of error information to custom error handlers. To work around this try commenting out lines 1068 thru 1072 then immediately after the query check the value returned from GetLastError().