Skip to main content
Known Participant
September 19, 2009
Question

Trouble creating new pages from CFM template pages

  • September 19, 2009
  • 1 reply
  • 733 views

I am using ColdFusion on my webserver.  When I create editable regions in a .cfm file, and then save as a tempalte the resulting file name is [filename].dwt.cfm.  When I try to create a new page from a template and I save that page as a .cfm page, I keep on getting error messages, like this http://www.amptwo.org/subdivisions/genetics/index.cfm

Any ideas what I am doing incorrectly?

Thanks

[Moved to Dreamweaver Application Development forum by a moderator]

This topic has been closed for replies.

1 reply

Lawrence_Cramer
Inspiring
September 19, 2009

Are you testing locally?   When developing dynamic sites, be it CF or PHP, it's absolutely vital to set up a local development environment. The rule of thumb then is if it works locally it should work on the server.  I use Dreamweaver CF templates all the time and I've never seen this happen so something must be haywire in the template set up. If you test locally yo can turn on CF degugging and get more robust information, you can then recreate the template and see what may be getting messed up. Uploading to the server to check this out introduces too many unknown variables and will really complicate debugging.

--
Lawrence   *Adobe Community Expert*
www.Cartweaver.com
Complete Shopping Cart Application for
Dreamweaver, available in ASP, PHP and CF
www.twitter.com/LawrenceCramer

Known Participant
September 19, 2009

Hi Lawrence,

Thank you so much for the advice. I'll test locally and turn on CF debugging and see what happens.

Thanks so much!

Scooterboogle