BlogCFC and Blackstone

If you are on the Blackstone beta and find that you cannot run Blog CFC, there is a real simple modification you can do in order to get the code run. Simply open the blog.cfc file and remove these lines:

<FONT COLOR=GRAY><!--- Require RedSky ---></FONT>
<FONT COLOR=MAROON><cfif find(<FONT COLOR=BLUE>"6,<FONT COLOR=BLUE>1</FONT>"</FONT>, server.coldfusion.productversion) is not 1></FONT>
   <FONT COLOR=MAROON><cfset throw(<FONT COLOR=BLUE>"Blog must be run under ColdFusion 6.1."</FONT>)></FONT>

As you can tell, I made a classic mistake. I checked for CFMX 6.1, and not CFMX 6.1 and higher. I’ll correct this later. I also believe that a future release of BlueDragon will support cflogin, and once that happens I’ll modify the code to check for that as well.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for Extend by Auth0. He focuses on serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support.

Lafayette, LA