|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Datefield - Strange ProblemDear All,
I'm seeing something very strange and am wondering if anyone else has had this problem. I've got 2 nearly identical Red Hat servers running CF8. I've got a fairly simple cfform that is using a datefield, it's an "edit" form so I'm feeding a date into the box. The code works perfectly on one server but bombs with an "invalid date or time string" error on the other. It doesn't matter what format I use, UK, US it all fails on one server and works on the other... I'm a bit lost with this one because the 2 machines are pretty much identical and I can't understand why one would work and the other not. Does anyone have any ideas? best wishes, -= Ed -------------------------------------------- Edward Chanter Technical Innovations Manager Collaborative Connections Ltd. http://www.cc.uk.com/ ed@... Landline: 01273 832221 Mobile: 07866 365282 YIM!: jumperb MSN: ed@... You can find me on FaceBook too! -------------------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4393 Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14 |
|
|
Re: Datefield - Strange ProblemEd,
There can be several things happening here. Is this a CF error or a DB error your receiving? Are these servers accessing the same code on a shared file server? (Just in case there is a code difference.) Check to make sure your running the same updates on Red Hat, CF and your JVM on both machines. Wil On Tue, Mar 25, 2008 at 6:32 AM, Edward Chanter <ed@...> wrote: > Dear All, > > I'm seeing something very strange and am wondering if anyone else has had > this problem. I've got 2 nearly identical Red Hat servers running CF8. > I've > got a fairly simple cfform that is using a datefield, it's an "edit" form > so > I'm feeding a date into the box. > > The code works perfectly on one server but bombs with an "invalid date or > time string" error on the other. It doesn't matter what format I use, UK, > US > it all fails on one server and works on the other... I'm a bit lost with > this one because the 2 machines are pretty much identical and I can't > understand why one would work and the other not. > > Does anyone have any ideas? > > best wishes, > > -= Ed > > -------------------------------------------- > Edward Chanter > Technical Innovations Manager > Collaborative Connections Ltd. > > http://www.cc.uk.com/ > ed@... > Landline: 01273 832221 > Mobile: 07866 365282 > YIM!: jumperb > MSN: ed@... > You can find me on FaceBook too! > -------------------------------------------- > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4394 Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14 |
|
|
RE: Datefield - Strange ProblemHi Wil,
Thanks for your response. The error appears to be a CF error both servers talk to the same database so if the problem was DB it would probably appear on both. The code itself is on 2 different machines and I copied the file from one to the other to ensure they were identical. I've checked the Cf version and it reports as 8,0,0,176276 in both cases. The version of Red Hat is the same, as is the JVM. Very weird indeed, I've built a workaround to the code that takes the cfinput datefield and replaces it with a normal text input field. Doing it that way the code works perfectly so it's like there is something strange happening with the "datefield" cfinput type. -= Ed > -----Original Message----- > From: Wil Genovese [mailto:juggler@...] > Sent: 25 March 2008 16:04 > To: CF-Linux > Subject: Re: Datefield - Strange Problem > > Ed, > > There can be several things happening here. > > Is this a CF error or a DB error your receiving? > > Are these servers accessing the same code on a shared file server? (Just > case there is a code difference.) > > Check to make sure your running the same updates on Red Hat, CF and your > JVM > on both machines. > > Wil > > > > > > On Tue, Mar 25, 2008 at 6:32 AM, Edward Chanter <ed@...> wrote: > > > Dear All, > > > > I'm seeing something very strange and am wondering if anyone else has > > this problem. I've got 2 nearly identical Red Hat servers running CF8. > > I've > > got a fairly simple cfform that is using a datefield, it's an "edit" form > > so > > I'm feeding a date into the box. > > > > The code works perfectly on one server but bombs with an "invalid date or > > time string" error on the other. It doesn't matter what format I use, UK, > > US > > it all fails on one server and works on the other... I'm a bit lost with > > this one because the 2 machines are pretty much identical and I can't > > understand why one would work and the other not. > > > > Does anyone have any ideas? > > > > best wishes, > > > > -= Ed > > > > -------------------------------------------- > > Edward Chanter > > Technical Innovations Manager > > Collaborative Connections Ltd. > > > > http://www.cc.uk.com/ > > ed@... > > Landline: 01273 832221 > > Mobile: 07866 365282 > > YIM!: jumperb > > MSN: ed@... > > You can find me on FaceBook too! > > -------------------------------------------- > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Linux/message.cfm/messageid:4395 Subscription: http://www.houseoffusion.com/groups/CF-Linux/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14 |
| Free embeddable forum powered by Nabble | Forum Help |