I got the latest version of FCKeditor and i've tried everything , i've configured the paths and had no luck with filebrowser.
I'm able to upload files to the right directory, but filebrowser does not show any directories, no files and is not able to create directories.
The permissions are set in a right way, i've tried absolute dir paths and document paths and all the options. It's just not working with PHP5! I've had luck with php 4.3.2 , there the settings worked just fine but i don't understand what seems to be the problem! And i can't go back to using php4.
Has anyone had similar problems with php5 and filebrowser? How did you solve it?
I've had zend engine in compatibility mode to get php4 stuff working. But then again it has no effect to filebrowser.
The path is obtained from a session variable, and session is started in the beginning of config.php. But still... NO luck.
Any suggestions? There nothing in the docs that i haven't tried. :/
I'm able to upload files to the right directory, but filebrowser does not show any directories, no files and is not able to create directories.
The permissions are set in a right way, i've tried absolute dir paths and document paths and all the options. It's just not working with PHP5! I've had luck with php 4.3.2 , there the settings worked just fine but i don't understand what seems to be the problem! And i can't go back to using php4.
Has anyone had similar problems with php5 and filebrowser? How did you solve it?
I've had zend engine in compatibility mode to get php4 stuff working. But then again it has no effect to filebrowser.
The path is obtained from a session variable, and session is started in the beginning of config.php. But still... NO luck.
Any suggestions? There nothing in the docs that i haven't tried. :/
RE: Filebrowser not showing files (PHP5)
RE: Filebrowser not showing files (PHP5)
The path related to the document root is set right and i've tried setting the absolute path to the same dir. Well i've gone back to using php4 and surprise and surprise it's working !!!
I can only think of a reason that FCKeditor's filemanager is not compatible with php5!
RE: Filebrowser not showing files (PHP5)
that's possible. FCKeditor was developed over quite a long time.
However, I know that my own filemanager plugin (http://kfm.verens.com/ - see the "sandbox" version) works in PHP5, and presumable Saul's does as well (http://www.saulmade.nl/FCKeditor/FCKPlugins.php).
I'd recommend using either of those - they're quite a bit more advanced than the default file manager.
Kae
RE: Filebrowser not showing files (PHP5)
RE: Filebrowser not showing files (PHP5)
There may be something to do with your server's configuration which is making it not work.
If you check the logs are you getting error messages?
RE: Filebrowser not showing files (PHP5)
Re: Filebrowser not showing files (PHP5)
If you use zend.ze1_compatibility_mode ON in php.ini so that other PHP4 stuff will continue to run ok on the new install of PHP, then you need to TURN zend.ze1_compatibility_mode OFF for FCKEditor FileManager to work, including the MCPUK versions....
Simple solution: in /FCKeditor/editor/filemanager/connectors/php/config.php
Go to line 19, right after session_start();
and add this line to turn off ZEND Compatibility
ini_set('zend.ze1_compatibility_mode','Off');
End of "object required" errors in javascript AND XML errors when you browse or upload a file.