WA_Globals and My Insanity
I just purchased PowerStore and are already interacting with a client for their store. Because the hosting hasn't changed for this company yet, I have created a local testing server to do some preliminary work. However, I am having issues getting things to work. We tested the page before "Customizing your PowerStore site's design" and the Main.dwt template file works great in the local environment. (Also, before changing the navigation---)
The step to insert this string into the Main.dwt.php file causes a rash of errors.
<?php require_once("../CSSMenuWriter/cssmw_home/menu.php"); ?>
The errors are a combination of WAGLOBAL and database connection errors
Header
Notice: Undefined variable: WAGLOBAL_localRoot in C:\inetpub\wwwroot\Toy Test\CSSMenuWriter\cssmw_home\menu.php on line 2
Notice: Undefined variable: WAGLOBAL_remoteRoot in C:\inetpub\wwwroot\Toy Test\CSSMenuWriter\cssmw_home\menu.php on line 3
Warning: strpos() [function.strpos]: Empty delimiter in C:\inetpub\wwwroot\Toy Test\CSSMenuWriter\cssmw_home\menu.php on line 6
Warning: strpos() [function.strpos]: Empty delimiter in C:\inetpub\wwwroot\Toy Test\CSSMenuWriter\cssmw_home\menu.php on line 10
Notice: Undefined variable: database_localhost in C:\inetpub\wwwroot\Toy Test\CSSMenuWriter\cssmw_home\menu.php on line 65
Notice: Undefined variable: localhost in C:\inetpub\wwwroot\Toy Test\CSSMenuWriter\cssmw_home\menu.php on line 65
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\inetpub\wwwroot\Toy Test\CSSMenuWriter\cssmw_home\menu.php on line 65
Notice: Undefined variable: localhost in C:\inetpub\wwwroot\Toy Test\CSSMenuWriter\cssmw_home\menu.php on line 67
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in C:\inetpub\wwwroot\Toy Test\CSSMenuWriter\cssmw_home\menu.php on line 67
We have tried a number of combinations with the WA_Globals file, (localRoot and remoteRoot addresses) and feel that the localhost.php is configured correctly.
Thanks in advance!
SH