Coldfusion- problems with previewing pages of tutorial

Ask a Question related to Coldfusion - Getting Started, Design and Development.

  1. #1

    Default Coldfusion- problems with previewing pages of tutorial

    Hey,

    I'm a total newbie to Coldfusion (mostly working with Html and flash) and I've
    been following the tutorials for getting started (the tutorial shows how to
    build a simple database driven art gallery). When I go to preview the index.cfm
    file in my browser the following message comes up:

    Element LOCALE is undefined in REQUEST.

    The error occurred in
    C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\Applica tion.cfm: line 1

    1 : <cfif request.locale neq "jp" and request.locale neq "ja">
    2 : <cfset request.locale = "en">
    3 : </cfif>

    Please try the following:

    * 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/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.8)
    Gecko/20050511 Firefox/1.0.4 (ax)
    Remote Address 127.0.0.1
    Referrer
    Date/Time 28-Jul-05 05:01 PM
    Stack Trace
    at
    cfApplication2ecfm287404889.runPage(C:\CFusionMX7\ wwwroot\CFIDE\gettingstarted\A
    pplication.cfm:1)

    coldfusion.runtime.UndefinedElementException: Element LOCALE is undefined in
    REQUEST.
    at coldfusion.runtime.CfJspPage.resolveCanonicalName( CfJspPage.java:1054)
    at coldfusion.runtime.CfJspPage._resolve(CfJspPage.ja va:1031)
    at coldfusion.runtime.CfJspPage._resolveAndAutoscalar ize(CfJspPage.java:1130)
    at
    cfApplication2ecfm287404889.runPage(C:\CFusionMX7\ wwwroot\CFIDE\gettingstarted\A
    pplication.cfm:1)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :152)
    at coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:343)
    at coldfusion.filter.CfincludeFilter.invoke(Cfinclude Filter.java:65)
    at coldfusion.filter.CfincludeFilter.include(Cfinclud eFilter.java:33)
    at coldfusion.filter.ApplicationFilter.invoke(Applica tionFilter.java:157)
    at coldfusion.filter.PathFilter.invoke(PathFilter.jav a:86)
    at coldfusion.filter.ExceptionFilter.invoke(Exception Filter.java:50)
    at
    coldfusion.filter.ClientScopePersistenceFilter.inv oke(ClientScopePersistenceFilt
    er.java:28)
    at coldfusion.filter.BrowserFilter.invoke(BrowserFilt er.java:38)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilt er.java:38)
    at coldfusion.filter.DatasourceFilter.invoke(Datasour ceFilter.java:22)
    at coldfusion.CfmServlet.service(CfmServlet.java:105)
    at coldfusion.bootstrap.BootstrapServlet.service(Boot strapServlet.java:78)
    at jrun.servlet.ServletInvoker.invoke(ServletInvoker. java:91)
    at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvok erChain.java:42)
    at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequ estDispatcher.java:257)
    at jrun.servlet.ServletEngineService.dispatch(Servlet EngineService.java:527)
    at jrun.servlet.http.WebService.invokeRunnable(WebSer vice.java:172)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invok eRunnable(ThreadPool.java:349)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable(ThreadPool.java:457)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeR unnable(ThreadPool.java:295)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java :66)



    Any help would be much appreciated!!

    onoff21 Guest

  2. Similar Questions and Discussions

    1. ColdFusion Tutorial List
      ColdFusion Tutorial List How to use cfsaveconetnt ? User Login Application code documentation Pagination Pagination : Component based...
    2. previewing html problems
      I have question regarding previewing dreamweaver html page in my local browser. I have created several pages with the same look/template. I will...
    3. icons and previewing pages
      :confused; Can someone please help - I guess this is an environment/setup step I have missed - (am sill running Contribute 2) when browsing to...
    4. tutorial regarding coldfusion
      easy to use tutorial might help me. anyone who have?
    5. Tutorial Connecting the Database to ColdFusion
      I just downloaded ColdFusion MX 7 and then Dreamweaver MX 2004. I am attempting to following tutorial "ColdFusion MX 7 Getting Started Experience...
  3. #2

    Default Re: Coldfusion- problems with previewing pages oftutorial

    See [url]http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=b2b97ab3[/url]
    mxstu Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139