in all my feng office installations i see this problem:
1 - i click on Image icon
2 - choose upload tab
3 - choose my file from PC
4 - click Upload and nothing to happen ((
in chrome and firebug i see this error:
Failed to load resource: the server responded with a status of 500 (Internal Server Error) - /public/assets/javascript/ckeditor/ck_upload_handler.php?CKEditor=og_1396953210_113106ckeditor&CKEditorFuncNum=227&langCode=ru
Php error have this:
Warning: require_once(/config/config.php): failed to open stream: No such file or directory in /home/websites/w_dev/my-domain.ru/public_html/public/assets/javascript/ckeditor/ck_upload_handler.php on line 15
Fatal error: require_once(): Failed opening required '/config/config.php' (include_path='.:/opt/php/5.3.13-gd-wuimap-o1/lib/php') in /home/websites/w_dev/my-domain.ru/public_html/public/assets/javascript/ckeditor/ck_upload_handler.php on line 15
i try change rules to config.php on 777, but it's not work to this error.
replace this code in \public\assets\javascript\ckeditor\ck_upload_handler.php:
define('APP_ROOT', realpath(dirname(__FILE__) . "/../../../../../$iname"));
to this:
define('APP_ROOT', $_SERVER['DOCUMENT_ROOT']);
and all work ok))