Have just ran into a problem with Xampp and I though't I'd share my solution incase anybody else is having the same problems, or if something is amiss with the configuration of Xammp, might save someone a few hours worth of faffing
Basically, with a fresh install of Windows XP I've downloaded Xampp for win32 version 1.7.1 and got it up and running & tested that Apache PHP and MYSQL are all working without any problems.
I've then gone on to install the latest version of TinyMCE 3.2.4.1, which would work whilst browsing to the files, but refused to work when they were served through Apachce. The error Firebug was reporting was that there was an "illegal character" in the javascript on line 1, which was causing it to failing loading.
Opening the javascript file directly in Firefox, the browsed to version looked fine, but the Xampp/Apache version was all garbled, further inspection revealed that there were slightly different mime types for the "browsed-to" version [application/x-javascript] and the Xampp/Apache version [application/javascript].
So I opened up apache/conf/mime.types found the line for javascript, and changed it
- Code: Select all
# from this
application/javascript js
# to this
application/x-javascript js
and hey presto, the Firefox is now happy with the mime-type and TinyMCE now loads correctly, and I'm a happy bunny again