[cfaussie] Re: wierd caching problem
I've seen this on CF8 occasionally although I created a new CF8 VM, and it's gone away now... So not sure...? Mark On Tue, Apr 29, 2008 at 9:12 AM, barry.b [EMAIL PROTECTED] wrote: this has got me beat. I'm throwing files against a shared dev server, getting the occasional oops and trying to correct it. These are just simple test harnesses, hardly anything in them. what's happening is that I'm still getting the error message even after I fix the oops. something is still hanging on to the old code and throwing the error BUT the error stack trace is showing the correct (new/repaired) code. While trusted cache is turned off, I'm having to go into the CF admin and manually clear the template cache now just to see the changes. It's like trusted cache is still on, even though it's turned off. eg: Variable QRYGETCUSALL is undefined. The error occurred in X:\xxx_xxx\_scratch\idr\cloneforms.cfm: line 12 10 : 11 : 12 : cfdump var=#qryGetCusAllx# label=qryGetCusAll / that error message is old because I renamed the query but forgot to change the name in the dump the first time around. The stack trace is from the second run of the code that should not throw an error [1]. any suggestions what might be causing this, and suggest a fix? [1] CFQUERY NAME=qryGetCusAllx DATASOURCE=idr SELECT * FROMTidrT_Customer WHERE fk_DisputeID = cfqueryparam cfsqltype=cf_sql_integer value=118972 / ORDER BYDateCreated /CFQUERY cfdump var=#qryGetCusAllx# label=qryGetCusAll / -- E: [EMAIL PROTECTED] W: www.compoundtheory.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: wierd caching problem
Hi Barry, I had a similar issue a few weeks ago (CFMX7).. I had to turn 'save class files' off, run the template, then turn it back on. It happened around the time of daylight savings change where the cf time and OS time were different.. Hope this helps. Adam -Original Message- From: barry.b [mailto:[EMAIL PROTECTED] Sent: Tuesday, 29 April 2008 9:12 AM To: cfaussie Subject: [cfaussie] wierd caching problem this has got me beat. I'm throwing files against a shared dev server, getting the occasional oops and trying to correct it. These are just simple test harnesses, hardly anything in them. what's happening is that I'm still getting the error message even after I fix the oops. something is still hanging on to the old code and throwing the error BUT the error stack trace is showing the correct (new/repaired) code. While trusted cache is turned off, I'm having to go into the CF admin and manually clear the template cache now just to see the changes. It's like trusted cache is still on, even though it's turned off. eg: Variable QRYGETCUSALL is undefined. The error occurred in X:\xxx_xxx\_scratch\idr\cloneforms.cfm: line 12 10 : 11 : 12 : cfdump var=#qryGetCusAllx# label=qryGetCusAll / that error message is old because I renamed the query but forgot to change the name in the dump the first time around. The stack trace is from the second run of the code that should not throw an error [1]. any suggestions what might be causing this, and suggest a fix? [1] CFQUERY NAME=qryGetCusAllx DATASOURCE=idr SELECT * FROMTidrT_Customer WHERE fk_DisputeID = cfqueryparam cfsqltype=cf_sql_integer value=118972 / ORDER BYDateCreated /CFQUERY cfdump var=#qryGetCusAllx# label=qryGetCusAll / --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: wierd caching problem
thanx for the replies, guys. At least it helps lift some fog... so far it happens on both CF8 and CF7 (I'm using 7) it happens occasionally it happens for no specific reason. oh goodie. needle in a hay stack time. I'm surviving by clearing the template cache for now (but heaven help anyone else working on the same box). It can't be an IIS caching issue, can it? While it throws the old error message, the new code is what's displayed - which implies that CF is controlling this all... I really dislike working on shared dev boxes ... it's just asking for trouble... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: wierd caching problem
If you are uploading using FTP, check that the timestamps are being updated. CF uses the timestamp of each file to determine whether it should be recompiled at runtime. I think that's your needle right there. On Mon, 2008-04-28 at 17:46 -0700, barry.b wrote: thanx for the replies, guys. At least it helps lift some fog... so far it happens on both CF8 and CF7 (I'm using 7) it happens occasionally it happens for no specific reason. oh goodie. needle in a hay stack time. I'm surviving by clearing the template cache for now (but heaven help anyone else working on the same box). It can't be an IIS caching issue, can it? While it throws the old error message, the new code is what's displayed - which implies that CF is controlling this all... I really dislike working on shared dev boxes ... it's just asking for trouble... --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: wierd caching problem
On Apr 29, 12:29 pm, Joel Cass [EMAIL PROTECTED] wrote: If you are uploading using FTP, check that the timestamps are being updated. thanx Joel but it's local/network I think that's your needle right there. you may be close. I'm starting to think Dreamewaver 8 may be the culprit. I've got it set up as a site with local versions updating the testing (shared Dev) server on save (although I'm not hitting F12 to run it, rather refreshing the browser pointing to the dev server and I'm not explicitly using RDS). the annoying thing is I can see the corrected code in the stack trace - along with the error message which doesn't belong. and if DreamWeaver is the cause, then the question now is how it affects CF if the fix is to clear my template cache. I'll check the timestamps as well as go back to CFEclipse once I finish with the layout - see if either are part of the problem. thanx again b --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---
[cfaussie] Re: wierd caching problem
Knew there was another reason I hated Dreamweaver:-) But in this case I doubt it is, I can't vouch for everyone. But I have been bitten with that a few times, the time stamp didn't seem to work. Coldfusion just decided that there wasn't a change to the source, and went on with using the compiled class. Never looked into the reason why though, it was easy to just delete that cache and files. But it's a bugger to be caught out with though. Andrew Scott Senior Coldfusion Developer Aegeon Pty. Ltd. www.aegeon.com.au Phone: +613 9015 8628 Mobile: 0404 998 273 -Original Message- From: cfaussie@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of barry.b Sent: Tuesday, 29 April 2008 12:41 PM To: cfaussie Subject: [cfaussie] Re: wierd caching problem On Apr 29, 12:29 pm, Joel Cass [EMAIL PROTECTED] wrote: If you are uploading using FTP, check that the timestamps are being updated. thanx Joel but it's local/network I think that's your needle right there. you may be close. I'm starting to think Dreamewaver 8 may be the culprit. I've got it set up as a site with local versions updating the testing (shared Dev) server on save (although I'm not hitting F12 to run it, rather refreshing the browser pointing to the dev server and I'm not explicitly using RDS). the annoying thing is I can see the corrected code in the stack trace - along with the error message which doesn't belong. and if DreamWeaver is the cause, then the question now is how it affects CF if the fix is to clear my template cache. I'll check the timestamps as well as go back to CFEclipse once I finish with the layout - see if either are part of the problem. thanx again b --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en -~--~~~~--~~--~--~---