Elfinder Unable To Connect To Backend.

Hello,





I transfer my website VPS server, but after the transfer, I tried to upload an image on the product page, I get this error Unable to connect to backend.



Anyone know how I can fix this issue?



Thank you

Tom

My hosted just fixed the problem. It was something with (mod_security rule).

Hello.

How you solve this problem ?



Thank you

Robert.

How solve this problem ?

How change in mod_security rule ?



Thank you,

Stavros

[quote name='smarag' timestamp='1435751041' post='221202']

How solve this problem ?

How change in mod_security rule ?



Thank you,

Stavros

[/quote]



Ask your host to fix it.

I have the same issue. CS-Cart advices to turn on the Exec function. My host doesn;t want to enable it on my VPS because:

The exec (); PHP function is disabled to ensure the safety of your domain and VPS. This function is disabled at almost every hosting provider because it lets you execute files on the server itself. This makes it possible to fully hack the server in a short time. This is the reason that we have turned off.

In the past I had something similar. The error was something like "Invalid backend configuration". Then this was the solution (but I can't find it in the current code). Hopefully this helps any of you.

We examined this issue carefully and managed to find the cause of the problem. It is caused by a bug in the third-party library used in CS-Cart. I fixed it on your server by replacing the following part of code:

if (!function_exists('exec')) {
$this->_options['archivers'] = $this->_options['archive'] = array();
return;
}

with this one:

if (!function_exists('exec')) {
$this->_options['archivers'] = array(
'create' => array(),
'extract' => array()
);
$this->_options['archive'] = array();
return;
}

in the elFinder.class.php file located in the js/lib/elfinder/connectors/php directory of your CS-Cart installation. Now the issue seems to be resolved.