I uploaded all the files to public_html/FCKeditor and tried to access the samples. The javascript based samples work fine while the php samples give a 404 error in the iframe with the editor. I checked the code of sample01.php and noticed that its trying to get the path string from PATH_INFO session variable which is returned empty for some reason. I manually added the correct path and it now works but Image browsing and uploading doesn't. I've created the /userfiles folder in public_html but that didn't help either. Image browser shows nothing and when I upload a file the upload button is grayed out and stays like that.. I tried this with RC1 and RC2. I am sure this is a configuration problem but I can't see what else I should do.
Tue, 12/28/2004 - 08:12
#1
RE: php/apache image browser/upload - wont work!
Hello all!
I just integrated upload feature to my site!!!
It taked few hours to understand the code and to configure editor right.
There are only 2 steps:
1) Open file fckconfig.js
and change FCKConfig.ImageBrowserURL
I set this value to:
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php&ServerPath=/dating/CustomFiles/" ;
ServerPath is the path from current domain's root folder (full path is /home/vv/www/dating/CustomFiles/ in my case)
2) create directory CustomFiles and make chmod 777
Good luck,
Ivan
http://www.projectslist.biz/