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

How do I update old CF version websites?

New Here ,
Nov 26, 2006 Nov 26, 2006

Copy link to clipboard

Copied

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?
TOPICS
Advanced techniques

Views

915

Translate

Translate

Report

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
LEGEND ,
Nov 26, 2006 Nov 26, 2006

Copy link to clipboard

Copied

No there is no easy updater function. What is easy is, "if it ain't broke, don't fix it".

Votes

Translate

Translate

Report

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
Participant ,
Nov 26, 2006 Nov 26, 2006

Copy link to clipboard

Copied

What, specifically, do you want to update? Is the site not working correctly on CFMX?

Votes

Translate

Translate

Report

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
Engaged ,
Nov 27, 2006 Nov 27, 2006

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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 ,
Nov 27, 2006 Nov 27, 2006

Copy link to clipboard

Copied

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


Votes

Translate

Translate

Report

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
LEGEND ,
Nov 27, 2006 Nov 27, 2006

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

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
LEGEND ,
Nov 27, 2006 Nov 27, 2006

Copy link to clipboard

Copied

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.


Votes

Translate

Translate

Report

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
LEGEND ,
Nov 27, 2006 Nov 27, 2006

Copy link to clipboard

Copied

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?
>


Votes

Translate

Translate

Report

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 ,
Nov 28, 2006 Nov 28, 2006

Copy link to clipboard

Copied

Anyone want to earn a quick buck or two and help me update this website? Let me know.

Votes

Translate

Translate

Report

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
Participant ,
Nov 28, 2006 Nov 28, 2006

Copy link to clipboard

Copied

What sort of database are you using with this app?

Votes

Translate

Translate

Report

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 ,
Nov 28, 2006 Nov 28, 2006

Copy link to clipboard

Copied

MS SQL.

Votes

Translate

Translate

Report

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
Participant ,
Nov 28, 2006 Nov 28, 2006

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

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 ,
Nov 28, 2006 Nov 28, 2006

Copy link to clipboard

Copied

LATEST
Please Use the Code Analyzer there in the CF MX Administrator - If not 100%, it should let you know aba deprecated tags etc. say 75 - 80% accurately.

Thanks.

-Sandy Vohra

Votes

Translate

Translate

Report

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
Documentation