Do you have "Show friendly HTTP error messages" turned on in your browser
settings? If so this could be masking an actual CF error message and the
file you are loading up could not be getting updated because of the template
caching on the cf server?

  _____  

From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
Of Ryan Sabir
Sent: Monday, 22 June 2009 11:03 PM
To: cfaussie@googlegroups.com
Subject: [cfaussie] Re: CF8 "file not found" strangeness


Thanks folks,

Plain html works fine, as do images, Flash etc. I'm pretty sure it's some
deep issue in the CF8 install.





On Mon, Jun 22, 2009 at 9:09 PM, Steve Onnis <st...@cfcentral.com.au> wrote:



Ryan

Sounds like they are either controlling the cf "FileNotFound" error or the
FTP folder is not matching up with your hosting account.  Does the same
thing happen with a plain HTML page?


-----Original Message-----
From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf
Of Ryan
Sent: Monday, 22 June 2009 7:44 PM
To: cfaussie
Subject: [cfaussie] CF8 "file not found" strangeness


Hi all,

I've had a shared CF8 site set up at WebCentral for a relatively
simple site. It's exhibiting a really strange error.

If I FTP upload a file, say "testfile.cfm" (doesn't matter what is in
it) it will work fine.
If I then re-upload exactly the same file, it's returning a "File not
Found" error, and that filename can not be used again even if I delete
the file and re-upload it.

Problem is that their tech staff can't reproduce it at their end,
because I assume they are not using the same FTP credentials as me,
they are probably going in as a sysadmin.

I have had some seemingly ridiculous responses from support as to why
it is not working. While I've deployed a few CF8 sites, my experience
is not as much as with CF7, can anyone tell me if any of these reasons
make sense? It's an amusing read actually:

My first test was a .cfm file with the simple contents "TESTING 123",
their response was:

"Your Index.cfm file is not written in any form of valid mark up
language.The contents of the file contain "TESTING 123" unfortunately
this is nothing in this file Cold Fusion can interpret."

Um.. ok, so I uploaded a file with a nice HTML structure and a <CFDUMP
var="#NOW()#"> in it. Their response:

"After extensive testing and checking coldfusion mappings and
permissions are setup correctly on the resource and working without
issue. We have run various coldfusion test scripts successfully.
Please review your coding for further success. As this is a coding
issue this is now outside the scope of our support."

errr, not much coding there to review. They also uploaded a file that
looked like this, for testing:

<cfset VARIABLES.greeting="Hello">
<html>
<head>
 <title>Hello World!</title>
</head>
<body>
 <cfoutput>#VARIABLES.greeting# World!</cfoutput>
</body>
</html>

I downloaded this file and re-uploaded it. Sure enough the "File Not
Found" error came back. I brought this to their attention. Their
response:

"Not being coders here I am unsure if the reference to
#VARIABLES.greeting# is supported in CF8."

Huh? It was their freaking test file! Now I'm being told this:

"your code does not appear compatible with cf8. Please see the below
link to ensure your code can work on cf8.
http://blog.joshuaadams.com/index.cfm/2008/9/4/Upgrading-from-ColdFusion-MX-
<http://blog.joshuaadams.com/index.cfm/2008/9/4/Upgrading-from-ColdFusion-MX
-%0Ato-ColdFusion-8> 
to-ColdFusion-8"

Not much there, it's more about upgrading your server, not changing
your code. I asked them to clarify this, their reponse:

"Please see the link provided for full details but basically your
application at the very least will require an  application.cfc file."

This is the bit that I am not 100% sure about. Does CF8 HAVE to have
an Application.cfc file? In any case I made a simple one and uploaded
it twice, and it broke the whole site. Every page started returning a
File Not Found for the Application.cfc file.

Has anyone found an issue like this before? I'm a bit screwed now,
they are refusing to see this as a problem. If I am wrong in any of my
assumptions above then I'll happily eat crow, and send a bottle of
wine to the techies who' ve been attempting to help me. I just don't
see how a file could work, then stop working when being overwritten
with exactly the same file.

thanks all.














--~--~---------~--~----~------------~-------~--~----~
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 
cfaussie+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to