Hi Robin
thanks for the tip.
First thing: I am currently using EE 2.1 (I’ve had serious update problems and have not been able to update the site to the current version), so I have no admin.php file.
However, I am using the index.php file and masked cpanel access, that was the standard procedure with EE before the admin.php file was introduced.
So general access to the cpanel is via the following file, which works correctly.
<a href="http://www.domain.com/cpanel/index.php">http://www.domain.com/cpanel/index.php</a>
In order to have separate access to each site’s cpanel in an MSM environment, this is what I set up:
<a href="http://www.domain.com/site_1/cpanel/index.php">http://www.domain.com/site_1/cpanel/index.php</a>
<a href="http://www.domain.com/site_2/cpanel/index.php">http://www.domain.com/site_2/cpanel/index.php</a>
I have configured the index.php file with the following variables:
$assign_to_config['site_name'] = 'site_two';
$assign_to_config['cp_url'] = 'www.domain.com/site_2/cpanel/index.php';
If I try to load this page I get the following error:
An Error Was Encountered
Unable to load the requested file: account/login.php
If I login using the generic index.php page, which works, and then try and access the cpanel I’ve already logged into, using the one of the subdomain index.php files, I get the following error:
An Error Was Encountered
Unable to load the requested file: _shared/menu/item_parent.php
Any suggestions? (Apart from updating, which I can’t do at the moment because my client won’t let me, after all the problems we had).
Many thanks
Chris