Help me please when i browse the server. it alert the error below. I am a new phper. thank you
system erro
getDocumentRootPath() . $baseUrl; }
$utilsSecurity =& CKFinder_Connector_Core_Factory::getInstance("Utils_Security");
$utilsSecurity->getRidOfMagicQuotes();
/** * $config must be initialised */
$config = array();
$config['Hooks'] = array();
$config['Plugins'] = array();
/** * read config file */
require_once CKFINDER_CONNECTOR_CONFIG_FILE_PATH;
CKFinder_Connector_Core_Factory::initFactory();
$connector =& CKFinder_Connector_Core_Factory::getInstance("Core_Connector");
if(isset($_GET['command'])) {
$connector->executeCommand($_GET['command']);
} else {
$connector->handleInvalidCommand();
}
system erro
getDocumentRootPath() . $baseUrl; }
$utilsSecurity =& CKFinder_Connector_Core_Factory::getInstance("Utils_Security");
$utilsSecurity->getRidOfMagicQuotes();
/** * $config must be initialised */
$config = array();
$config['Hooks'] = array();
$config['Plugins'] = array();
/** * read config file */
require_once CKFINDER_CONNECTOR_CONFIG_FILE_PATH;
CKFinder_Connector_Core_Factory::initFactory();
$connector =& CKFinder_Connector_Core_Factory::getInstance("Core_Connector");
if(isset($_GET['command'])) {
$connector->executeCommand($_GET['command']);
} else {
$connector->handleInvalidCommand();
}
Re: I got strange altert from ckfinder
If your web server returns plain PHP file when requesting it, then it means that PHP is not enabled at all on your server.
To confirm it, simply create a file named foo.php with the following content:
If it will not print you a lot of things about PHP but simply shows you the same code, then PHP does not work.
Another reason may be that you haven't launched CKFinder via web server (http://example.com/ ..), but simply from your local file system (file://...).
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: I got strange altert from ckfinder
by the way. i come from China.