If you have removed apache you should not see this error message

*An error occurred when performing a file operation exists on file
/serverpdfs/130kPDFs/137485.pdf.
The cause of this exception was: org.apache.commons.vfs.FileSystemException:
Could not determine the type of file "
http://www.mybp-graphics.com/serverpdfs/130kPDFs/137485.pdf";.. *

Which means you must now be getting a different error now. I would be
looking at the mime types and see if they are all correctly set up.
Normally when one sees the message can't determine file type is a mime
issue.

But it also might be something to do with PHP, the exception that is being
thrown is to do with the VFS or Virtual File System so if you say you
removed Apache then I am betting that PHP is screwed up.

But as you said you tried with cfcontent I am guessing it might be a mime
issue or even a permission issue.

-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543



On Wed, May 2, 2012 at 4:08 AM, Curt Carpenter <[email protected]> wrote:

>
> Hi -
>
> I have an application that has been working fine for over a year and now
> anything that references Virtual Directories no longer functions.  Here are
> the details:
>
> Coldfusion is running on Windows Server 2003 Enterprise.
> Using IIS6 for the web server on the same box.
> I have several virtual directories setup that reference files on another
> server on the same network.
>
> What I did to break things... I installed Apache (the latest release)
> along with PHP - but I set Apache up to listen on a different port (8080).
> Suddently any part of my code that tries to reference a file that is found
> through a virtual directory generates the following error:
>
> An error occurred when performing a file operation exists on file
> /serverpdfs/130kPDFs/137485.pdf.
> The cause of this exception was:
> org.apache.commons.vfs.FileSystemException: Could not determine the type of
> file "http://www.mybp-graphics.com/serverpdfs/130kPDFs/137485.pdf";..
>
> Here's the actual code that generated that error:
>
> <cfset filename = "
> http://www.mybp-graphics.com/serverpdfs/130kPDFs\137485.pdf";>
>
>
>     then within a table...
>     <cfif FileExists("#filename#")>
>    <td>Yes File</td>
>    <cfelse>
>    <td>No file</td>
>    </cfif>
>
> The "serverpdfs" is the virtual directory inside the website "
> mybp-graphics.com". If I look in IIS the directory is there, I can see
> all the files in it - it seems to be working fine.
>
> I first experienced the problem when we tried to open a PDF for viewing by
> using <CFCONTENT> - the same type error occurs.
>
> What is especially suspicious is that the exception was was
> "org.apache.commons.cfs.FileSystemException" - This error still persists
> even though I have done the following:
>
> 1.  Completely de-installed Apache and hid the PHP directory.
> 2.  Re-installed ColdFusion from scratch.
>
> Any direction would be greatly appreciated - this error is affecting
> multiple modules of a website that is used constantly by both our customers
> and our internal employees.
>
> Thanks
>
> Curt
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350948
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to