Bug #15979
closed
Javascript Error on Click Menu in Filelist
Added by Ben Sowter over 18 years ago.
Updated over 17 years ago.
Category:
Backend User Interface
Description
Repetitively getting a javascript error when trying to use the click menu in the file list - this means I can't delete uploaded files without going on to the server and doing it manually.
Error text...
Line: 143
Char: 6
Error: 'null' is null or not an object
Code: 0
URL: http://<server>/typo3/file_list.php?id=<file path>
OS: Windows
Server: Apache 2
(issue imported from #M3115)
Files
Wow, OS is WIndows. Now, what browser are you using?
It works for me with Firefox 1.5 on Linux btw...
What is the generated HTML source code of this page?
Browser is Internet Exlorer 6.02. Incidentally I have just checked it in Fireworks on my setup and it does work fine there, so it definitely sounds like an IE specific bug.
I just tested it with IE 6.0.2900 and erverything worked just fine...
So maybe you could try with different setups (both server and client) and report which platforms it works on and which not.
For the moment, you might want to just disable the context menu in
User->Setup->"Disable Popup Context Menus"
This shows the options which are normally available in the context menu, in the small top frame.
cheers
Ingmar
I can confirm that this bug exists. I was able to duplicated it on my machine as well. IE6 + windows.
To duplicated the bug, follow these steps:
1. Open filelist module in backend (logged in as admin, using IE6)
2. Notice that the click menu works in the center frame. Click on a folder that has files in it.
3. Clicking on the file icon in the right frame brings up a javascript error -- clickmenu doesn't appear.
What's strange is that if you click on a folder icon in the right frame (eg., when the contents of a folder is another folder), then it seems to work fine.
Zach
yes, i have the same problem, i use ms explorer (6.0.2900.2180).
i have tested it in versions 4.0 and 4.0.1, now i'm downloading 4.0.2.
in mozilla (1.5.0.6) it works fine.
the server is linux, debian etch 2.6.15 amd64
(take a look at the screenshot attached in this issue)
UPDATE: the error is still present in 4.0.2
I confirm this Problem:
SuSE Linux 9.1 Prof.
PHP 4.4.0
'./configure' '--prefix=/usr/local/typo3' '--enable-memory-limit' '--enable-mbstring' '--with-mysql' '--with-freetype-dir=/usr/local/typo3' '--with-zlib-dir=/usr/local/typo3' '--with-zlib=/usr/local/typo3' '--with-jpeg-dir=/usr/local/typo3' '--with-tiff-dir=/usr/local/typo3' '--with-gd=/usr/local/typo3' '--with-png-dir=/usr/local/typo3' '--with-ttf=/usr/local/typo3' '--enable-gd-native-ttf' '--with-gettext=/usr/local/typo3' '--with-pdflib=/usr/local/typo3' '--with-apxs2=/usr/local/typo3/bin/apxs'
Apache/2.0.54 (Unix) PHP/4.4.0
core mod_auth mod_log_config mod_env mod_setenvif prefork http_core mod_mime mod_status mod_autoindex mod_asis mod_negotiation mod_dir mod_imap mod_userdir mod_alias mod_so mod_access mod_include mod_cgi mod_actions mod_speling mod_rewrite sapi_apache2
MySQL 4.1.12
IE 6.0.2900 SP2
With Firefox there are no Problems
Update Typo3 3.8.0 -----> Typo3 4.0.1
With a fresh Installation of Typo4.0.1 also no Problem with IE
Seems like the AJAX content is not utf8-encoded. XML must always be UTF-8! Attached is a patch that fixes this. Please test.
Michael, your Patch fixed the Problem. Edit works now in Fileadmin on Updates Typo3 3.8.0 ---> Typo3 4.0.n in IE 6.0. Thanks a lot.
Please excuse the late Answer. I was down with influenza for some Days.
Also available in: Atom
PDF