I am having problem with the image upload & link server. It will not let me add a new folder and it shows nothing on the server. It will not let me upload any file ect.
I have already changed the chmod on ALL folders under:
editor/filemanager/
Which still did not work. Wher might I tell it to look? I have check the "fckconfig.js" which shows the following path which looks to be correct. FCKConfig.LinkBrowser = true ; FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp' ; //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/' ; //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx' ; //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ; FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70% FCKConfig.LinkBrowserWindowHeight = screen.height * 0.7 ; // 70%
This is what I did to get it to work on my server (unix). In fckconfig.js.... FCKConfig.BaseHref = 'http://www.yoursite.com' ;
Then go down the file and uncomment the connector you want to use for imagebrowserURL and filebrowserURL ie. PHP and make sure all the others are commented out.
Then go to FCKpreview\editor\filemanager\browser\default\connectors\php\config.php and uncomment $Config['UserFilesPath'] = '/userfiles/' ; Since FCK does not have permission to create a dir called userfiles on webroot YOU have to create it and chmod 777. Now FCK can read/write to this folder and create the image and file folders. In this case userfiles is located at http://www.yoursite.com/userfiles. You can adjust the "paths" to suit your needs
I tried that and it did not work! I am so frustrated! I really want this to work. I tried it in about every configuration possible and still the same thing.
OKAY! Figured it out! I went back and read again all the other image related post and found something that worked. So here it is for future visitors witht he same problem!
What I did to fix this whole filebrowser/imagebrowser thing: edit the file "fckconfig.js" and uncomment the following lines:
RE: Image & Link -Server
RE: Image & Link -Server
under:
editor/filemanager/
Which still did not work. Wher might I tell it to look? I have check the "fckconfig.js" which shows the following path which looks to be correct.
FCKConfig.LinkBrowser = true ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp' ;
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/' ;
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx' ;
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70%
FCKConfig.LinkBrowserWindowHeight = screen.height * 0.7 ; // 70%
FCKConfig.ImageBrowser = true ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp' ;
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx' ;
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
FCKConfig.ImageBrowserWindowWidth = screen.width * 0.7 ; // 70% ;
FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ; // 70% ;
Every thing else is working but the image upload and server link browse. Any other ideas?
RE: Image & Link -Server
This is what I did to get it to work on my server (unix).
In fckconfig.js.... FCKConfig.BaseHref = 'http://www.yoursite.com' ;
Then go down the file and uncomment the connector you want to use for imagebrowserURL and filebrowserURL ie. PHP and make sure all the others are commented out.
Then go to FCKpreview\editor\filemanager\browser\default\connectors\php\config.php
and uncomment $Config['UserFilesPath'] = '/userfiles/' ;
Since FCK does not have permission to create a dir called userfiles on webroot YOU have to create it and chmod 777. Now FCK can read/write to this folder and create the image and file folders.
In this case userfiles is located at http://www.yoursite.com/userfiles.
You can adjust the "paths" to suit your needs
RE: Image & Link -Server
RE: Image & Link -Server
What I did to fix this whole filebrowser/imagebrowser thing:
edit the file "fckconfig.js" and uncomment the following lines:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ;