Skip to main content
Participant
August 2, 2011
Question

Not accessible Tag Error

  • August 2, 2011
  • 2 replies
  • 529 views

Hi,

I am very new to ColdFusion and have been given the task of moving a ColdFusion website to a new host. I have the files/db but havn't moved/setup a ColdFusion site before. After a bit of help I have managed to get the webite up and running except when I try to upload an image I get the following error message;


The destination d:\vhosts\website.com\httpdocs\PropImages specified in the  cffile tag is invalid.

The destination either does not exist or is not accessible by this tag.


The live site works 100 percent. An exact copy of the site including database gives this error.


Does anyone have ideas, or can point me in the right direction?

    This topic has been closed for replies.

    2 replies

    Participant
    August 3, 2011

    Check the destination attribute of the cffile tag.

    This could be a coldfusion mapping or a location relative to the cfm file.

    It is also possible the destination is calculated using expandpath,

    in that case the parameter passed to the expandpath function should be an existing directory.

    Inspiring
    August 3, 2011

    Step 1 - see if the directory exists on the machine which is running ColdFusion.

    If it does,

    Step 2 - see if ColdFusion can write to that directory.