Troubleshooting ColdFire

A few people have reported that they are unable to see debugging in the ColdFire Firebug panel. I've been unable to reproduce these issues so I thought I put together a quick post on how ColdFire works in hopes that it may help people debug their issues.

[More]

Comments
Jamie Krug's Gravatar First, thanks a bunch for your work on ColdFire and for taking the time to put together this troubleshooting information.

I was having trouble getting ColdFire working -- basically, I wasn't even seeing the "ColdFire" tab in Firebug.

After spending nearly an hour trying to get ColdFire working on my laptop, including carefully reading this page and checking each item on your "Things To Check If You Are Having Issues With ColdFire" list, I was able to itentify my problem as one having to do with the extension installation itself. I followed the simple instructions and clicked File > Open File and then selected the "coldfire_v1.001.xpi" file but it didn't seem to be installing anything, nor does it ask me to restart Firefox. I simply see the following in my browser window when I open the "coldfire_v1.001.xpi" file:

"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.8) Gecko/20071008 Firefox/2.0.0.8"

I repeatedly closed all Firefox windows and repeated this process, but always saw the same thing. So rather than researching ColdFire installation problems, I researched Firefox extension installation problems (i.e., Google'd "Firefox unable to open xpi file"). The problem was very simple to resolve, but took quite a while, so I'd like to suggest that you add this change to your installation docs...

I found my answer at http://kb.mozillazine.org/Unable_to_install_themes... and I knew it was going to work when I read this:

"Some web sites offer the option to download a theme or extension instead of installing it. The downloaded file will have a ".jar" or ".xpi" extension. Do not try to open these files directly. After the download is complete, drag the downloaded .jar or .xpi file icon from the desktop (or other location) and drop it onto an open Firefox "Add-ons" window ("Extensions" or "Themes" window in Firefox 1.5 and earlier)."

So, I'd propose that you make this simple installation doc change...

FROM:
To install the ColdFire extension, go to the File/Open dialog in Firefox. Select the coldfire.xpi and open it. Again - be sure to restart Firefox when asked.

TO:
To install the ColdFire extension, drag the downloaded coldfire.xpi file and drop it onto an open Firefox "Add-ons" window ("Extensions" or "Themes" window in Firefox 1.5 and earlier). You can open an add-ons window by clicking Tools/Add-ons.

Thanks again!
Jamie
# Posted By Jamie Krug | 10/25/07 6:14 PM
Jamie Krug's Gravatar First, thanks a bunch for taking the time to put together this useful information!

If anyone is having trouble simply getting the ColdFire extension to install properly in Firefox by following the installation documents, you may need to drag/drop the .xpi file onto an add-ons window (Tools/Add-ons) rather than opening it directly. I've outlined more details of my struggle at http://coldfire.riaforge.org/forums/messages.cfm?t... where I've also suggested making this minor change to the ColdFire installation documents.

Cheers,
Jamie
# Posted By Jamie Krug | 10/26/07 9:35 AM
Marcel's Gravatar Not sure if this is a solution for everyone, but I managed to get it working by first deleting the cfif that is commented as "- Check that ColdFire is enabled -" in the coldfire.cfm, which means it will execute the <cfset coldfire_udf_main(debugMode=false,maxHeader=8000)>

After that it started working and even when I put back the cfif!

I'm already a big fan of this new tool!
# Posted By Marcel | 1/14/08 5:01 AM
jeff c's Gravatar Aaarrrggggg....foiled by a renegade cfflush! Thanks for the tips all.
# Posted By jeff c | 10/22/09 1:17 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.