Jump to content

3.0 - file is in wrong directory error ?


Recommended Posts

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.

Link to comment
Share on other sites

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);

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...