Failed opening required 'Pager/Pager.php' (include_path='.')
Hello!
Quote:
Fatal error: main() [function.require]: Failed opening required 'Pager/Pager.php' (include_path='.') in /var/www/web0/html/admin/process_queue.php on line 69
what is the problem here?
the pager file is uploaded in binary. Here is my info.php:
http://gutschein-king.eu/info.php
This error comes op with opening the process queue.
Re: Failed opening required 'Pager/Pager.php' (include_path='.')
I know that he is searching in the root directory.
but how to change that?
here is my config.php
Quote:
$config = array();
$config['ffmpeg'] = "/usr/local/bin/ffmpeg";
$config['mplayer'] = "/usr/local/bin/mplayer";
$config['mencoder'] = "/usr/local/bin/mencoder";
$config['flvtool'] = "/usr/bin/flvtool2";
$config['basedir'] = "/var/www/web0/html";
$config['baseurl'] = "http://speedriding-videos.com";
include($config['basedir'] . "/include/vshare.php");
Re: Failed opening required 'Pager/Pager.php' (include_path='.')
It seems your include path is not set or ini_set.
Try reuploading
include/vshare.php
include/PEAR - all files inside the folder, make sure folder name PEAR in all CAPS.
If that doesn't work, add following code into phpinfo file, and see the value of include_path
Code:
<?php
$pear_path = '/var/www/web0/html/include/PEAR/';
set_include_path($pear_path . PATH_SEPARATOR . get_include_path());
phpinfo();
?>
Re: Failed opening required 'Pager/Pager.php' (include_path='.')
Hello!
I think that is it.
include_path that is current: . that would be standard: .:/usr/share/php:/usr/share/pear
the command php_value include_path "/var/www/web0/html/include/" does not change it. there is all the time this freakin“ dot. the vhosts file is the right, I have edited the php open basedir things in it and it worked.
/edit: I have read that this is a php bug. I must update my php from 5.2.6-1 to 5.2.9.
I hope my confixx will survive it.