I've been driving myself nuts trying to get fckeditor upload working using the built in filebrowser - actually I'm more interested in quick upload but that doesn't work either. When I click insert image and then browse server I get Call to undefined function base_path() in filemanager.config.php on line 103. In the config.php for the connector I added the line require_once "../../../../../filemanager.config.php"; right after $Config['UserFilesAbsolutePath'] = '' ;. When I got to the fckeditor settings the Path to uploaded files and absolute path to uploaded files displays correctly.

When I try to use the quick upload feature and browse the local file then hit the "send it to server" button the progress box pops up but never completes.

Can anyone help figure this out? I'm using Drupal 6.10.

Comments

sprior’s picture

After a lot of hair pulling I figured out this was caused by my use of a multi-site installation where the drupal code is not under the web server's base directory (actually a security enhancement). The fckeditor module needs to bootstrap a new Drupal session without using one of the main PHP entry points - something I'm not crazy about from a security perspective. The workaround was to hack CheckAuthentication in filemanager.config.php to be able to set $drupal_path to my actual drupal installation directory.

wwalc’s picture

Status: Active » Fixed

Setting to fixed because I don't think I can do anything more with it... however please do let me know if you think it can be improved in any way (feel free to suggest a patch).

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.