looks like you're on a shared host that limits where you're allowed to include files. and PEAR DB is not one of the included ones. You could download the package from pear.php.net and it put in a path that it will scan for includes.
Or, change hosts :).
ch0de r wrote:
*Warning*: main(): open_basedir restriction in effect. File(/usr/share/pear/DB.php) is not within the allowed path(s): (/home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs:/tmp) in */home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs/roundcubemail/program/include/rcube_db.inc* on line *23*
*Warning*: main(DB.php): failed to open stream: Operation not permitted in */home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs/roundcubemail/program/include/rcube_db.inc* on line *23*
*Fatal error*: main(): Failed opening required 'DB.php' (include_path='.:/usr/share/pear:./:program:program/lib') in */home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs/roundcubemail/program/include/rcube_db.inc* on line *23* http://ch0de.freedomsnet.net/roundcubemail/- Any help? Whats the problem :(?
3 FREE months of MSN Dial-up Internet service. Click for full details and to sign-up now! http://g.msn.com/8HMAENUS/2746??PS=47575
Put all files (e.g. roundcube) in a subdir. This solved the issue for me. ----- Original Message -----From: "ch0de r" ch0de@msn.comTo: dev@lists.roundcube.netSent: Thursday, October 13, 2005 07:06 PMSubject: ErrorWarning:main(): open_basedir restriction in effect.File(/usr/share/pear/DB.php)is not within the allowedpath(s):(/home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs:/tmp)in/home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs/roundcubemail/program/include/rcube_db.inconline 23Warning: main(DB.php): failed to open stream: Operationnotpermittedin/home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs/roundcubemail/program/include/rcube_db.inconline 23Fatal error: main(): Failed opening required'DB.php'(include_path='.:/usr/share/pear:./:program:program/lib')in/home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs/roundcubemail/program/include/rcube_db.inconline 23http://ch0de.freedomsnet.net/roundcubemail/- Any help?Whatsthe problem :(? 3 FREE months of MSN Dial-up Internet service.Click forfull details and to sign-up now!
Mmmmm, I've just installed roundcube, and had a similar error. I resolved by adding: define("PATH_SEPARATOR", ':');
in the global vars in index.php. It seems the separator is not defined
ch0de r wrote:
*Warning*: main(): open_basedir restriction in effect. File(/usr/share/pear/DB.php) is not within the allowed path(s): (/home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs:/tmp) in */home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs/roundcubemail/program/include/rcube_db.inc* on line *23*
*Warning*: main(DB.php): failed to open stream: Operation not permitted in */home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs/roundcubemail/program/include/rcube_db.inc* on line *23*
*Fatal error*: main(): Failed opening required 'DB.php' (include_path='.:/usr/share/pear:./:program:program/lib') in */home/httpd/vhosts/ch0de.freedomsnet.net/httpdocs/roundcubemail/program/include/rcube_db.inc* on line *23* http://ch0de.freedomsnet.net/roundcubemail/- Any help? Whats the problem :(?
3 FREE months of MSN Dial-up Internet service. Click for full details and to sign-up now! http://g.msn.com/8HMAENUS/2746??PS=47575