When I make a build and view in the browser, there are no errors.
With that same build, I upload it to my server, and get this error:
Failed to load resource: the server responded with a status of 404 (Not Found)
http://mysite.com/include/lang/.js
Uncaught TypeError: Cannot read property 'constants' of undefined
RunnerAll.js:389
Miscellaneous Projects settings show Language = English.
I've tried these changes, but result was the same:
- Events -> After application initialized, set $_SESSION["language"]="English";
- Events -> Menu page: Before process, set $_SESSION["language"]="English";
- Events -> Menu page: Before display, set $_SESSION["language"]="English";
Not sure what's causing this line in menu.php to not pick up the language setting/file:
Line 78: $pageObject->body["begin"] .= "<script type=\"text/javascript\" src=\"include/lang/".getLangFileName(mlang_getcurrentlang()).".js\"></script>";
Assistance is most appreciated.