Hello. Every time I try use the "Browse Server" feature of the "Image Properties" I get a Javascript error in editor/filemanager/browser/default/frmresourcelist.html. I'm also unable to creat a new folder or upload any files.
I presume that everyone has this problem, but is there a known fix for this? If so, could you point me in the right direction?
Josh
I presume that everyone has this problem, but is there a known fix for this? If so, could you point me in the right direction?
Josh
RE: "Browse Server" Feature of Image Properti
JSP, ASP.NET, or the unofficial PHP connector?
Can you please tell us also if using IE or Gecko based browser? and maybe also the error you are getting.
Simone
RE: "Browse Server" Feature of Image Properties
I've got the same problem and unfortunately no solution for now.
I'm using the ASP.NET Connector on an Windows 2003 Server and IE6SP1 as Browser.
The Error Message is following:
Line: 120
Error: Object required
File: frmresourceslist.html
Any Ideas how to fix this?
Kai
RE: "Browse Server" Feature of Image Properties
That's how I fixed the problem:
First of all I added following into the web.config:
<appSettings>
<add key="FCKeditor:UserFilesPath" value="/images/" /> <-- My Image Folder -->
</appSettings>
Then I eddited the the 'fckconfig.js' file to delete the "Type" parameter in for the property "FCKConfig.ImageBrowserURL".
Old:
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Images&Connector=connectors/aspx/connector.aspx" ;
Changed:
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx" ;
That worked for me so far, but I can't say this will ocure other problems perhaps.
Nevertheless hope it will help you as well.
Kai
RE: "Browse Server" Feature of Image Properties
/_samples/html/sample01.html
I made the change to ''fckconfig.js' as Kai recommended, and I at least now when I try to create a folder I get a Javascript error saying "Error creating folder. Error #1".
Anyone have any further ideas on how I could get the image folder creation + upload feature working. I'll keep looking around myself and post any solutions I find something.
Josh
RE: "Browse Server" Feature of Image Properties
RE: "Browse Server" Feature of Image Properti
Sorry my fault, there connector was not sending some of the required http headers, the latest version works
you can grab a copy from http://www.mcpuk.net/downloads/fck_fb_conn_php.zip
RE: "Browse Server" Feature of Image Properti
RE: "Browse Server" Feature of Image Properties
So far I've done the following:
(1) uploaded latest version of FCK to my PHP 4.3.2 web server. I put everything in the /fck folder (relative to my document root)
(2) uploaded your PHP connector to /fck/editor/filemanager/browser/default/connectors/php
(3) modified /fck/fckconfig.js as described in php-conenctor docs. That is:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/php/connector.php" ;
FCKConfig.LinkUploadURL = 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" ;
(4) Modified /fck/editor/filemanager/browser/default/connectors/php/config.php so that $config['UserFilesPath']="/fck/upload";
(5) Created folder /fck/upload and chmod'd to 0777.
-----------------
I then load up FCK by going to fck/_samples/html/sample01.html
I try to create a folder and get this error: "You have no permissions to create the folder."
Any ideas on what might be going on here? I'm sure there's just one little variable I have to change somewhere. Thanx for any input you can offer!
Josh
RE: "Browse Server" Feature of Image Properti
RE: "Browse Server" Feature of Image Properti
RE: "Browse Server" Feature of Image Properti
RE: "Browse Server" Feature of Image Properti
RE: "Browse Server" Feature of Image Properties
For others who were having the same problem, here's the installation method I recommend based on my experience. The steps that I had to add to my original posting above start at step 6.
(1) uploaded latest version of FCK to my PHP 4.3.2 web server. I put everything in the /fck folder (relative to my document root)
(2) uploaded your PHP connector to /fck/editor/filemanager/browser/default/connectors/php
(3) modified /fck/fckconfig.js as described in php-conenctor docs. That is:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/php/connector.php" ;
FCKConfig.LinkUploadURL = 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" ;
(4) Modified /fck/editor/filemanager/browser/default/connectors/php/config.php so that $config['UserFilesPath']="/fck/upload";
(5) Created folder /fck/upload and chmod'd to 0777.
(6) In fckconfig.js changed
FCKConfig.LinkBrowserURL
FCKConfig.LinkUploadURL
FCKConfig.ImageBrowserURL
OLD:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/php/connector.php" ;
NEW:
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=/fck/editor/filemanager/browser/default/connectors/php/connector.php" ;
Of course, you have to change all three.
(7) Created and chmod 0777 the following directories:
/fck/upload/
/fck/upload/File
/fck/upload/Image
/fck/upload/Media
/fck/upload/Flash
Hope that helps others and many thanks to Grant French for making FCK a PHP option!
RE: "Browse Server" Feature of Image Properties
guys i have not been able to download he fck_fb_conn_php.zip file from the url defined above can anybody email me this file at info@pixel500.com. please this is urgent and i shall be very very appreciative.
thanks
Bug function delDir in DeleteFolder
It is a bug in delDir function (maybe on windows platform only).
Need to add the following line:
closedir($dh);
before
return rmdir($dir);
at the end of the function.
RE: Bug function delDir in DeleteFolder