When I went to the Live Data view in Dreamweaver on menu.php, I also got an error regarding the WA_Globals
(An error occurred while requesting the document from the testing server:)
Notice: Undefined variable: WAGLOBAL_localRoot in C:\htdocs\DurableToys\CSSMenuwriter\cssmw_home\menu_3fgoomf88b.php on line 2
Notice: Undefined variable: WAGLOBAL_remotelRoot in C:\htdocs\DurableToys\CSSMenuwriter\cssmw_home\menu_3fgoomf88b.php on line 3
Warning: strpos() [function.strpos]: Empty delimiter in C:\htdocs\DurableToys\CSSMenuwriter\cssmw_home\menu_3fgoomf88b.php on line 6
Warning: strpos() [function.strpos]: Empty delimiter in C:\htdocs\DurableToys\CSSMenuwriter\cssmw_home\menu_3fgoomf88b.php on line 10
Here are the lines (2 & 3 of the menu.php in reference to WA_Globals
$WA_localRoot = "".$WAGLOBAL_localRoot."";
$WA_remoteRoot = "".$WAGLOBAL_remoteRoot."";
and 6 & 10
if ((strpos($WA_curURL,strtolower($WA_localRoot)) !== false && strpos($WA_curURL,strtolower($WA_localRoot)) == 0) && (strlen($WA_localRoot) >= strlen($WA_remoteRoot) || strpos($WA_curURL,strtolower($WA_localRoot)) === 0)) {
$assumedRoot = $WA_localRoot;
if (strpos(strtolower($WA_thisFile), strtolower($assumedRoot)) === 0) {
$WA_thisFile = substr($WA_thisFile, strlen($assumedRoot));
Here is the info in WA_Globals:
$WAGLOBAL_localRoot = "/DurableToys/";
$WAGLOBAL_remoteRoot = "/DurableToys/";
Local Root is C:\htdocs\DurableToys\
Remote Root is DurableToys/
??