Project

General

Profile

Actions

Bug #17411

closed

No backend modules are shown

Added by Franz Holzinger over 17 years ago. Updated over 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2007-06-21
Due date:
% Done:

0%

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

Description

I am using the latest version from trunk. I have switched the backend user's setup from German to Italian. Since now there is no left frame shown any more. I only see the right frame and cannot do anything.

http://localhost/typo3/alt_intro.php?#

(issue imported from #M5840)


Files

alt_main.php (37.4 KB) alt_main.php Administrator Admin, 2007-06-21 21:17
5840-konqueror-1.png (17.7 KB) 5840-konqueror-1.png Administrator Admin, 2007-08-05 13:47
error_log.diff (563 Bytes) error_log.diff Administrator Admin, 2007-11-18 16:28
Actions #1

Updated by Franz Holzinger over 17 years ago

This happens only on Firefox 2.0.0.4 under LINUX. It still works with Konqueror and Internet Explorer 6.
When I use another backend user then this bug remains. I do not know how I can get this TYPO3 installation working again with Firefox 2.0.0.4. What could be the reason that the left and middle frame do not get shown?

------------------
the sourcecode of the backend has this:
case 'help_aboutmodules':

top.content.location=top.getModuleUrl(top.TS.PATH_typo3+"alt_intro.php?"+additionalGetVariables);
top.fsMod.currentMainLoaded="help";
top.highlightModuleMenuItem("ID_226369394");

This leeds to the result that only the help page http://localhost/typo3/alt_intro.php? is shown in the backend. But how to proceed from here?

If I deactivate the JavaScript in Firefox, then the backend module is shown as it should be.

Delete in class.alt_menu_functions.inc line 303:
top.content.window.location=top.getModuleUrl(top.TS.PATH_typo3+"'.$this->wrapLinkWithAB($link).'"'.$addJS.'+additionalGetVariables);

Then the backend is usable again. However no help page will be shown.

Actions #2

Updated by Franz Holzinger over 17 years ago

Close this bug. I cannot repeat this. any more.

Actions #3

Updated by Franz Holzinger over 17 years ago

Now it this bug is back again. - sigh

Actions #4

Updated by Franz Holzinger over 17 years ago

typo3/alt_main.php:
The id=".." parameter is missing for the frames, only the name is given. So getElementById cannot be used.
Konqueror claims this line as undefined:
case 'help_aboutmodules':
top.content.location

The id for content is missing.

Actions #5

Updated by Franz Holzinger about 17 years ago

I have copied the not working TYPO3 instance to a test2 instance. Then I have used a working TYPO3 database. Here is the difference in the error_log.

There is a line in the end of function main in typo3/alt_main.php

</html>';

error_log ('SC_alt_main: $this->content='.$this->content);
}

The first error_log is from the not working TYPO3 instance. The second has all the same files and extensions. The only difference is somewhere in the database.

Actions #6

Updated by Franz Holzinger about 17 years ago

The reason for this bug comes from the line in JavaScript:

top.goToModule('help_aboutmodules',false,'');

This is in function startModule() in alt_main.php

if (!$module)    {
if ($BE_USER->uc['startModule']) {
$module = $BE_USER->uc['startModule'];
The second IF is true on the not working site. Do to some fiddling around it happened that the backenduser has a startModule assigned.

if ($module) {
$this->mainJScode.='
// open in module:
top.goToModule(\''.$module.'\',false,\''.$params.'\');
';
}

This PHP adds the JavaScript, which does not work in Firefox and Epiphany browsers.
This results that only the frame
http://localhost/typo3/alt_intro.php?
is shown, nothing else.

The be_users table for the admin user shows the part
;i:1;s:11:"startModule";s:17:"help_aboutmodules";
inside of the field 'uc'

Now I delete the part
i:1;s:11:"startModule";s:17:"help_aboutmodules";

But it gets restored upon refresh of the page.
s:11:"startModule";s:17:"help_aboutmodules"

Actions #7

Updated by Franz Holzinger about 17 years ago

How to resolve this issue:

t3lib/class.t3lib_beuserauth.php:

line 128:
// 'startModule' => 'help_aboutmodules',
comment out this line and delete the field uc of the be_users table. Then it works fine in Firefox and Epiphany again.

Actions #8

Updated by Franz Holzinger about 17 years ago

How to resolve this issue:

t3lib/class.t3lib_beuserauth.php:

line 128:
// 'startModule' => 'help_aboutmodules',
comment out this line and delete the field uc of the be_users table. Then it works fine in Firefox and Epiphany again.

Actions #9

Updated by Franz Holzinger almost 17 years ago

This error message is obsolete due to the new page tree code in TYPO3 4.2.

Actions

Also available in: Atom PDF