Upgrade to PHP v2

Status
Not open for further replies.

gemmazimminy43

New Member
Messages
10
Reaction score
0
Points
0
Hello i am trying to use some PEAR packages (PAGER) and as i have red on the forums it seems i need an upgrade to v2. I am getting the next error when trying to use a script on my site:

Fatal error: require_once() [function.require]: Failed opening required 'Pager/Sliding.php' (include_path='/public_html/PEAR-1.9.1/PEAR:.:/usr/lib/php:/usr/local/lib/php') in /home/gemmazim/public_html/web/TableEditor.php on line 32

Thank you in advance :)

Gemma.
 

Livewire

Abuse Compliance Officer
Staff member
Messages
18,169
Reaction score
216
Points
63
The PHP Version system has been disabled for almost 2 years. Everyone's on the same intermediate PHP plan; what that would look like to me is that we don't have PEAR installed on the servers or there's another issue somewhere, but it's not due to not being on V2.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Fatal error: require_once() [function.require]: Failed opening required 'Pager/Sliding.php' (include_path='/public_html/PEAR-1.9.1/PEAR:.:/usr/lib/php:/usr/local/lib/php') in /home/gemmazim/public_html/web/TableEditor.php on line 32

Looks like you adjusted your include_path, but incorrectly.

Code:
 $inc_path = get_include_path();
 set_include_path($inc_path .  ':/home/gemmazim/public_html/PEAR-1.9.1/PEAR');

should work, if I read what you were trying to do correctly.
 
Status
Not open for further replies.
Top