Re: Unable to reach some functions
| From: | Christian Dickmann | Date: | Mon, 17 Feb 2003 11:44:30 +0000 |
| Subject: | Re: Unable to reach some functions | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-3798@lists.php.net to get a copy of this message | ||
> I have installed Pear on my development computer under Windows by hand and
> all go on. But on the remote server I encoutenter errors on some pages,
and
> I have no ideas where they come from:
>
> Fatal error: Call to undefined function: isconnection() in
> /usr/www/htdocs/path2pear/PEAR/Auth/Container/DB.php on line 133
Caused by an outdated DB or Auth IIRC.
> I try to install with the use of go-pear.php. This tool seems to be
> wonderful, but this did'nt solve my problem, and add a new: I can't
install
> the package Validate, it isn't availbale. And, I can't install it by hand
> because I don't have the rihts in the PEAR directory created and I can't
> change them (cf.my post PEAR Installer pbs..).
Well. First the permission issue:
The files are created by the PHP/WebServer user. So its logical that
your FTP-User has no write access. Try to edit "go-pear.php". Add a
umask() (www.php.net/umask) call at the top to change the permissions.
This _might_ help (didn't test).
Second: The missing Validate package.
Thats because of the "Preferred Package State" config var.
Change it to "beta".
Christian Dickmann