SondagesPro / LimeSurvey-SondagesPro

LumeSurvey version LTS + other fix

Home Page:http://www.sondages.pro

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP error when using KCfinder in L.S. SondagesPro 1.7.1

fvanderstarre opened this issue · comments

When trying to insert an image file into question text, after clicking "Browse server" in KCfinder, an error is displayed:
"Internal Server Error
Undefined index: config"
Server log says: PHP Notice: Undefined index: config in /data/websites/limesurvey-test/html/cru/application/core/LSYii_Application.php on line 47
PHP version is 5.6.40.
Works OK in PHP 7.2.18.

Surely related to 0cd6c1d

I can't reproduce … with debug=2 and PHP Version 5.6.40 …

User config is read here :

$userConfigs = require(__DIR__ . '/../config/config.php');

Check your config.php file, maybe an outdated version …

You're right, there was an error in my config.php file. :-(
Sorry to bother you!