Hi,
as already mentioned in another thread, one has to create the images/
dmImage/Standard|Source|ThumbnailImage directories manually.
(This should be included into the skeleton, btw.)
Formtools image.cfc checks, if these folders exists, if the don't they
start at the root level of all websites (in your case d:\home). I've
head the same issue several days ago.
If the folders don't exist, it runs the createDirectory (or sth like
this) functions recursively. The first iterations does a: <cfif
directoryExists("d:\home")> (i wrote the value here).
You shared hosting account does not have READ permissions for this
dir. Your account is settled under, e.g. d:\home\yourAccountNumber\
where you have all permission.
As mentioned, the solution is to create these directories manually,
the long term solution would be to create these directories during
install process.
Bye,
Fritz
°================================
| Fritz Dimmel
| Gassnergasse 14
| 2020 Hollabrunn
| -------------------------------
| Porzellangasse 44-46/14
| 1090 Wien
| -------------------------------
| +43-1-3101365
| +43-660-6000069
| [EMAIL PROTECTED]
| www.dimmel.at
| -------------------------------
| Check this out: http://www.nickthal.com
°================================
Am 21.08.2008 um 05:40 schrieb modius:
>
> On Aug 20, 3:37 am, Robin <[EMAIL PROTECTED]> wrote:
>> When uploading either a single image or bulk images I get the
>> following error:
>>
>> "access denied (java.io.FilePermission D:\home read)" - full trace
>> below.
>
> Sounds like you have a permission error and CF is not allowed to write
> files to the location you are storing images.
>
>> My set up is on a shared host. FC5.0.0, CF8, MySQL5, IIS. I have FC
>> as a standalone configuration. FUs work brilliantly.
>>
>> Curiously, I can upload a flash file with no issues.
>
> It's possible that the directory containing flash has the right
> permissions assigned. If the directory that you are uploading to
> doesn't exist then FarCry, via CF, will create the directories for
> you. This will mean they'll have permissions relevant to the CF
> server, and not necessarily appropriate for your application.
>
>> My host allows CFDirectory, CFFile, etc and it is turned on.
>>
>> The host support guys are wondering why FC refers to the full address
>> - including the "D:\home", which they say FC shouldn't be trying to
>> access.
>
> What version of FarCry are you using? v4+ stores a relative file
> address. And builds an absolute address for CFFILE based on your
> project configuration. In any event FC is not accessing anything --
> ColdFusion is. FC just provides the location. As far as I'm aware
> CFFILE writes require the absolute path on the server.
>
>> Can anybody suggest what the problem and solution might be?
>
> A permissions problem ;) Try changing the file permissions on the
> directory structure where you are writing images eg. ./www/images/*
>
> -- geoff
> http://www.daemon.com.au/
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"farcry-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/farcry-dev?hl=en
-~----------~----~----~----~------~----~------~--~---