FCKeditorX patch for server error 500

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
dam

FCKeditorX patch for server error 500

Post by dam »

Hello,
I had some error in FCKeditorX with the file manager : XML server error 500 or something like that.

I just wanted to tell you that I solved this serious problem by adding the following lines at the end of modules/FCKeditorX/FCKeditor/editor/filemanager/browser/default/connectors/php/config.php :

Code: Select all

$Config['UserFilesAbsolutePath'] = $config['uploads_path'];

$logger->log("UserFilesAbsolutePath : ".$Config['UserFilesAbsolutePath']);

$Config['UserFilesAbsolutePath'] = substr($Config['UserFilesAbsolutePath'], strpos($Config['UserFilesAbsolutePath'], "/"));

$logger->log("UserFilesAbsolutePath : ".$Config['UserFilesAbsolutePath']);



$Config['UserFilesAbsolutePath'] = $Config['UserFilesAbsolutePath']."/" ;

$logger->log("UserFilesAbsolutePath : ".$Config['UserFilesAbsolutePath']);
Perhaps it can be useful for someone...
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Re: FCKeditorX patch for server error 500

Post by megabob3 »

dam wrote: Hello,
I had some error in FCKeditorX with the file manager : XML server error 500 or something like that.

I just wanted to tell you that I solved this serious problem by adding the following lines at the end of modules/FCKeditorX/FCKeditor/editor/filemanager/browser/default/connectors/php/config.php :

Code: Select all

$Config['UserFilesAbsolutePath'] = $config['uploads_path'];

$logger->log("UserFilesAbsolutePath : ".$Config['UserFilesAbsolutePath']);

$Config['UserFilesAbsolutePath'] = substr($Config['UserFilesAbsolutePath'], strpos($Config['UserFilesAbsolutePath'], "/"));

$logger->log("UserFilesAbsolutePath : ".$Config['UserFilesAbsolutePath']);



$Config['UserFilesAbsolutePath'] = $Config['UserFilesAbsolutePath']."/" ;

$logger->log("UserFilesAbsolutePath : ".$Config['UserFilesAbsolutePath']);
Perhaps it can be useful for someone...
Thx i will look.
megabob3
Power Poster
Power Poster
Posts: 498
Joined: Sat Jan 08, 2005 11:11 pm
Location: ITALY

Re: FCKeditorX patch for server error 500

Post by megabob3 »

Surely you are right thx.

But it's enough insert this 2 line code:

$Config['UserFilesAbsolutePath'] = $config['uploads_path'];
$logger->log("UserFilesAbsolutePath : ".$Config['UserFilesAbsolutePath']);



Thx alot Dam
Locked

Return to “Modules/Add-Ons”