Hello,
My file structure is configured as follows:
C:\ColdFusion8\wwwroot\FB\resources\assets\files
C:\ColdFusion8\wwwroot\FB\resources\assets\images
C:\ColdFusion8\wwwroot\FB\resources\assets\flash
And the variables in my config file are:
config.baseUrl = 'http://127.0.0.1:8500/FB/resources/assets/';
config.baseDir = APPLICATION.CreateCFC("Utils.FileSystem").resolveUrl(config.baseUrl);
However, when I upload an image through CKfinder it creates an image folder in the Coldfusion root directory (i.e. C:\ColdFusion8\wwwroot\) and puts the image in it. This is not the directory where I want the image uploaded to.
What am I doing wrong?
Many thanks,
Simon
Fri, 11/07/2008 - 14:28
#1
Re: baseURL/baseDir Issues
The following code that tries to resolve the local server path:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: baseURL/baseDir Issues
Hello,
Ok. My application is now in the following location:
C:\ColdFusion8\wwwroot\NewTemplate
And my base paths are set as follows:
config.baseUrl = "http://127.0.0.1:8500/NewTemplate/resources/ckfinder/userfiles/";
config.baseDir = 'C:/ColdFusion8/wwwroot/NewTemplate/resources/ckfinder/userfiles/';
However, when I load CKfinder I get a blank screen with 'Folders' displayed at the top and not toolbar/files displayed.
Firebug is displaying the following error.
this.t("Connector/Error/@number") is null
http://127.0.0.1:8500/NewTemplate/resou ... r_gecko.js
Line 36
What am I doing wrong? Help!
Simon
Re: baseURL/baseDir Issues