contao/import — Issue #2927: 404 for newsletter.css and tiny_mce_gzip.js error on New Newsletter.
Author: importer
Created: 2011-11-29 20:32:12+00:00
State: open
Labels: Defect, Invalid, newsletter

In a new installation of 2.9.4, and in the demo.contao.org installation, - Firebug picks up 2 errors in the console on creating a new newsletter.

1. a "problem" with tiny_mce_gzip.js (line 56)

2. a 404 generated by trying to find newsletter.css in the root

```
GET http://demo.contao.org/plugins/tinyMCE/tiny_mce_...2Ctemplate%2Ctypolinks%2Cxhtmlxtras&languages=en
GET http://demo.contao.org/plugins/tinyMCE/tiny_mce_gzip.php?js=true&diskcache=false&core=true&suffix=&themes=advanced&plugins=advimage%2Cdirectionality%2Cemotions%2Cinlinepopups%2Cpaste%2Csave%2Csearchreplace%2Cspellchecker%2Cstyle%2Ctabfocus%2Ctable%2Ctemplate%2Ctypolinks%2Cxhtmlxtras&languages=en

200 OK
311ms
tiny_mce_gzip.js (line 56)
"NetworkError: 404 Not Found - http://demo.contao.org/newsletter.css"
```

Although on the demo the tiny_mce_gzip.js message does NOT seem to interfere with Tiny MCE loading .... on ALL my own installations ANY screen in ANY module that contains the Tiny MCE editor does not load (in Firefox only) when this happens. It is intermittent, but happens much more often than not. I've been trying for ages to track down the cause, but know not, sorry.
When I say does not load I mean the following - the full "view source" code is present, but the generated source code stops after the "init" for tinyMCE_GZ.init and no body is generated.

```

```

The page is grey - only the BE background image shows. If I rightclick and view background image, then "go back" using Firefox the full page (including the RTE) will load. Simply refreshing does not help.

I have found a very annoying "solution" but I do not know why it works (plus it is "undone" every live update).
If I edit system/config/tinyMCE.php to call tiny_mce.js (instead of the current tiny_mce_gzip.js) AND remove the tinyMCE_GZ.init block - then everything works correctly.

There is a (WARNING) long and confusing thread here if it helps.... [http://www.contao-community.org/viewtopic.php?f=6&t=1854&hilit=blank+pages]
The main difference I notice Leo with my installations is that they are on Apache 1.3 - but the demo.contao site triggers the same Firebug message too, and presumably that isn't.

I'm hoping you can shed some light on this (without suggesting I upgrade to Apache 2), as it ruins an otherwise perfect Contao experience :(

--- _Originally created by ramjet on March 15th, 2011, at 07:13am (ID 2927)_