Skip to main content
Participant
November 27, 2006
Question

How do I update old CF version websites?

  • November 27, 2006
  • 10 replies
  • 1109 views
I have dreamweaver mx and cant find out where I can update this old website I have that was created in Cold Fusion 5.0.

I have dreamweaver MX and want to know how to update this site if at all possible. Is there an easy updater function in Dreamweaver that will allow me to fully update all pages to CF MX?

Can anyone help me?
This topic has been closed for replies.

10 replies

Participant
November 28, 2006
MS SQL.
Inspiring
November 28, 2006
Ok, so first things first. You need to define a datasource for your database, in the ColdFusion Administrator (which I'm assuming you've got access to).

After you've done that, at the very least you need to amend all your queries to remove the deprecated tag parameters and reflect the new datasource name.

How much CF programming have you done before?
Inspiring
November 28, 2006
What sort of database are you using with this app?
Participant
November 28, 2006
Anyone want to earn a quick buck or two and help me update this website? Let me know.
Inspiring
November 27, 2006
Have you tried this?

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=25b0de5e

good luck!



"cfdevwannabe" <webforumsuser@macromedia.com> wrote in message
news:ekdmak$pch$1@forums.macromedia.com...
>I have dreamweaver mx and cant find out where I can update this old website
>I
> have that was created in Cold Fusion 5.0.
>
> I have dreamweaver MX and want to know how to update this site if at all
> possible. Is there an easy updater function in Dreamweaver that will allow
> me
> to fully update all pages to CF MX?
>
> Can anyone help me?
>


Inspiring
November 27, 2006
can you post the part of the CFM code that is causing the error?




"Ian Skinner" <ian.skinner@bloodsource.org> wrote in message
news:ekf3k6$fqp$1@forums.macromedia.com...
> Does anyone know how i can update the site?
>
>
> CONNECTSTRING and other "dynamic/runtime" DSN connection parameters of the
> <cfquery> tag are deprecated in the current versions of ColdFusion. These
> queries will have to be rewritten to use named data sources that are
> configured in the CF administrator.


Inspiring
November 27, 2006
Does anyone know how i can update the site?


CONNECTSTRING and other "dynamic/runtime" DSN connection parameters of
the <cfquery> tag are deprecated in the current versions of ColdFusion.
These queries will have to be rewritten to use named data sources that
are configured in the CF administrator.
Participant
November 27, 2006
I have to migrate the website to a server that is running CF MX and the site being created in CF 5.0 is not compatable. When i go to the site location on the new server, i get the following error message. Does anyone know how i can update the site?

Error Occurred While Processing Request
Attribute validation error for tag query.
The tag does not have an attribute called CONNECTSTRING. The valid attribute(s) are name, datasource, dbtype, sql, username, password, maxrows, blockfactor, timeout, cachedafter, cachedwithin, debug.

Please try the following:
Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debugging Settings, and select the Robust Exception Information option.
Check the ColdFusion documentation to verify that you are using the correct syntax.
Search the Knowledge Base to find a solution to your problem.


Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Alexa Toolbar)
Remote Address 70.176.124.115
Referrer
Date/Time 27-Nov-06 10:19 AM


tclaremont
Inspiring
November 27, 2006
Dreamweaver and CF are two entirely different products for totally different functions.

You can use Dreamweaver to write CF applications. Other than that, there is no relationship between the two.
Inspiring
November 27, 2006
What, specifically, do you want to update? Is the site not working correctly on CFMX?
Inspiring
November 27, 2006
No there is no easy updater function. What is easy is, "if it ain't broke, don't fix it".