Bug #17411
closedNo backend modules are shown
Added by Franz Holzinger over 17 years ago. Updated over 16 years ago.
0%
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 |
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.
Updated by Franz Holzinger over 17 years ago
Close this bug. I cannot repeat this. any more.
Updated by Franz Holzinger over 17 years ago
Now it this bug is back again. - sigh
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.
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.
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"
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.
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.
Updated by Franz Holzinger almost 17 years ago
This error message is obsolete due to the new page tree code in TYPO3 4.2.