shared hosting - how to set the right path

Marco van den Oever <[email protected]> Thu, 7 Aug 2008 04:03:13 -0700 (PDT)
Newsgroups gmane.comp.cms.farcry.user
Message-ID <[email protected]>
Hi, i am working on a shared hosting package to setup farcry 5.0.

Problem is that i get an error when i try to upload an image, it has
to do with the fact that i have all rights on the path to my specific
website and not to the root where the image.cfc is referring to, this
is a part of the error:

arguments - array

1
arguments - struct
COLUMN 	0
LINE 	-1
RAW_TRACE 	java.security.AccessControlException: access denied
(java.io.FilePermission C:\Websites read)
TEMPLATE 	java.io.FilePermission C
TYPE 	CFML

2
arguments - struct
COLUMN 	0
ID 	CF_CFPAGE
LINE 	358
RAW_TRACE 	at
cfimage2ecfc728197677$funcCREATEFOLDERPATH.runFunction(C:
\Websites\157996aq8\farcry\core\packages\formtools\image.cfc:358)
TEMPLATE 	C:\Websites\157996aq8\farcry\core\packages\formtools
\image.cfc
TYPE 	CFML

3
arguments - struct
COLUMN 	0
ID 	CF_UDFMETHOD
LINE 	233
RAW_TRACE 	at cfimage2ecfc728197677$funcVALIDATE.runFunction(C:
\Websites\157996aq8\farcry\core\packages\formtools\image.cfc:233)
TEMPLATE 	C:\Websites\157996aq8\farcry\core\packages\formtools
\image.cfc
TYPE 	CFML

As you can see i have to adjust the way the paths are set in the
createFolderPath("#application.path.imageRoot#") parts off the
image.cfc.

Can i set these options in the farcry admin or can i adjust that in
the code and how?

It seems that the path is now referring to C:\Websites (the root of
the hosting company)
While it should point to C:\Websites\157996aq8 (my personal root with
all permissions)

Also when i do a bulk image upload i see the uploading process goes
well, butt the images are not in the image overview, that is i believe
again due to the path.

Can someone give me any directions on how correctly change this in
admin or code?

Thank you very much.

Marco van den Oever
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "farcry-user" group.
To post to this group, send email to farcry-user-/[email protected]
To unsubscribe from this group, send email to farcry-user+unsubscribe-/[email protected]
For more options, visit this group at http://groups.google.com/group/farcry-user?hl=en
-~----------~----~----~----~------~----~------~--~---