RE: [PHP] Fatal error: Call to a member function on a non-object
| From: | Michael Sims | Date: | Thu, 23 Dec 2004 02:13:02 +0000 |
| Subject: | RE: [PHP] Fatal error: Call to a member function on a non-object | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205033@lists.php.net to get a copy of this message | ||
Tim Burgan wrote:
> Fatal error: Call to a member function on a non-object in
> c:\XXX\inc\dbConnOpen.php on line 17
[...]
> The file in question contains code that forms a connection to the
> database. I've used this EXACT same code on this same website for the
> last 8 months (both on localhost and web host) with no problem.. then
> when I upload the WHOLE site again.. it doesn't work.
[...]
> $db_connection = new COM("ADODB.Connection") or die("Cannot start
These might be relevant:
http://bugs.php.net/bug.php?id=31159
http://marc.theaimsgroup.com/?l=php-dev&m=110375720614120&w=2
Not sure though...I don't have any experience w/the COM extension. Looks
like a 4.3.11 might be out soon to fix this and other issues.