PHP Error

Status
Not open for further replies.

Scrii

New Member
Messages
10
Reaction score
0
Points
1
I apologise if this is the wrong place to ask, and I am also extremely new to PHP. When visiting a PHP page, I get "Fatal error: Class 'PEAR_Exception' not found in..." yet when I navigate to the file and the line stated, I cannot find any errors. (the line is: class HTTP_Request2_Exception extends PEAR_Exception )

If anyone could offer any advice or help (or if more information is required), it would be much appreciated. Thank you.
 
Last edited:

masshuu

Head of the Geese
Community Support
Enemy of the State
Messages
2,293
Reaction score
50
Points
48
PEAR probably isn't installed.
I would suggest reading this:
http://pear.php.net/manual/en/installation.shared.php
and skipping down to "Installing a local copy of PEAR through ftp/ftps/sftp" since you don't have shell access.

What software are you trying to run? If you are new to php, the instructions above may be to much.
 
Last edited:

Scrii

New Member
Messages
10
Reaction score
0
Points
1
I managed to get down to "using the local configuration file, set the remote_config value to the location of the configuration file on the remote host" but then it gives me the error: "config-set: only the layers: "user" or "system" are supported"

That's when I try to enter the equivalent of:
"C:\remote\pear\> pear -c remote.ini config-set remote_config \
ftp://user:pass@myremotehost.com/.pearrc"

Have any idea why this is happening? Thanks!
 
Last edited:

Scrii

New Member
Messages
10
Reaction score
0
Points
1
Bump? (sorry if this is against the rules, I couldn't find it anywhere.) I haven't found a solution to the config-set problem anywhere else.
 
Status
Not open for further replies.
Top