Bug #19839
closedJavascript Error while navigating in menus section (msie4 is undefined)
0%
Description
we are using 4.2.3 version in the server. In this, when we are navigating through the menus in the website generated from typo3, a error message stating "'msie4' is undefined" has been displayed continuously in all browsers.
Menus are displayed horizontally.
When we replaced the file in the below path with the old version one, (typo3\sysext\cms\tslib\class.tslib_pagegen.php) then it works normally. But we couldn't able to replace the file since it's a shared hosting.
Whether the issue is due to latest version or is there any other solution to overcome this problem.
I have mentioned the temporary path of the site below for your reference:
http://cid72n1207.hs07.hosting.punkt.de/
in this when we navigate through the menus, we can find the error pop's up, stating "'msie4' is undefined"..
(issue imported from #M10160)
Updated by Wolfgang Zenker almost 16 years ago
Could you please specify which type of menu you have used? Anything from static_templates, or did you make your own typoscript? BTW, that host runs PHP 5.2.8, not 4.3 as you have written here.
Updated by Markus Rathmayr over 15 years ago
I experienced the same problem. every click on a menu item generates an js error. the reason is the missing line break in the default javascript:
<!--var browserName=navigator.appName;var brow...
if you change the lines aprrox. 723/724 in class.tslib_pagegen.php to:
// Adding default Java Script:
$_scriptCode = "\nbreak";
$_scriptCode .= '
it works...
Updated by Christian Kuhn about 15 years ago
Is this still reproducible in current TYPO3 versions?
Updated by Christian Kuhn over 14 years ago
Resolved, unable to reproduce in recent versions.