music_lp90 Posted June 10, 2010 Share Posted June 10, 2010 Hi All,We use Joomla and the content editor in it is the tinymce editor. Today the html editor in tinymce would not load and was having a javascript error "Invalid Character". It appears that the "tiny_mce_popup.js" has been corrupted. When I download the file, I can open it and the code all looks fine, but when I look at the source that is loaded online in Firebug, it shows: <script src="../../tiny_mce_popup.js" type="text/javascript" language="javascript">GIF89aÿÿÿ!ù,D;</script> (Not exactly as shown above, the characters are not pasting correctly, but it's a bunch of strange characters that show up where the is)I tried creating a new .js file with the same javascript in it and replacing the one on the server and also tried uploading backed up copies, but it still loaded the same corrupted looking script.Finally, instead of loading the js externally, I just pasted the code directly into the the file that was requiring it and that worked, but can someone tell me why after deleting the corrupted file and uploading a new one it still was corrupted. Is there anything I can do about this? Should I be worried that other files might start getting corrupted like this?Thanks! Link to comment Share on other sites More sharing options...
dsonesuk Posted June 10, 2010 Share Posted June 10, 2010 it seems to be a problem with anti virus blocking the script because of the 'popup' within the file name. Solutions related to kaspersky are to add the script to Kasperksy Anti-Banner White list: Link to comment Share on other sites More sharing options...
justsomeguy Posted June 11, 2010 Share Posted June 11, 2010 That's not corrupted data, that's a GIF image. Specifically, that's a GIF 89A image. If you remove the script tags and save the file as .gif you can probably open it. As for what an image would be doing embedded in Javascript code, your guess is as good as mine. If that file gets created dynamically, it sounds like the program that creates it isn't reading the source data from the right place. Link to comment Share on other sites More sharing options...
dsonesuk Posted June 11, 2010 Share Posted June 11, 2010 its not a gif image, it treats the data returned as a gif image, this issue has been reported several times, google 'jce editor gif89a' most relate to kaspersky anti virus program blocking the script because of the filename containing popup.I use joomla a lot, and had same problem. Link to comment Share on other sites More sharing options...
justsomeguy Posted June 11, 2010 Share Posted June 11, 2010 That's pretty bizarre, I wonder whose idea it was to replace the code with a gif image instead of just outright blocking the file or something similar. I'm curious what that image is. Link to comment Share on other sites More sharing options...
music_lp90 Posted June 14, 2010 Author Share Posted June 14, 2010 Thanks for your help guys. It was the antivirus that was blocking the script. There's a slight issue still. Everything seems to work fine in Firefox, but in IE, the "Edit HTML Source" opens and will load partially, but freezes or never finishes loading or something. The popup looks like it is frozen until you click on the title bar and move the window, then the content shows up, but the textarea is only about 20px high and the form elements do not work. You cannot click in the textarea, the buttons, or the checkbox. The window closes fine. So, if there's any suggestions on this, I would appreciate it. If not, I'll just use Firefox.Thanks! Link to comment Share on other sites More sharing options...
music_lp90 Posted June 14, 2010 Author Share Posted June 14, 2010 Oh, and if this makes a difference, our IT people said "anti-banner is not enabled(now) I'll play with the anti-banner white list if that doesn't work". I haven't talked with them today yet. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.