http://lightningweather.com/quadcities/noaafct/noaaSettings.php?sce=view
line 101 is in errror, I will investigate tomorrow as it is night-time for CET
Change the line 101 from:
$echo .= '<!-- module '.$string.' -->'.PHP_EOL;
by removing the . before the = to
$echo = '<!-- module '.$string.' -->'.PHP_EOL;
Wim,
I fixed line 101, Then noticed the "echo" was after the string. Note below...
if ($pageFile <> $pageName) {
$string.= $pageFile .' loaded instead';
}
$echo = '<!-- module '.$string.' -->'.PHP_EOL;
#-------------------------------------------------------------------------------
#
I cut the echo and moved the } below the echo line...
if ($pageFile <> $pageName) {
$string.= $pageFile .' loaded instead';
$echo = '<!-- module '.$string.' -->'.PHP_EOL;
}
#-------------------------------------------------------------------------------
After I fixed that, I got another error on Line 177: Same thing...
# Language array construct
$echo .= '<!-- Creating lang translate array -->'.PHP_EOL;
$ownTranslate = true;
$wsnoaafctLOOKUP= array(); // array with FROM and TO languages
$missingTrans = array(); // array with strings with missing translation requests
$myLangfile = $wsnoaalang.'noaalanguage-'.$myLang.'.txt';
Took the '.' out of the string, then searched further to see if there were anymore...
Line 208...
} // eo is langlookup
} // eo for each lang record
$echo .= '<!-- loaded: '.$loaded.' - skipped: '.$skipped.' - invalid: '.$invalid.' - used: '.$nLanglookup.' entries of file '.$myLangfile.' -->'.PHP_EOL;
} // eo file exist
I got all of them corrected and now the error is gone. Thanks for pointing me in the right direction.
I also wanted to advise you of the other lines that needed to be corrected.
Regards,
Jonny J.