Pear problem in Debian stable

From: Date: Tue, 13 May 2003 17:00:34 +0000
Subject: Pear problem in Debian stable
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-5353@lists.php.net to get a copy of this message
On my desktop, running Debian unstable, my development website is running correctly using PHP 4 and Pear. The version of PHP on this box is 4.2.3. I copied my php app over to my production site which is running PHP 4.1.2. Tried to bring up a page and I get the following error message: Fatal error: Call to undefined function: query() in /var/www/login.php on line 62. So I backed up the /usr/share/pear directory and copied the /usr/share/pear directory from my development box. But I'm still getting the same error message. I made sure that /usr/share/pear is in my php.ini file and my login.php file has include ("DB.php") in it. Here's the line that results in the error: $query = "select f_name, login_name, password from employee where login_name = '$userid' and password = '$password'"; $result = $dbh->query($query); -- Jeff Self <jself@nngov.com> City of Newport News

« previous php.pear.general (#5353) next »