Solved

cfclocation path being added to itself

Posted on 2011-03-02
4
370 Views
Last Modified: 2012-05-11
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.
0
Comment
Question by:MFredin
  • 2
4 Comments
 
LVL 52

Expert Comment

by:_agx_
ID: 35023287
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/

0
 
LVL 11

Accepted Solution

by:
Brijesh Chauhan earned 250 total points
ID: 35023290
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
0
 

Author Comment

by:MFredin
ID: 35023292
thanks agx,

I tried that but same deal :(
0
 
LVL 52

Expert Comment

by:_agx_
ID: 35023319
@MFredin

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

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question