Guest [email protected] Posted May 28, 2005 Share Posted May 28, 2005 I've tried installing 3.0 twice and I'm getting the same error messages each time. The installation goes fine but when I try to access the admin area I get the following error messages: Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain.com/httpdocs/home/language/en/lang.inc.php on line 2235 Warning: Cannot send session cookie - headers already sent by (output started at /home/httpd/vhosts/mydomain.com/httpdocs/home/language/en/lang.inc.php:2235) in /home/httpd/vhosts/mydomain.com/httpdocs/home/admin/includes/auth.inc.php on line 30 If I try to access the main page I get these error messages: Warning: open_basedir restriction in effect. File is in wrong directory in /home/httpd/vhosts/mydomain.com/httpdocs/home/language/en/lang.inc.php on line 2235 Warning: Invalid content of \{\} in /home/httpd/vhosts/mydomain.com/httpdocs/home/classes/xtpl.php on line 109 I haven't moved any files from the directory structure that existed when I downloaded the program so I'm not sure why I'm getting a "file is in wrong directory" message. Any suggestions or help would be appreciated, thanks. Quote Link to comment Share on other sites More sharing options...
gazza Posted May 30, 2005 Share Posted May 30, 2005 Try this: \language\en\lang.inc.php line 2235 From include("config.inc.php"); To include($_SERVER['DOCUMENT_ROOT']."/home/language/en/config.inc.php"); \classes\xtpl.php line 109 From $copy=ereg_replace("{$v}","$var",$copy); To $copy=str_replace("{".$v."}","$var",$copy); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.