3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
254 stars 143 forks source link

Error 500. Error in a plugin configuration file #1900

Closed bindmisson closed 1 year ago

bindmisson commented 3 years ago

Error 500. A technical error has occured. Sorry for this trouble. Error in a plugin configuration file

  1. Go to 'lizmap admin area'
  2. Click on 'Lizmap configuration'
  3. Scroll down to 'Create new repository'
  4. See error

After creating new repository I got the below error. I manually added '"' many times. But now the installation went down. Adding '"' manually not solving this error now.

Error log: 2020-10-31 17:14:35 x.x.x.x [2] syntax error, unexpected $end, expecting TC_DOLLAR_CURLY or TC_QUOTED_STRING or '"' in /var/www/lizmap-web-client-3.3.11/lizmap/var/config/lizmapConfig.ini.php on line 51 /var/www/lizmap-web-client-3.3.11/lib/jelix/core/jCoordinator.class.php 110 /lizmap/ array ( )

0   parse_ini_file()    /var/www/lizmap-web-client-3.3.11/lib/jelix/core/jCoordinator.class.php : 110
1   jCoordinator->_loadPlugins()    /var/www/lizmap-web-client-3.3.11/lib/jelix/core/jCoordinator.class.php : 87
2   jCoordinator->__construct() /var/www/lizmap-web-client-3.3.11/lizmap/www/index.php : 20

2020-10-31 17:14:35 157.44.178.188 [13] Error in a plugin configuration file -- plugin: lizmap file: /var/www/lizmap-web-client-3.3.11/lizmap/var/config/lizmapConfig.ini.php /var/www/lizmap-web-client-3.3.11/lib/jelix/core/jCoordinator.class.php 111 /lizmap/ array ( )

0   jCoordinator->_loadPlugins()    /var/www/lizmap-web-client-3.3.11/lib/jelix/core/jCoordinator.class.php : 87
1   jCoordinator->__construct() /var/www/lizmap-web-client-3.3.11/lizmap/www/index.php : 20

Environment

laurentj commented 3 years ago

It seems this is more a PHP issue than a lizmap issue.