Variable GETCSRFTOKEN is undefined in admin after APSB13-13 install

I applied APSB13-13 per the instructions for 9.01 Section 2. The server started properly and sites are functions. The problem is I could not get into the CFAdmin.
Entering the right password just kicked me back to the login screen as if nothing happened. I assumed it was some type of security/session problem.
I disabled the admin password in neo-security.xml and reloaded the admin. This time the admin loaded but the inner frame page for everything in the menu throws the error:
Variable GETCSRFTOKEN is undefined
I took a backup of /CFIDE before appying. I replaced the /CFIDE/administrator directory with the backup, restarted, and the admin works fine again.
According to hackmycf.com all cummulative hot fixeses are installed up to 4 and security fixes up to APSB13-13 (APSB13-13 and APSB13-10 were not installed when I started. Section 2 were the instructions if -10 was not already installed.)
I've done endless file compares between both the backup and updated /CFIDE/administrator directories and there are no missing files or directories other than the ones that should be part of the update. The updated directory shows all the new files that replaced the older one.
What's going on here and how do I fix this so I can get back into the administrator? This is a dev server where I was testing the update but I need to update 4 other identicle production servers and I don't want to get screwed out of admin access.
Thanks!

Thanks for the reply TheRealAgentK
Well after some research and a lot of debugging, I found the problem and thus the solution.
As I said I did this upgrade as per the online docs intructions.
In those it said to copy all the neo*.xml files from the web-inf/cfusion/lib folder from the existing instal.
After installing cf 9 the instructions then said to replace the noe*.xml files with the ones copied from the previous install.
The problem with this is that in cf 9 the sql server driver has a new attribute and thus the neo-drivers.xml file is different than the one in cf 8.
So, this file should not be replaced with the one from the previous version.
Luckily I copied the neo-*.xml files from the new install, so I just copied this file back, restarted the coldfusion service and all is well.
Regards
Ken

Similar Messages

  • Variable SERVERNAME is undefined in CFIDE after applying security patch for APSB09-12

    We attempted to apply the hotfixes available for ColdFusion and JRun released August 17, 2009 on our ColdFusion v8.0.1 and now are not able to connect to the ColdFusion administrator page.
    This is the link to the securty update:
    http://www.adobe.com/support/security/bulletins/apsb09-12.html
    We receive the login screen, enter our user/pass and are then presented with the following error message:
    The web site you are accessing has experienced an unexpected error.
    Please contact the website administrator.
    The following information is meant for the website developer for debugging purposes.
    Error Occurred While Processing Request
    Variable SERVERNAME is undefined.
    The error occurred in index.cfm: line 22
    -1 : Unable to display error's location in a CFML template.
    Resources: 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.2; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
    Remote Address 
    127.0.0.1
    Referrer 
    http://127.0.0.1/CFIDE/administrator/index.cfm
    Date/Time 
    01-Sep-09 04:59 PM
    Stack Trace
    at cfindex2ecfm274406133.runPage(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\index.cfm: 22)                 
    coldfusion.runtime.UndefinedVariableException: Variable SERVERNAME is undefined.
         at coldfusion.runtime.CfJspPage._get(CfJspPage.java:325)
         at coldfusion.runtime.CfJspPage._get(CfJspPage.java:287)
         at coldfusion.runtime.CfJspPage._autoscalarize(CfJspPage.java:1405)
         at cfindex2ecfm274406133.runPage(E:\cf8_final\cfusion\wwwroot\CFIDE\administrator\index.cfm:22)
         at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
         at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
         at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
         at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:288)
         at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48)
         at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
         at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
         at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
         at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
         at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
         at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
         at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
         at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
         at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
         at coldfusion.CfmServlet.service(CfmServlet.java:175)
         at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
         at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
         at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
         at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
         at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
         at jrun.servlet.FilterChain.service(FilterChain.java:101)
         at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
         at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
         at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
         at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
         at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
         at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
         at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    This was caused by the Adobe patch, we removed the patch and applied the newly provided hot fix 3 and that resolved the issue.

  • Variable CFHTTP is undefined

    Hello folks,
    I have a script that uses the CFHTTP tag to send in some XML to a url, which returns a code back to my script.
    01.    <cftry>
    02.        <cfhttp
    03.             url="http://the.url.to.post.to"
    04.             port="443"
    05.             method="post"
    06.             resolveurl="yes"
    07.             throwOnError="Yes"
    08.             timeout="5"
    09.             charset="utf-8">
    10.             <cfhttpparam type="header" name="Accept-Encoding" value="*">
    11.             <cfhttpparam type="Header" name="TE" value="deflate;q=0">
    12.             <cfhttpparam type="formField" name="xmlBody" value="#toString(generateRequestXml)#">
    13.      </cfhttp>
    14.
    15.      <!--- if http request was complete, and "ok" --->
    16.      <cfif structkeyexists(cfhttp,'statuscode') and listfirst("#cfhttp.statuscode#",' ') eq 200>
    17.           <!--- hooray, the http request worked fine --->
    18.           <cfset theVariable = cfhttp.returnedVariable>
    19.
    20.      <!--- else, something went wrong --->
    21.      <cfelse>
    22.           <!--- oh no - something went wrong with the request --->
    23.           <cfthrow />
    24.      </cfif>
    25.
    26.      <cfcatch type="any">
    27.           <cfset logError(cfcatch)>
    28.      </cfcatch>
    29. </cftry>
    Most of the time, the script works fine, except now and then, it throws an error on line 16 saying that "Variable CFHTTP is undefined". It's as if the cfhttp tag has not finished processing in order to create the "CFHTTP" variable. This sounds a bit like the problem that Charlie Arehart blogged a while back about CF not waiting on some elements - or am I just presuming here?
    Anyway - some help would be really useful here, as I'm really scratching my head on this one. I've even tried replicating the error with a CFHTTP url which takes a while to return a response - but no joy.
    Help me Adobe Community - you're my only hope....
    (heh, I just made that up!! - you can use it)
    Cheers,
    Phil

    I don't know if the problem is caused by the CFHTTP tag not being finished yet, although that seems as possible as anything else I guess. If that's the problem, though, you could address this by creating a loop with a condition, then within the loop you could test for the existence of CFHTTP, and if it doesn't exist you could put the thread to sleep for a few milliseconds and check again after that. Once it does exist, you could exit the loop.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/

  • Variable VMARGS is undefined

    Hello,
    i have a coldfusion 8.0.1 multi-instance installation, but one of our 4 instance, from about a week, has a strange behaviour when i click on the "Settings Summary" in the CFIDE administration console.. it start to print out all the summary informations, but when it start to print out the section "Java and JVM" it will throw this error:
    Variable VMARGS is undefined.
    The error occurred inE:\cf8_updates\cfusion\wwwroot\CFIDE\adminapi\runtime.cfc: line 1728
    Called from E:\cf8_updates\cfusion\wwwroot\CFIDE\adminapi\runtime.cfc: line 1222
    Called fromE:\cf8_updates\cfusion\wwwroot\CFIDE\administrator\reports\_report.cfm: line 1121
    Called fromE:\cf8_updates\cfusion\wwwroot\CFIDE\administrator\reports\_report.cfm: line 1102
    Called fromE:\cf8_updates\cfusion\wwwroot\CFIDE\administrator\reports\_report.cfm: line 41
    Called fromE:\cf8_updates\cfusion\wwwroot\CFIDE\administrator\reports\_report.cfm: line 1
    Called from E:\cf8_updates\cfusion\wwwroot\CFIDE\administrator\reports\index.cfm: line 14
    -1 : Unable to display error's location in a CFML template.
    I tried restarting the coldfusion instance but didn't solved.. all the instance have the same patch level (8.0.1 cumulative hotfix 4), jrun4 updater 7, and use the same jdk (1.6.0_15)
    The strange things are that in the others instance, in the setting summary, i don't have a section "Java and JVM", and the paths indicated in the error details "E:\cf8_updates\cfusion\wwwroot\CFIDE\adminapi\runtime.cfc" are not existing.. we are on unix (solaris10), so i don't know where come from this "E:\"
    We already had this problem with another instance, sometimes ago, and we "solved" recreating a new instance and applying again the same settings.. but i prefer to find a solution to this problem instead of recreating a new one again..
    any suggestions is appreciated
    Thanks in advance
    Claudio

    Well, I will just say that I can't see how CB running on the instance can have any impact on the CF Admin running.
    As for the problem, perhaps others will have more thoughts. I myself would want to confirm your conclusion that it's the right CFIDE.
    You could do that a couple of ways. One is to double-check your observations of the configuration, but even then I'd go a step further and do something to prove it's using what you think. One "hack" way would be to rename a file you know you're calling, and confirm you get an error.
    A more sophisticated (less obtrusive) way would be to use the CF Enterprise Server Monitor (since you're running Multiserver mode, which means you have CF Enterprise), since it shows the filenames of the requests that are executed. You'd have to change its settings to allow tracking of the Admin, and then change the slowest requests page to lower the time to 0 seconds. I talk about both things in the 4-part series I did for the Adobe Dev Center on the Server Monitor (starting at http://www.carehart.org/articles/#2007_2).
    You could even go so far (in a situation like this) as to use the CF debugger, to watch the flow of execution through pages, but that would be overkill to try to setup just for this particular problem if you don't already use it. (Also, most of the CF admin files are precompiled, so you can't see the CFML source and debug them anyway.)
    There are a lot of other things we could try to suggest. It may involve a lot of back and forth, and sometimes trying to resolve such a problem over email this way can be tedious.
    It may be one of those situations where it would be in your interest to bring someone in to remotely assist (over the web, using Adobe Connect--no firewall issues, no need to allocate a remote desktop account.) I provide such services, as do others, as I list in a category of my CF411 site: http://www.cf411.com/#cfassist. It might take someone experienced with evaluating such problems only 10-20 minutes to better understand and resolve the problem. I don't myself impose any minimum time requirement, and I also offer a satisfaction guarantee. More at the URL below. Hope that's helpful.
    /charlie arehart
    [email protected]
    Providing fast, remote, on-demand troubleshooting services for CF (and CFBuilder)
    More at http://www.carehart.org/consulting

  • Variable siteURI is undefined.

    In CPS, am getting this error message when I select Website Settings - Variable siteURI is undefined. After I click OK on that error message, no websites are listed in the dropdown box, and I cannot show any log files.  Other than this, all Contribute users are able to Edit and Publish files without issue, indicating that CPS is functioning normally.
    Following is an excerpt from the Notification Server Error Log file:
    2011-20-07 13:37:20: "error"- site092638 Approval: Element SETTINGS.GENERAL.SITEURL is undefined in THIS.  (line 477 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\Site.cfc)
      2011-20-07 13:37:20: "error"- Variable siteURI is undefined.  (line 70 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\SiteManage r.cfc)
      2011-20-07 13:37:20: "error"- site173752 Approval: Element SETTINGS.GENERAL.SITEURL is undefined in THIS.  (line 477 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\Site.cfc)
      2011-20-07 13:37:20: "error"- Variable siteURI is undefined.  (line 70 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\SiteManage r.cfc)
      2011-20-07 13:37:20: "error"- site319804 Approval: Element SETTINGS.GENERAL.SITEURL is undefined in THIS.  (line 477 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\Site.cfc)
      2011-20-07 13:37:20: "error"- Variable siteURI is undefined.  (line 70 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\SiteManage r.cfc)
      2011-20-07 13:37:20: "error"- site417731 Approval: Element SETTINGS.GENERAL.SITEURL is undefined in THIS.  (line 477 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\Site.cfc)
      2011-20-07 13:37:20: "error"- Variable siteURI is undefined.  (line 70 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\SiteManage r.cfc)
      2011-20-07 13:37:20: "error"- site652742 Approval: Element SETTINGS.GENERAL.SITEURL is undefined in THIS.  (line 477 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\Site.cfc)
      2011-20-07 13:37:20: "error"- Variable siteURI is undefined.  (line 70 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\SiteManage r.cfc)
      2011-20-07 13:37:20: "error"- site687219 Approval: Element SETTINGS.GENERAL.SITEURL is undefined in THIS.  (line 477 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\Site.cfc)
      2011-20-07 13:37:20: "error"- Variable siteURI is undefined.  (line 70 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\SiteManage r.cfc)
      2011-20-07 13:37:20: "error"- site725752 Approval: Element SETTINGS.GENERAL.SITEURL is undefined in THIS.  (line 477 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\Site.cfc)
      2011-20-07 13:37:20: "error"- Variable siteURI is undefined.  (line 70 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\SiteManage r.cfc)
      2011-20-07 13:37:20: "error"- Error in AdminService operation getSitesListXML: Variable URI is undefined.  (line 38 in D:\depot\contribute\3.10\ServerApps\build_temp\stage\WEB-INF\pubservices\cflib\Utils.cfc)

    It can be mostly due to any one of following reasons:-
    It is missed to be defined in code.
    This global variable may not be accessible.
    Page defining it is missing.
    Page defining it may not be accessible due to slow server performance issue.

  • Unable to login to apex as admin after apparent successful installation

    I am unable to login to apex as admin after an apparent successful installation.
    I have an existing Oracle database 11.2.0.1.0 with Oracle Text running on Windows 7 Professional with hundreds of gigabytes of free disk space available. I did everything as an operating system user with administrator privileges. I downloaded the latest version of apex 4.0.2 for all languages, unzipped the downloaded zip file, extracting all files to an apex directory. I changed the working directory to apex and started sql*plus, connected sys as sysdba, ran apexins.sql installation, apex_epg_config.sql and apexconf.sql configuration, apexchpwd.sql to change the admin password, and apxldimg.sql to copy the images, and exec dbms_xdb.sethttpport(8080), unlocked accounts, and granted connect privileges.
    The installation log did not show any errors and included:
    "Thank you for installing Oracle Application Express.
    Oracle Application Express is installed in the APEX_040000 schema.
    The structure of the link to the Application Express administration services is as follows:
    http://host:port/pls/apex/apex_admin (Oracle HTTP Server with mod_plsql)
    http://host:port/apex/apex_admin (Oracle XML DB HTTP listener with the embedded PL/SQL gateway)
    The structure of the link to the Application Express development interface is as follows:
    http://host:port/pls/apex (Oracle HTTP Server with mod_plsql)
    http://host:port/apex (Oracle XML DB HTTP listener with the embedded PL/SQL gateway)
    JOB_QUEUE_PROCESSES: 1000"
    When I use either browser, Firefox 3.6.12 or Internet Explorer 8.0, and go to http://localhost:8080/apex/apex_admin I get a screen that says:
    "Enter Application Express internal administration credentials"
    and has boxes for a username and password. When I enter admin and the admin_password that I selected, then click on login nothing happens. I don't get logged in. I don't get an error message. It does not show any signs of anything running. It just sits there. I also don't get any messages from Windows or Norton 360 indicating that a pop-up window was blocked or any such thing. I checked that the services are running and also tried shutting down the computer and re-starting (cold boot), but was still unable to login.
    I am a retired developer, not a DBA, so if there is anything else that I should do or check or provide, then please let me know. I have provided a copy and paste of everything that I could think of below. Oddly I don't see an admin user.
    SQL> select * from v$version
      2  /
    BANNER                                                                         
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production   
    PL/SQL Release 11.2.0.1.0 - Production                                         
    CORE     11.2.0.1.0     Production                                                     
    TNS for 64-bit Windows: Version 11.2.0.1.0 - Production                        
    NLSRTL Version 11.2.0.1.0 - Production                                         
    SQL> select status from dba_registry where comp_id = 'APEX'
      2  /
    STATUS                                                                         
    VALID                                                                          
    SQL> select username, account_status
      2  from   dba_users
      3  where  username = 'ANONYMOUS'
      4  or     username like 'APEX%'
      5  or     upper (username) = 'ADMIN'
      6  order  by username
      7  /
    USERNAME                       ACCOUNT_STATUS                                  
    ANONYMOUS                      EXPIRED                                         
    APEX_030200                    EXPIRED                                         
    APEX_040000                    OPEN                                            
    APEX_PUBLIC_USER               OPEN                                            
    SQL> select dbms_xdb.gethttpport from dual
      2  /
    GETHTTPPORT                                                                    
           8080                                                                    
    SQL> select owa_util.get_version from dual
      2  /
    GET_VERSION                                                                    
    10.1.2.0.8                                                                     
    SQL> show parameter memory_target
    NAME                                 TYPE        VALUE                         
    memory_target                        big integer 1536M                         
    SQL>

    Are you sure you did give right path to script ? Yes.
    >
    If you extract files to folder c:\temp, you have after that folder c:\temp\apex and bunch of sub folders.
    For script to update images, you give path to folder where you did extract apex install files.
    In above case that is then c:\temp .
    >I created a directory c:\apex on my laptop. I downloaded the zip file to that directory. When I extracted the files to folder c:\apex, the result was c:\apex\apex with a bunch of sub folders and files. When I ran the script, I gave the path c:\apex as indicated in my copy and paste. So, I did everything the same as in the quote above, except that I used apex instead of temp.
    Try extract Apex install zip to c:\temp and give c:\temp as path for scriptAre you suggesting that I redo the entire installation using c:\temp instead of c:\apex? What difference would that make? Would I need to do some sort of uninstall first?

  • Error: Variable QUERYTT is undefined.

    Hello i ahve this error on the application.
    Variable QUERYTT is undefined.
    The specific sequence of files included or processed is:
    Z:\dev\HD\dsp_TCQ.cfm, line: 136
    i then checked the line 136 and found
    <td width="50%"><font face="Verdana, Arial,
    Helvetica, sans-serif" color="006666"
    point-size="12"><b>#QUERYTT
    #</b></font></td>
    its suppose to be there.
    just wanted to know.
    i have copied (NOT CUT) all files in that directory to a
    different drive as a back up.
    could this be a problem. JUST A COPY AND PASTE.
    help
    thanks

    Is your "QUERYTT" variable declaration inside any IF
    statement. If the IF condition will not get satisfied the you will
    get the variable as undefined.
    This may not be the exact reason. But you can check.
    Thanks

  • Variable HEADER is undefined

    Hello,
    Getting an error when sending a draft for review in CPS
    Files involved
    index.cfm calls <cfinclude template="#header#">
    located in application.cfm
    application.cfm calls <cfparam name="Header"
    default="header.htm">
    header.htm contains header info
    When I click "send for review "the draft process will load
    however it displays the following. Of course I could resolve the
    issue by placing the header and application files in
    D:\website\htdocs\MMWIP\ but I have hundreds of headers for
    different subsites. Does anyone know why this is not working or how
    I could resolve it. Thank you for your time.
    "Variable HEADER is undefined.
    The error occurred in
    D:\website\htdocs\MMWIP\1d1b9120930c0cc0\dbc8a513baa56a79.cfm: line
    18
    16 :
    17 : <!--- Display header file from main folder, set in
    application file. loop through folder path and if there is a
    subheader file display by replacing extra data in path and add to
    file name--->
    18 : <cfinclude template="#header#">
    19 : <cfoutput>
    20 : <cfset varpath=#Left(Main,Len(Main)-1)#>

    It can be mostly due to any one of following reasons:-
    It is missed to be defined in code.
    This global variable may not be accessible.
    Page defining it is missing.
    Page defining it may not be accessible due to slow server performance issue.

  • Variable DRIVERPATH is undefined Error

    I have just installed coldfusion mx 6.1 developer edition on
    vista ultimate. The installation went fine.
    However i get an error when adding a datasource in access or
    verifying all connections.
    On adding the datasource, i get the following error.
    Unable to update the NT registry.
    Variable DRIVERPATH is undefined.
    Is it because of vista incompability?

    @jimmoos
    Your solution is clean and works! No messing around with registry entries.
    I have x64 Windows 7. I took myself backwards and was able to reinstall my ColdFusion MX 6.1 software. It was also my first time to use the  "ODBC Socket driver" option. Upto this point I had always used the other drivers (native ones)
    Thx buddy

  • Variable SRUCTNEW is undefined?!?

    Hello, we recently upgraded to CF9.  One of the new features I want to play with is CFSPREADSHEET.
    In working with the sample code I have found (here and elsewhere), most work fine.  But certain functions return a "Variable XXXX is undefined" error.
    I am pretty sure this may be an install issue or a settings issue, but I can't find any resource on the web.  Here is a basic code snipet that simply errors out on the STRUCNEW line:
    <cfscript>
        ///Set the file name
        theFile="#BaseRoot#files\FailureReportingAudit.xls";
        //Create a new Excel spreadsheet object and add test data.
        theSheet = SpreadsheetNew("CourseData");
       SpreadsheetAddRow(theSheet,"test, test1",1);
        // Define a format for the column.
        format1=SructNew() ;
        format1.font="Courier";
        format1.fontsize="10";
        format1.color="dark_blue;";
        format1.italic="true";
        format1.bold="true";
        format1.alignment="left";
        SpreadsheetFormatCellRange(theSheet,format1, 3,4,30,10);
    </cfscript>
    You can see the error for itself at: https://www.calcerts.com/_WTF_cfscript.cfm
    If I comment out the code starting at StructNew all the way to the end of the cfscript, I receive no error and the XLS file is created, no problem.  But when I try and create a structure so I can format it I get an error.
    Another interesting note, if I try to do the "SpreadsheetFormatCellRange" function manually (no format1 structure), I get a "Variable SPREADSHEETFORMATCELLRANGE is undefined"
    So basically some (not all or even most) functions are not "defined"....

    Thanks Dan,
    OMG, I can't beleive I simply mispelled the word.....
    Anyways, shame on Adobe for having sample script with typos, shame on me for not noticing it.
    HOWEVER
    that does not resolve the entire issue.  JMF provided a workaround for that error.  But for some reason
    SpreadsheetFormatCellRange(theSheet,format1, 3,4,30,10);
    is stopping at "SpreadsheetFormatCellRange"
    Any idea why that function is not defined?  Did I not spell that one correctly?

  • Variable REPORTQUERY is undefined.

    <cfstoredproc datasource="MyDSN" procedure = "MySP">
         <cfprocparam value = "1" CFSQLTYPE = "cf_sql_numeric">
    </cfstoredproc>
    for my report query using a stored procedure need parameter.
    I got Variable REPORTQUERY is undefined.
    I notice that the default name for query report is ReportQuery, but CFSTOREDPROC  doex not have name property.
    I am not sure how I can assign the variable using a stored procedure.
    Your help and information is great appreciated,
    Regards,
    Iccsi,

    it works if I use CFQUERY,
    since CFQUERY can be named and can have execute stored procedure syntax,
    Regards,
    Iccsi,

  • Variable DRIVERPATH is undefined

    I'm running Windows Vista Ultimate with IIS 7. When I attempt
    to add a datasource as I always have I get the error. 'Unable to
    update the NT registry. Variable DRIVERPATH is undefined'. If you
    use the Windows ODBC tool to add your datasource everything works
    fine. You still need to attempt to add the datasource in cfadmin
    for it to show up on the list. When you verify it, it works.

    I am also experiencing the same error message on Vista Home
    Premium. Any help would be very much appreciated!

  • Variable MESSAGECFID is undefined.

    Hi Everyone,
    I developed a site long time ago in Coldfusion MX. I am trying Coldfusion 8 with 30 days trial. I am constantly getting an error message
    "Variable MESSAGECFID is undefined. " on one of my file (attached : community.cfm) where I never use to got this message in MX server. Is it
    something to do with my codes or do I have to set something in Coldfusion 8 server? I have used MS Acess database for this site. Can someone
    please help me with this?

    Hi Adam,
    Thanks for the reply. I am at work at the moment and will try to look at line 90 when I get home. I think changing "where messagecfid = #messagecfid#"
    to
    "where messagecfid = #messages.messagecfid# " might resolve the problem.
    I have attached a message as requested.
    If you find anything else, please do let me know.
    Thanks
    Faizy

  • Variable ID is undefined. Setting ?id to none

    Hi,
    I need to set me variables so that when i go to the index.cfm
    page the index page diplays. Currently I get this error " Variable
    ID is undefined." because I have not defined the variable in the
    URL. I want an include file to be displayed in the index.cfm page
    when index.cfm?id=saex is called.
    Does anyone know how to have these variables in CF and still
    able me to display just the index.cfm file. Hope I explained myself
    well.
    Thanks for your help.
    Luc
    <cfif id IS 'home' >
    <cfset url = "test.html">
    </cfif>
    <cfif id IS 'saex' >
    <cfset url = "sa-explorer.html">
    </cfif>
    <cfif id IS 'ckscope' >
    <cfset url = "cape-kscope.html">
    </cfif>

    Hi,
    You might like to grab a few books on ColdFusion and have a
    read of them, or have a look through
    >> LiveDocs
    << to get a better understanding of how to build
    ColdFusion apps.
    Here's an example of how you might set things up:

  • Variable LNAME is Undefined

    Hi. I have these 2 pieces of code, and when I run the page, I keep getting VARIABLE LNAME IS UNDEFINED. Can someone please help? Thanks!
    <cfquery name="TeacherFN" datasource="AITE_Test_System">
         SELECT Lname, Fname
        FROM dbo.[Teachers]
        WHERE AD_Username = '#FORM.TeacherAD_Username#'
    </cfquery>
    <cfquery name="ClassEdit" datasource="AITE_Test_System">
    <cfif #FORM.EditMode# IS "AddClass">
         INSERT INTO dbo.[Classes] (Class_Name, Teacher_lname, Teacher_fname, Teacher_AD_Username, Period) VALUES ('#FORM.ClassName#', '#Lname#', '#Fname#', '#FORM.TeacherAD_Username#', '#FORM.Period#')
    <cfelseif #FORM.EditMode# IS "EditClass">
         UPDATE
    <cfelseif #FORM.EditMode# IS "DeleteClass">
         DELETE FROM dbo.[Classes] WHERE Fname='#Fname#' AND LName='#Lname#' AND AD_Username='#FORM.AD_Username#'
    </cfif>
    </cfquery>
    I am running this with #FORM.EditMode# IS "AddClass">

    Please try this
    INSERT INTO dbo.[Classes] (Class_Name
    , Teacher_lname
    , Teacher_fname
    , Teacher_AD_Username
    , Period) VALUES ('#FORM.ClassName#', '#TeacherFN.Lname#', '#TeacherFN.Fname#', '#FORM.TeacherAD_Username#', '#FORM.Period#')

Maybe you are looking for

  • Can you force through a report to display Scaling Factor

    If the person who has built a query has not selected to show the Scaling Factor (within the properties of the query) Is there any way (through table interfaces or through the web template) to change this on a temporary basis. Basically we have hundre

  • Horizontal scroll

    Hi, I´m building a centered contents website with an horizontal scroll of images, but i got stuck on some problems: 1. How can i make the end images stop scrolling in the centre? 2. On the horizontal scroll of images, how can i make it possible to cl

  • Metrics "Database Time Spent Waiting (%)" is at ... for event class "Commit

    Hi guys I'm getting this warning every 20 minutes from Enterprise Manager 10g: Metrics "Database Time Spent Waiting (%)" is at 67.62891 for event class "Commit". My database is an Oracle 10g 10.2.0.4 (Linux x84_64) with dataguard, one physical and on

  • Is there any way to edit something in Premiere Pro if the (original) file is Windows Moviemaker?

    Hi! I always work with Premiere Pro CS6. A friend just asked to do a final edit (and export) of her video. But... she worked with Windows Moviemaker. Is there any way I can change or convert this file so that I can do the final edit in Premiere?

  • Using Quicktime to Play AVI files

    My Canon PowerShot creates AVI movie files. These play fine on my mac through iPhoto. I then drag them to my desktop so that I can attach them to an email. When I email them to family who also have macs (who are on 10.4.2) with QuickTime, they are un