Project

General

Profile

Actions

Bug #19839

closed

Javascript Error while navigating in menus section (msie4 is undefined)

Added by Srinivasan almost 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Communication
Target version:
-
Start date:
2009-01-16
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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)


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #19863: Javascript Error while navigating in menus section (msie4 is undefined)ClosedChristian Kuhn2009-01-20

Actions
Actions #1

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.

Actions #2

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...

Actions #3

Updated by Christian Kuhn about 15 years ago

Is this still reproducible in current TYPO3 versions?

Actions #4

Updated by Christian Kuhn over 14 years ago

Resolved, unable to reproduce in recent versions.

Actions #5

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF