I have chosen a hosting provider to put my multi-site system online. I have uploaded the files and databases and have achieved limited functionality. However, a mysterious problem is occurring.
My hosting provider instructed me to implement the sites by creating subdomains of the subdomain they created for my account. So the URL for site1.com at this stage is
The site includes an "About" page whose alias is "About_Site1" and which includes a php call to include a file "about.php".
When I attempt to load the "About" page (via
site1.me.a2hosted.com/About_Site1), I get this error:
Fatal error: require_once(): Failed opening required '/sites/Site1/_/about.php'
To check if it's looking in the right place, I inserted
and this immediately before the call to
So the code is now:
echo('doc root: "' . $_SERVER['DOCUMENT_ROOT'] . '"'); require_once('/sites/Site1/_/about.php');
and the result is:
doc root: "/home/newsites/public_html" Fatal error: require_once(): Failed opening required '/sites/Site1/_/about.php' (include_path='.:/opt/alt/php55/usr/share/pear:/opt/alt/php55/usr/share/php') in /home/newsites/public_html/modules/php/php.module(80) : eval()'d code on line 3
The tech support agent at my hosting provider reported: "I have checked the file and folder permissions, and this file is definitely readable by the system. While this is possibly a development issue related to the way Drupal is handling these subdomains internally, I have opened this ticket to further review the situation and ensure that nothing server-side is causing an issue."
The site is set up as a subdomain because that's how my hosting provider told me to implement multi-site on their system.
While they are looking into the problem, does anyone have any insights on what might be going on?