Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unexpected constant #140 -1 Error

Status
Not open for further replies.

Wullie

Programmer
Mar 17, 2001
3,674
GB
Hi all,

I've just started getting an error on a site but have no idea what is causing it.

unexpected constant #140 -1

Now, the strange thing about this error is that only this one site is affected, and none of the others are.

The error still appears no matter whether the file is blank or contains code.

No Application.cfm is in or above this dir.

Can anyone shed any light on this?

Thanks in advance,

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
I've got a few ideas for you:


(...cold fusion files larger than 500k recieve a similar error... The page this refers too says his page is only 337 but that is still rather larger, might, for the sake of argument, consider breaking up into cfincludes and such, if possible..)

Also, is your template encrypted? Might it contain the character: Œ Which is Œ (If you don't see the code for the symbol and just see the symbol, its amperstand-a-m-p-pound sign-1-4-0-semicolon)



ALFII.com
---------------------
If this post answered or helped to answer your question, please reply with such so that forum members with a similar question will know to use this advice.
 
Hi mate,

Thanks, but this is different from the error I am getting.

No matter what size the file is, the error returns.

The file was about 5k, with code that has not been altered for about a year, and it worked fine up until now.

At this present moment in time, the file contains nothing and still errors out.

I can't think of any system changes recently that could have affected this either.

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Follow up

I narrowed down the problem to a cfif, but still have no idea why it happened.

A restart of the server never sorted anything, but going into the Admin and unchecking Save Class Files removed the error for the blank page.

The part that was causing the error was the following line inside a cfif:

Send an e-mail to santa and get a personal reply.

If I delete that line, it works without a problem. But the strange thing is that this line of text is repeated directly before and after the line causing the problem, but the file works with those left in.

This has totally stumped me. [sad]

Wullie


The pessimist complains about the wind. The optimist expects it to change.
The leader adjusts the sails. - John Maxwell
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top