cfclocation path being added to itself

CF9 on Red Hat / Apache

I'm setting my orm settings in Application.cfc....

             THIS.ormsettings={logsql="true",cfclocation = "var/www/html/mysite/ORM/CFC/"};      

I have triple checked the case and paths.

When trying to load my index page I get this error:  

Message: Path /var/www/html/mysite/var/www/html/mysite/ORM/CFC specified in the cfclocation does not exist.

It's adding the cfclocation path to itself.
Who is Participating?
Brijesh ChauhanConnect With a Mentor Staff IT EngineerCommented:
Your webroot is var/www/html/mysite/, so CF starts searching from there..

THIS.ormsettings={logsql="true",cfclocation = "ORM/CFC/"};       --- just use this.. should work
It looks like it's treating it as a relative path.  If it should be an absolute path, try adding a "/" in front

ie       /var/www/html/mysite/ORM/CFC/

MFredinAuthor Commented:
thanks agx,

I tried that but same deal :(

I was just going to say then convert it to a relative path of course ;-) but someone beat me to it.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.