Overlooking the obvious?
I've been converting a site to use Power CMS and get a couple of errors related to the Globals settings and the main "includes" comment to pull in the content.
I'm in that can't see the woods for the trees stage, having spotted a couple of similar threads but not sorting my own problem out:
Screen with errors showing here: aboutus.php
The site is currently set up like this as the owner uses forwarding on their domain name, hence the IP address showing:
I have a folder in the site called: cms :where the Power CMS sits, then the site I'm trying to display content is at: a folder called: dd09 :so they are both within the sites main folder but each sit on their own.
My current Globals settings are:
<?php
$WAGLOBAL_Root_URL = "http://directdialogue.co.uk/" ; //Absolute path to your site folder.
$WAGLOBAL_Site_Name = "Direct Dialogue Admin" ;
$WAGLOBAL_localRoot = "/cms/"; //relative path to your PowerCMS files on your local testing server.
$WAGLOBAL_remoteRoot = "/directdialogue.co.uk/cms/"; //relative path to your PowerCMS files on your remote server.
WA_CMS file is unchanged
These are at the very top of my page:
<?php include "Connections/localhost.php"; ?>
<?php include "WA_CMS/WA_CMS.php"; ?>
and my localhost file is:
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_localhost = "localhost";
$database_localhost = "web38-dd2009";
$username_localhost = "web38-dd2009";
$password_localhost = "passwordchanged";
$localhost = mysql_pconnect($hostname_localhost, $username_localhost, $password_localhost) or trigger_error(mysql_error(),E_USER_ERROR);
?>
Thanks in advance
Benj