Strange.
I try to be even more specific.
Client have an VPS. All sites (what I call it master site, where the admin panel is and the slave site) are at the same level.
/var/www/www.mastersite.com/wwwroot/
/var/www/www.slavesite1.com/wwwroot/
/var/www/www.slavesite2.com/wwwroot/
/var/www/www.slavesite3.com/wwwroot/
Slavesite1 and Slavesite2 all have the same file structure:
- css
- images
- js
- old*
—templates
—- _includes
——_footer.php
——_head.php
——_latest_news.php
——_masthead.php
——_subnav.php
—- root
——index.php
——news.php
——page.php
——staff.php
—index.php
—path.php
—phpinfo.php
- uploads
- .htaccess
- favicon.ico
- index.offline
- index.php
* I think this folder is interesting thats why I “show” it. Other folders contains more files, tell me if you want to now what a specific is containing.
Slavesite3 which I try to update have a file structure that is’nt the same:
- css
- en
- images
- js
- templates
—_includes
—- _footer.php
—- _head.php
—- _header.php
—site
—- index.php
—- news.php
—- page.php
- uploads
- favicon
- index.php
- path.php
- phpinfo.php
In Slavesite1 and Slavesite2 there is no path.php file, its all in the “old” directory, telling me (if Im not wrong) some sort of update have been done. Because the code in this file (slavesite1/old/path.php) is the same as in slavesite3/path.php.
Does this help anything?
I have’nt updated the site another person have.
Maybe Im wrong about PHP-version. I have checked everything from the old host to the new (in settings) get error for $system_path, although it is the right.
<?php
// ------------------------------------------------------
// DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
// ------------------------------------------------------
// Path to the directory containing your backend files
$system_path = "/var/www/www.mastersite.se/wwwroot/";
// ------------------------------------------------------
// MANUALLY CONFIGURABLE VARIABLES
// See user guide for more information
// ------------------------------------------------------
$site_name = 'slavesite3';
$template_group = "";
$template = "";
$site_url = "";
$site_index = "";
$site_404 = "";
$global_vars = array(); // This array must be associative
// detect language depending on domain name in use
$global_vars['lang_km'] = 'se';
?>