Re: PDO

From: Date: Mon, 22 Oct 2012 21:37:04 +0000
Subject: Re: PDO
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-319565@lists.php.net to get a copy of this message
On Mon, Oct 22, 2012 at 5:27 PM, Silvio Siefke <siefke_listen@web.de> wrote: > Hello, > > i have built php 5.4.7 on Ubuntu with the configure Arguments like on my > Gentoo System. But on Gentoo run the website without Problems, under Ubuntu > want not work. I become in error.log: > > [22-Oct-2012 21:15:00 UTC] PHP Fatal error: Call to a member function > prepare() on a non-object in html/index.html on line 23 > Can you show the code in db.php (just remember to remove any login credentials)? It looks like there's an issue creating the $db object you're using. Adam -- Nephtali: A simple, flexible, fast, and security-focused PHP framework http://nephtaliproject.com

« previous php.general (#319565) next »