From CF5 to 6.1 or 7

My site is currently running on CF5.
I am switching hosts & can choose to be on 6.1 or 7.
Is there any changes I should be aware of in code for these
new versions?
Since 7 is newest, also wandered if there might be bugs for
that one.
Advice is helpful. Thanks.
Have read on here that 6.1 like to hang or lock up in higher
traffic?
Is 7 the only one that can create a pdf to print?
Is there differences in some code from cf5 to these?

I have switched to a new hosting provider with 7.0.
But now that site is uploaded to new place, I now have a
problem with part of my cart.
There is a query that has an error.
<cfquery name="TransferCart" datasource="#myDS#">
INSERT INTO Mem_Cart
(OrderID,Mid,Title,Track,Location,ExpireDate,Active,CFid)
VALUES (
#getorderid.OrderID#,#check.Mid#,'#Replace(session.cart[loopcount][5],"'","
","ALL")#',
'#Replace(session.cart[loopcount][1],"'"," ","ALL")#',
'#session.cart[loopcount][6]#',
'#getorderid.ExpireDate#',
1,
'#session.CFID#'
) </cfquery>
The error now is :
Error Executing Database Query. [Macromedia][SequeLink JDBC
Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Data
type mismatch in criteria expression. <br>The error occurred
on line 47.
The database tables are:
OrderID - Number | Mid - Number | Title - Memo | Track - Memo
| Location - Memo | ExpireDate - Date/Time | Active - Number | CFid
- Text
Why and where is the problem?
Worked smooth at old place, now I have problem.
If I change the database, I need to change other pages as
well..which would be a pain.
Why the problem on 7.0?

Similar Messages

  • UTF issue when moving from cf5 to cfmx7

    It's been long overdue so am moving from CF5 to cfmx7 on my hosting account.
    The issue is that my hosting account has disabled cfcontent.
    I am getting gibberish outputting utf data from my database. It works fine on cf5 but on cfmx7 I read someplace that you have to use cfcontent to output utf-8 correctly.
    Is there any work around without having to use cfcontent?
    I tried using cfprocessingdirective and cfheader tags to show utf but it didn't work. Any pointers or suggestions appreciated.
    Best Regards
    Sanman

    ok, since it's "N" you should be good to go with transferring the data (it's
    actually pretty simple). in cf5, write a page that does a simple query against
    the table(s) containing your data, i guess just select TOP 100 or so rows with
    the PK & the nText columns. simply output that query using a delimiter that you
    can parse easily (commas between columns & quotes for the nText would be my
    default choices). have a look at the output to make sure it's readable. if all's
    well, on the cf7 (or whatever) box do a cfhttp call to that cf5 page & dump out
    the cfhttp.fileContent or result if you use that. if it's still readable, then
    you can do the real xfer by:
    - backing up the original table
    - double checking that the backup is ok
    - triple checking that the backup is ok
    - adding another table w/just PK & nText columns
    - filling that with the properly encoded data
    - then do a join UPDATE against the old table

  • Upgrading from CF5 to CF7

    We're running an eCommerce app on the server, and would
    rather not down it for hours if possible. Tried running 5 and 7
    concurrently on a dev server, and it was nasty. How about upgrading
    5 to 6, then 6 to 7? Or must I down the server, uninstall 5, then
    install 7?
    Thanks for any suggestions

    I wouldn't bother 'upgrading'. I say fully deisntall CF5,
    reboot, install CF7, reboot, set up datasources, etc, you're in
    business.
    But FIRST create a copy of the live environement on similar
    hardware and try it out there first.

  • Select * for multiple tables in cfquery does not work anymore as it used to with CF5

    I am migrating from CF5. the following code used to work:
    SELECT *
    FROM tablea a, tableb b
    where a.id =b.id
    now I get an error when getting the value of ID (error:
    queryname.ID undefined). I suspect the * is the problem and is not
    permitted in that format with CF 7.
    Any help will be appreciated
    Thanks

    cfdump is, for the most part, a debugging tool which allows
    you to look at varialbes and their values at various points of the
    template. Rarely would you want to let real users see that sort of
    output.
    I'd be suspicious if adding cfdump, and nothing else solved
    the problem. I also wouldn't rely on it as a permanent solution.
    Using select * for a query against more than one table is still
    "sloppy" code and cold fusion tends be less forgiving of sloppy
    code with each upgrade.
    In case you were wondering, it's "sloppy" because it brings
    back more data than you need. You will never need the joining
    fields twice.

  • Upgrading from CF 5 to latest version

    We are looking to upgrade our existing CF server from CF5 to the latest version. I found some system requirements on the website, but I’m not sure of the version required and a few other things.
    Our current set up is as follows:
    •OS: Windows Server 2000 SP4
    •Processor: 2.4 Ghz Intel Xeon
    •RAM: 3.14 GB
    •C Drive: 10 GB
    •D Drive: 30 GB
    •CF Version: CF5
    The questions I have are:
    1.What version of CF would we need to run our application? We have CF installed on a DEV server and a PROD server (both with the same specs as mentioned above).
    2.What is the price of the suggested version?
    3.Are there version steps that we much take to upgrade to the latest version or should we just start with a fresh install of the newest version?
    4.Can support be provided to configure the new version on our new server once we get it installed? Is there a price or is it rolled into the version’s cost?
    Any help or information would be greatly appreciated.
    Thanks

    The default of the pref network.http.max-connections has been increased from 30 to 256 in Firefox 6+ versions.
    Try to decrease the value of the pref <b>network.http.max-connections</b> from 256 to 30 as used in Firefox 3 versions.
    *https://support.mozilla.com/kb/Firefox+never+finishes+loading+certain+websites
    See also:
    *http://blog.bonardo.net/2011/09/30/is-your-firefor-freezing-at-regular-intervals
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

  • Problem with QofQ and Null Values

    Just converted from CF5 to CF7. Finally figured out what was
    causing the error message :
    "The value "" cannot be converted to a number" when running a
    QofQ. It happens whenever there is a NULL (and I think a ZERO)
    value in the QofQ. I'm using the QofQ in a seperate chart program.
    The main query merges data from a store and a region table.
    I'm doing a LEFT OUTER JOIN to combine the REGION with the STORE,
    AND so that stores with NO SALES for a given day will show up as
    ZERO. On the main report, when I don't use a QofQWhen grouping by
    DAY or MONTH, I can test the value in the CFOUTPUT for NULL or ZERO
    and display "0" or "N/A" on the report.
    But when I try to chart it, using a QofQ to read in the
    values from the main query, and format the numbers, I get this
    error message. I've tried using the CAST function, using FLOAT,
    DOUBLE, BIGINT, etc., but still get same error message.
    The only way I could fix this is to add a WHERE statement to
    the QofQ, that only includes sales values greater than ZERO. But
    then, I have gaps in my chart because stores with NO SALES for a
    given day or MONTH don't appear. Because they are removed from the
    query. The whole point of LEFT JOINS is to include items with no
    values (or NULL) values.
    Does anyone know if it's possible to keep these values in a
    QofQ? So that items (e.g., store locations in my case) with NULL or
    ZERO values for some or all days or months can be charted? Even
    with a ZERO value? I've read everything I can get my hands on
    regarding QofQ, the CAST function, etc., but nothing seems to work.
    Thanks for any help. (FYI, didn't have this problem with CF5. It's
    QofQ could handle NULL or ZERO values without providing an error).
    Gary

    Well, I tried the IsNull function on the 3 SUM() values I was
    calculating in my SELECT statement (on a LEFT OUTER JOIN QUERY),
    and I STILL got another "cannot convert "" to a number" but this
    time the error message was more direct, and pointed me to a DATE
    field in my query, where I was SORTING AND GROUPING either by DAY
    or MONTH (depending on what user selected on form).
    In my QofQ, I'm not just reformating the integer SUM()
    values, but also the date values. So, I applied the IsNull()
    function to the DATE values in my main query. I still kept getting
    errors. But after experimenting ((SQL Server BOL docs doesn't give
    ISNULL() examples for DATE FIELDS, only NUMBER fields), I tried
    putting the dates in SINGLE QUOTES in my IsNull() function, the
    QUERY RAN. Then I wasn't sure WHAT date to enter, e.g., 1/1/1889 or
    1/1/2001, etc.
    Then, I discovered, after experimenting, that you cannot just
    blindly enter ANY date when using IsNull in a date field,
    especially if you are using CFGRAPH to chart the results by day.
    You have to select a date within the date range the user selected,
    so this means using the FORM.DATE (or URL.DATE) value from the
    form. Here's the working example from my SELECT main query:
    SELECT SUM(ISNULL(d.ttldb,0)) AS SumOfDB,
    SUM(ISNULL(d.ttldbv,0)) AS SumOfDBV,
    SUM(ISNULL(d.ttldbi,0)) AS SumOfDBI,
    <CFIF '#url.reptype#' IS "DAILY">
    ISNULL(d.depday, '#url.date1#') AS depday
    <CFELSE>
    month(ISNULL(d.depday, '#url.date2#')) AS TranMonth,
    year(ISNULL(d.depday, '#url.date2#')) AS TranYear
    </CFIF>
    Then I discovered that whatever date was used in the URL.DATE
    field (in my case it would be one of the two date field from the
    form, and depended on whether you coded DATE1 or DATE2, the chart
    would always show ZERO values for that date. So I tried putting the
    IsNull() date values in the GROUP BY and ORDER BY statements, e.g.,
    <CFIF '#url.reptype#' IS "DAILY">
    GROUP BY ISNULL(d.depday, '#url.date1#')
    ORDER BY ISNULL(d.depday, '#url.date1#') DESC
    <CFELSE>
    GROUP BY year(ISNULL(d.depday, '#url.date2#')),
    month(ISNULL(d.depday, '#url.date2#'))
    ORDER BY year(ISNULL(d.depday, '#url.date2#')),
    month(ISNULL(d.depday, '#url.date2#'))
    </CFIF>
    And this worked. The report ran just fine, and the chart
    charted every value correctly.
    I guess you have to learn all the little "quirks" about CF7
    and how it's QofQ and chart programs work. But so far, so good.
    Thank you all for your help. Now I've got to update other old
    CF5 programs that are returning errors when there are null values
    from my LEFT OUTER JOIN queries. Will take some time, but at least
    I know how to do it. Thanks to your help.
    I really appreciate your time and efforts to help with this
    issue.
    Gary

  • Characters such as apostrophes and smart quotes turning into boxes or question marks

    We recently upgraded from CF5 to CF7 and are having a problem
    with previously saved text that no longer displays correctly. Some
    characters (apparently, non-ASCII characters such as curly
    apostrophes and smart quotes) are rendering as boxes or question
    marks. We recently upgraded to Oracle 10g from Oracle 8i, but this
    problem appears to be independent of the database that the text is
    stored in. Here is sample code that will illustrate the problem:
    <CFSET string1="Department’s">
    <CFSET string2="hey—there">
    <CFOUTPUT>
    string1 is #string1#
    <BR>
    string2 is #string2#
    </CFOUTPUT>
    output looks like this:
    string1 is Department?s
    string2 is hey?there
    These are rendered as boxes when viewed in Internet Explorer.
    (They show up as question marks when I copy and paste them here.)
    The Demoronize UDF helps *some* of the time, but this is
    still happening with a lot of text, especially text that gets
    pasted from a website into a form, then saved to a database. Does
    anybody have a solution for this? This is breaking my applications
    and is incredibly annoying. I'd like to either replace the
    problematic characters at the time they are displayed, or replace
    them when they are input in the database in the first place (and go
    back and update all the previously saved data to replace the
    problematic characters with plain text equivalents).
    Any suggestions appreciated.

    I finally isolated the problematic characters so I edited the
    DeMoronize UDF (available at cflib.org) by adding the following
    text replacements at the bottom:
    text = Replace(text, chr(8208), "-", "ALL");
    text = Replace(text, chr(8209), "-", "ALL");
    text = Replace(text, chr(8210), "&ndash;", "ALL");
    text = Replace(text, chr(8211), "&ndash;", "ALL");
    text = Replace(text, chr(8212), "&mdash;", "ALL");
    text = Replace(text, chr(8213), "&mdash;", "ALL");
    text = Replace(text, chr(8214), "||", "ALL");
    text = Replace(text, chr(8215), "_", "ALL");
    text = Replace(text, chr(8216), "&lsquo;", "ALL");
    text = Replace(text, chr(8217), "&rsquo;", "ALL");
    text = Replace(text, chr(8218), ",", "ALL");
    text = Replace(text, chr(8219), "'", "ALL");
    text = Replace(text, chr(8220), "&ldquo;", "ALL");
    text = Replace(text, chr(8221), "&rdquo;", "ALL");
    text = Replace(text, chr(8222), """", "ALL");
    text = Replace(text, chr(8223), """", "ALL");
    text = Replace(text, chr(8226), "&middot;", "ALL");
    text = Replace(text, chr(8227), "&gt;", "ALL");
    text = Replace(text, chr(8228), ".", "ALL");
    text = Replace(text, chr(8229), "..", "ALL");
    text = Replace(text, chr(8230), "...", "ALL");
    text = Replace(text, chr(8231), "&middot;",
    "ALL");

  • MX7 Admin problem - ODBC

    Yesterday, our SQL 2005 database server crashed so I moved the databases to an alternate database server.  But the Coldfusion Admin website just hung and I could not access it.  So, I took the IP address that was on the the crashed server and added that IP to the database server where I moved the databases, and the Admin screens came up and I can login.
    I started to edit the ODBC connections in the Admin screen.  I started to change the IP address to the primary IP on that server, and change the SQL username to a different username, but I hit cancel on that change.
    The databases are restored on the new server with the same username & password that they had on the old server, and the IP address from the old server has been added to the new server.  The websites are now up and running just fine.  From the web server, I can use the Windows ODBC function to successfully test the database connections using the IP address, user & password that are setup in the Coldfusion Admin. 
    That's the long story, here is my issue.  Now, I can log in the the Admin website and click to all the pages; Coldfusion Settings, Mail, etc.  But when I click on the Data Source link, that page just hangs.
    I checked the ...\lib\neo-query.xml file and that still has the original IP address and username, as if my canelled changes were, in fact, not saved.
    Any clue why the Data Source linkhangs and I can no longer access that page ?
    I appreciate any help...
    Joe Voelker

    Joe, this is curious. I can't see why the CF admin page for DSNs would hang, regardless of the settings for any DB, other than perhaps when you "verify" a DSN (which is also done when you add a dsn). But you're saying it hangs when you open the page. That's very surprising.
    Anyway, as for your observation of the xml file, in that you think it may be the solution, you could edit the file manually--but note that you do need to stop CF, then edit it, then start it, to ensure that your change is loaded (and not overridden by CF itself before or during its shutdown).
    Finally, as for using ODBC, I'm curious: my not use the built-in SQL Server JDBC database type? I no longer have a CF7 install on which to test, but is that an option, even if you may be using CF Standard? I just find that many folks who moved from CF5 or earlier used ODBC then and didn't change things once they moved past CF6 and its available JDBC driver alternatives. If the option is there, it may be worth a try for you.
    Then again, I can't recall if CF7's SQL Server drivers supported SQL Server 2005. I will note that Adobe came out with a technote for CF 6, though, that showed how to add the driver which could be obtained from MS directly: http://kb2.adobe.com/cps/421/ded4216b.html. (I'll note that since that was written, MS came out with a 1.1 update for their driver, pointed to at the bottom of the page the Adobe technote links to.)
    Let us know if any of this helps.
    /charlie

  • The collection you specified does not exists or is not registered with the ColdFusion Search Service.

    While upgrading to CF7 from CF5, I am creating the new collections from Cf Admin. After creating, I indexed it from cf admin and then trying to search for the documents in that collection, and i am getting the following error. This was working yesterday. I have cheched the logs etc and nothing seems helpful in discovering what the issue is.
    Document count is 11,745 and the size is 25,948 kb, which is not too much for a collection. I have tried to restart Cold Fusion Search Services and then ColdFusion Application services, but all in vain.
    Any help on this would be greatly appreciated.
    Detail
    The collection you specified does not exists or is not registered with the ColdFusion Search Service.
    Message
    The collection rc_collectiom does not exist.
    StackTrace
    coldfusion.tagext.search.CollectionDoesNotExistException: The collection rc_collectiom does not exist. at coldfusion.tagext.search.SearchTag.verifyLocale(SearchTag.java:819) at coldfusion.tagext.search.SearchTag.doSearch(SearchTag.java:200) at coldfusion.tagext.search.SearchTag.doStartTag(SearchTag.java:159) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfeFull2dText2dReDirect2ecfm511389924.runPage(C:\Inetpub\wwwroot\External\FullText\eFull- Text-ReDirect.cfm:43) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349) at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915) at cfApplication2ecfc179940445$funcONREQUEST.runFunction(C:\Inetpub\wwwroot\External\Applica tion.cfc:114) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:344) at coldfusion.runtime.UDFMethod$ReturnTypeFilter.invoke(UDFMethod.java:290) at coldfusion.runtime.UDFMethod$ArgumentCollectionFilter.invoke(UDFMethod.java:254) at coldfusion.filter.FunctionAccessFilter.invoke(FunctionAccessFilter.java:56) at coldfusion.runtime.UDFMethod.runFilterChain(UDFMethod.java:207) at coldfusion.runtime.UDFMethod.invoke(UDFMethod.java:169) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:194) at coldfusion.runtime.TemplateProxy.invoke(TemplateProxy.java:146) at coldfusion.runtime.AppEventInvoker.invoke(AppEventInvoker.java:72) at coldfusion.runtime.AppEventInvoker.onRequest(AppEventInvoker.java:178) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:215) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51) at coldfusion.filter.PathFilter.invoke(PathFilter.java:86) at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69) at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:2 8) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:115) at coldfusion.CfmServlet.service(CfmServlet.java:107) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:318) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:264) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

    So at last I figured this out myself and found a temporary resolution for this kind of problem. Majority of the times try creating the Collection through Cfcollection tag and then index it using cfindex tag, rather than performing these operations from the Cold Fusion 7 administrator.
    The only reason I can think of which might have caused the issue is – I have thousands of documents in the collection which I indexed. So while indexing the page gets expired. So I tried again to index it. This time the collection got indexed fairly quickly and I got the response that the collection has been indexed successfully. So for the first time when I tried to index the collection, there might be some piece of code, which did not register the collection properly and hence giving this error.
    When I did the same function using the code, with exactly same set of documents, it did not throw any error, even when I executed it for the first time. So the collection indexed properly.
    I am not claiming that technically this theory is correct, but this seems to be the problem.
    If someone knows technically what has happened at the back, please share it. For the time being, this is the fix – if you experience any problem in creating/indexing collections through cfadmin in CF7, do it thorough code.

  • CFMX7 and Local SQL Server Connections

    I recently upgraded from CF5 to CFMX7. All went well, but I
    am now not able to access SQL Server DBs on the local Machine.
    When I Verify the Datasource via CF Admin, I am getting the
    following error.
    Connection verification failed for data source: lo_db_laptop
    java.sql.SQLException: [Macromedia][SQLServer JDBC
    Driver]Error establishing socket. Connection refused: connect
    The root cause was that: java.sql.SQLException:
    [Macromedia][SQLServer JDBC Driver]Error establishing socket.
    Connection refused: connect
    These Datasources were working fine in CF5, and have not been
    changed since migration.
    Has anyone experienced similar issues? Any suggestions as to
    what may be causing this?
    Many Thanks in advance

    Hi dimaint, thanks for your reply.
    The datasources are created via ODBC Administrator as a
    System DSN. They are working fine via ODBC Data Source
    Administrator. And they were fine via CF5 before upgrading to MX7.
    This is the case for Datasources that existed prior to
    upgrade, as well as any created post upgrade.
    I'm not specifying the username and password when creating or
    connecting to the Data Sources. Datasources are configured with
    Windows Authentication.
    Thanks again

  • CFMAIL in MX7

    I recently moved from CF5 to MX 7. When going through a
    CFMAIL query if an email address in to "To" field is malformed, the
    entire application appears to stop. In previous versions, it would
    continue sending email but would simply throw the malformed email
    into the undeliv folder
    Any ideas?

    Tried this as a fix - but gets me in trouble again!
    The error is below - but it stills triggers it if I add ";"
    at the end too ... my code is below this section.
    Error Executing Database Query.
    [Macromedia][SequeLink JDBC Driver][ODBC
    Socket][Microsoft][ODBC Microsoft Access Driver] Missing semicolon
    (;) at end of SQL statement.
    The error occurred in D:\Reza\DATA\PROJECTS\Wild Asia
    web\WEB\Wild Asia\public_html\WWW\temp\X_validateEmails.cfm: line
    13
    11 :
    12 : <CFIF isValid("email",checkMembers.eMail)>
    13 : <cfquery name="addMember"
    datasource="#DataSourceWeb#" dbtype="ODBC">
    14 : INSERT INTO tblMembers(UnSub)
    15 : VALUES('True')
    <!--- check that emails are valid, if not unsubsrcibe
    --->
    <cfquery name="checkMembers" datasource="#DataSourceWeb#"
    dbtype="ODBC">
    SELECT *
    FROM tblMembers tblMembers
    </cfquery>
    <CFLOOP query="checkMembers">
    <CFIF isValid("email",checkMembers.eMail)>
    <cfquery name="addMember" datasource="#DataSourceWeb#"
    dbtype="ODBC">
    INSERT INTO tblMembers(UnSub)
    VALUES('True')
    WHERE addMember.MemberID = checkMembers.MemberID
    FROM tblMembers
    </cfquery>
    </CFIF>
    </CFLOOP>

  • Which is better ODBC or JDBC

    dear all,
    after upgrading most of our servers from cf5 to CFMX7.1, it
    is now time to start working on some performance strategies for the
    upgrades. currently we went with the ODBC connector in CFMX for
    testing purposes. one of our server will occasionally lose the odbc
    and we have to reboot the server to get it rolling again.
    this leads up to the question of which is better for
    performace (speed, less process inducive) and realiability. ODBC or
    JDBC with CFMX7.1
    thanx
    sean

    I would concur ... as CF is java based, it will run better
    with JDBC rather than having to interpret a bridge between the 2.
    There are a couple of very remote instances where ODBC may be
    required, but you will have much better results with JDBC.

  • CFMail Attachment Issue (410 character limit)

    My company is in the process of upgrading from CF5 to CFMX7
    (v7.0.2). While testing the new version our test environment, I've
    discovered an issue (that didn't exist in CF5) regarding email
    attachments. I've scoured the internet looking for users who might
    have run into this issue and haven't found any.
    Here's the problem that shows up when using CFMX7. Emails
    that have attached files that have lines of code that are longer
    than 410 characters per line have the lines broken apart with a
    newline character.
    So for example if code in a file originally looked like this,
    <font face='courier new' size=-2>
     &nbspLIFE  MED  (line
    continues out to over 600 chacters)...
    </font>
    The received file would have code that looked like this,
    <font face='courier new' size=-2>
     &nbspLIFE  MED  (line
    continues out to just 410 chacters, then breaks to a new line)...
    bsp; &nbspLIFE   
    </font>
    Notice that the non-breaking space characters starting the
    second line have been chopped off.
    This causes an issue because the files we are attaching to
    the emails are bills (formatted in html) that uses a lot of
    non-breaking space ( ) characters for formatting purposes.
    Most of the lines of code are greater then 410 characters wide, and
    once the the   characters start to get broken apart, they
    end up displaying in a browser.
    Things I've tried that haven't helped.
    1) Changing the Default CFMail Charset from UTF-8 to US-ASCII
    2) Using the cfmailparam tag instead of the mimeattach
    attribute
    3) Applied hot fix hf702-65414 (which was for an issue
    regarding email spooling)
    Does anyone know how I would prevent the line break issue in
    CFMX7?
    I figured I'd ask around in a few newsgroups before we
    started spending money on support from Adobe.
    Thanks,
    Wayne Barca

    If the attached file doesn't have to be interactive, how
    making it a PDF?

  • CFWDDX Time Issue with CF7

    We're upgrading a bunch of apps from CF5 to CF7. We've run
    into an issue with cfwddx that results in times coming across with
    one hour subtracted - this didn't happen with CF5. Basically I'm
    packetizing query results with an action CFML2JS. If I just dump
    that packet via something like alert(mypacket.value) I can see that
    the date is intact. However, if I break it down via WDDX2CFML then
    run a cfquery against it, the datetime fields are all coming back
    one hour short, i.e. 10 PM instead of 11 PM. I'm suspecting I need
    to manipulate the usetimezoneinfo property of the serializer
    object, but I'm not sure how to do that - at any rate, is this a
    known problem with CF7? Any suggestions at all on how to get around
    this would be greatly appreciated!
    Regards,
    Al
    P.S. I'll be happy to post code if that's required.

    Very same thing here. Iphone 5C on 7.0.2 from tmobile in NC.
    time is frozen when auto lock is engage. Both manual and automatic settings failed to help.
    Tried the LTE trick, tried the reset network trick...

  • StructCopy(form) will not hold?

    I am porting an application from CF5 to CF7 and in the app I have working code that copies the the contents of a form to a session variable so that I can use the information throughout the rest of the app.
    <cfset session.stCustomerData = structCopy(form)>
    This works great in CF5 and on the forms landing page the data is populated. But as soon as I leave the landing page (Link or Form Submit) the stCustomerData struct is missing from the session? ONLY the stCustomerData data?
    If I loop through the form keys, it works.
    <cfloop list="#StructKeyList(form)#" index="i">
    <cfset SetVariable("session.stCustomerData.#i#", evaluate("form." & i))>
    </cfloop>
    I really don't want to scrube through 10 years woth of code to find all these! Any ideas?

    Use Duplicate instead of StructCopy.
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.
    Read this before you post:
    http://forums.adobe.com/thread/607238

Maybe you are looking for