Ah, I thought that error looked familiar; this jogs my memory! I’ve had it before; sometimes my ftp client program (or something) strips all line endings from the file, which of course totally trashes the file since now all comments (//) are part of the single line the file has turned into, making the entire file following the first comment one huge comment!
You’ll need to go to your original unizpped package and re-upload the offending file. I find that I often have this problem with files that were created on a Windows machine, and most frequently .js and .css files; if I take the file in its original (correct) state and convert it to Unix line endings then I have no trouble with it.
You can also use a file conversion utility (my programmer’s editor has the feature) to convert the offending file to use Unix line endings. At least this seems to solve the problem in my case
.
-
- 14 Posts
Er, maybe not everything is working as it should. I can log in and the demo site comes up, but I’m getting lots of "Stack overflow at line: 511" errors. I have no idea what file this is referring to. Very frustrating...
UPDATE: False alarm, I guess. For some reason, after I rebooted, no more error messages. Everything seems OK now. I’ll play around with MODx. Looks very promising. I was initially looking at Etomite 0.6.1, but MODx seems better.
UPDATE 2: Nope, it’s back. The site and the admin stuff work, but I’m seeing popup windows with "Stack overflow at line: 511" error messages. I can click the OK button to continue with whatever I was doing.
UPDATE 3: It doesn’t seem to be related to MODx. I *seem* to have narrowed it down to Ad Muncher (which kind of suprises me as this little gem has never given me trouble before). If I turn it off, the error message *seems* to go away.
Ron