Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Unexpected Constant Error

New Here ,
Jun 27, 2008 Jun 27, 2008
Running ColdFusion MX7

So for no apparent reason, the other day all of my .cfm pages began returning Unexpected Constant errors. I attached a sample of one of these errors.
I had written a script to change some of the urls being referenced, but have since restored the backups of the original files and still have this problem.
The ColdFusion administrator page is suffering from the same error, however the ColdFusion Getting Started page is functional.

anyone have an idea as to what could have cause this?
TOPICS
Getting started
516
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 27, 2008 Jun 27, 2008
This is a shot in the dark:
You might delete your cfclasses directory. This would cause you pages to recompile. If your error is the result of a bad compile this might help.

What is your CF version ( including minor version number ), operating system, and JVM?

There is known issue with a similar error message for CFMX
http://www.adobe.com/support/coldfusion/releasenotes/mx/knownissues_mx_j2ee_p2.html
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 30, 2008 Jun 30, 2008
I tried deleting cfclasses but with no luck. It didn't seem to recompile and was giving me a 404 error saying it could not find the specified file.

I'm running windows xp service pack 3 (the problem existed in service pack 2 before this update was pushed on me)
Java version 1.6 (I uninstalled the updates thinking one of them might have caused it)
I believe i'm using an unpatched MX7 version of CF, but don't know how to check without accessing the administrator page. I attempted to download the cumulative update but it can't install without going through that page.
I've also tried under both Firefox and IE6 and 7 to see if it was related to the browser.

Thanks for any more help you can give
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Jun 30, 2008 Jun 30, 2008
LATEST
I recommend trying a different version of the JVM. 1.4.2_15 is the latest supported JVM for CF7. To change the JVM without logging into the CF administrator edit your jvm.config file as covered in this article:
http://www.adobe.com/go/2d547983

You can download the J2SDK 1.4.2_15 from Sun here:
http://java.sun.com/products/archive/
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources