I'm using FCKeditor with PHP and it's working great, I just can't get the file browser to work. I've changed all the config locations that the Documentation says to, but when I click to insert an image and select Browse Server, I get a huge error that goes off the screen (screengrab: http://lghdesign.com/fckerror.jpg) and the info displayed in that error (which looks to be displaying a portion of a file) looks like its looking for the ASP files for this function instead of the PHP. I tried the file manager test file and it works just fine, I've changed all the config variables it talks about in the documentation, every other part of the Editor works great...I can't figure out what's going on. Anyone have any thoughts?
Sun, 08/05/2007 - 07:53
#1
Re: strange file browser/uploader issue
Change the lines in the fckconfig.js file to:
var _FileBrowserLanguage = 'php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = 'php' ; // asp | aspx | cfm | lasso | php
Clear the cache and all should work
Re: strange file browser/uploader issue
e39m5
Re: strange file browser/uploader issue
lghaman:
do you still have any problems with running file browser?
e39m5:
Could you please provide more details regarding this issue? What problem/error message exactly do you see?
Please let us now what's your document root (run phpinfo(); and search for DOCUMENT_ROOT), where is your "userfiles" directory
and what settings do you have in filemanager/browser/default/connectors/php/config.php?
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: strange file browser/uploader issue
*solution apis (see above)
*enable uploader in \editor\filemanager\upload\php\config.php
*enable connenter in \editor\filemanager\browser\default\connectors\php\config.php
Then hard refresh your browser (ctrl-F5) and remove cache. If you do not do this...it wont work. Refreshing and removing is very important to see the results.
greetz,
EK
Re: strange file browser/uploader issue
Re: strange file browser/uploader issue
Re: strange file browser/uploader issue
*777 on the folder that I want to upload
*solution apis (see above)
*enable uploader in \editor\filemanager\upload\php\config.php
*enable connenter in \editor\filemanager\browser\default\connectors\php\config.php
*ctrl-F5
For me still something is wrong, but the big message is gone.
Now:
Program created four folders in my upload folder. I tired to create a folder in file browsing window, but I got a message: "Unknown error creating folder". When I tried to upload a file, there was no error; however, the file was not uploaded.
http://www.xel-naga.com/phpinfo.php
Is there anybody who knows solution for this problem?
Re: strange file browser/uploader issue
..editor\filemanager\upload\php\config.php
..editor\filemanager\browser\default\connectors\php\config.php
But before that, make sure that $Config['UserFilesAbsolutePath'] is set correctly to point to your userfiles directory (absolute path) e.g.:
and $Config['UserFilesPath'] is relative to the document root (here document root is /home/login/public_html/example.com/)
Additionally, try in editor\filemanager\upload\php\config.php setting $Config['UseFileType'] to true
if you set $Config['UseFileType'] to true, when you click "Image button" and then upload image file, it will be sent to "...userfiles/image/" instead of "..userfiles/"
Let me know if that solved your problem.
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+