Hi!
I got RC2 and everything works smooth with my own cms-system. Everything except the image browser and upload stuff. I have been browsing around all the forum topics without being able to find anything.
I have tried to set
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/php/connector.php&ServerPath=/images/" ;
and
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php&ServerPath=/images/" ;
in fckconfig.js but nothing happens. It just wont show my images...
I've also tried the UserFile folder in the root of the site. Nothing happens. It is chmod:ed to 777.
My path is: /home/.sites/90/site62/web/admin/FCKeditor/
and all my images is in:
/home/.sites/90/site62/web/images (also chmod 777)
The server is apache and using php4.
Everyone else seems to get this working but how? It's really annoying when this is such a great app in all else means...
I would really apriciate help with configuring this so i can:
1) see my images in the file browser
2) upload new images
This is the last outpost in my descision in switching 20 cms-systems running htmlarea by interactivetools+imagemanager to finally only FCK.
I got RC2 and everything works smooth with my own cms-system. Everything except the image browser and upload stuff. I have been browsing around all the forum topics without being able to find anything.
I have tried to set
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/php/connector.php&ServerPath=/images/" ;
and
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php&ServerPath=/images/" ;
in fckconfig.js but nothing happens. It just wont show my images...
I've also tried the UserFile folder in the root of the site. Nothing happens. It is chmod:ed to 777.
My path is: /home/.sites/90/site62/web/admin/FCKeditor/
and all my images is in:
/home/.sites/90/site62/web/images (also chmod 777)
The server is apache and using php4.
Everyone else seems to get this working but how? It's really annoying when this is such a great app in all else means...
I would really apriciate help with configuring this so i can:
1) see my images in the file browser
2) upload new images
This is the last outpost in my descision in switching 20 cms-systems running htmlarea by interactivetools+imagemanager to finally only FCK.

RE: The image browser does not work
RE: The image browser does not work
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Images&Connector=connectors/php/connector.php&ServerPath=" ;
Type=Images will be the last sub directory!
RE: The image browser does not work
http://brunton.ath.cx
RE: The image browser does not work
RE: The image browser does not work
I have made some progress and I think part of the problem is that by default the php connector looks in <webroot>/UserFiles/Images for images.
If that directory doesn't exist it appears to just bomb. It also has to be writable by the webserver in order for upload to work.
I'm still trying to figure out where the config options are to point it at a different directory. Hopefully others will be able to help out there... ?
RE: The image browser does not work
Server logs show ASP module being called. I guess this will be a long trawl through the source code to find out why its not happening!
RE: The image browser does not work
RE: The image browser does not work
Uncomment the relevant line - you will see that PHP is disabled. I wonder if it might be possible to think of a more elegant solution to this so the correct block of code is selected depending on which language is in use?.
// Link Browsing
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" ;
RE: The image browser does not work
RE: The image browser does not work
http://brunton.ath.cx
RE: The image browser does not work
RE: The image browser does not work
RE: The image browser does not work
Victory is mine!
I checked the security options in Mozilla and unchecked all the usual options you'd have enabled to prevent porno popups and the like and its now calling the PHP connector ... AND... I get an image preview and it inserts the image okay - woohoo!!!.
Only problem is - there is no way I would recommend anyone to use Moz without popup blocking and other security options. Maybe a bit of a rethink of the code might get around it. I have 100% PHP code which works just fine ffor browsing and uploading images. There are examples all over the net. Why use Javascript which may get trapped by popup-blockers??
Gnash!!. Shame as this edting interface is sooooo... good!!.
RE: The image browser does not work
Your mileage may vary, hope it helps!
RE: The image browser does not work
It is true there is a default folder and it is UserFiles - note the case, it is important for unix servers!
The folders inside should have the right case
The other thing is the javscript config file does not appear to refresh easily, I am still trying to work out where it is being stored as I have cleared my cache in several places.
RE: The image browser does not work
RE: The image browser does not work
RE: The image browser does not work
Anyways, although I got it working on one server, I cannot get it working on a different server. It just wont display the files and it gives an "unknown error creating folder" when creating a folder.
Surprisingly, when I tried to upload a file with the same name ads one of the files inside the UserFiles/Image folder, it could detect it and said that the uploaded image will be renamed. Yet, after that, the image that has just been uploaded is not there in the server.
Does anyone know the solution to this? Or is it permission problem?
RE: The image browser does not work
The image browser is not working for me either. I'm using the default configuration, asp connector and ServerPath="/UserFiles/".
But the connector doesn't generate a suitable output, when I'm running "test.html" in the connectors folder I don't receive any output at all. The image browser is empty as well when I run it.
I'm running a Domino server with full permissions. Thanks in advance, your help is appreciated!!
RE: The image browser does not work
http://servidor/luis/admin_testes/fcked ... stomFiles/
RE: The image browser does not work
RE: The image browser does not work
I am running XP Pro, IIS and have <webroot>/UserFiles/Image write enabled.