You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2022-10-24 09:40:44

carlosbmc
Member
Registered: 2016-12-01
Posts: 161

syntax error, unexpected '(' in ....... /glpi/inc/based_config.php on

Hello
I have tried to execute:

bin/console glpi:cache:clear

but console returns this error:


syntax error, unexpected '(' in ....... /glpi/inc/based_config.php on line 150

I'm using GLPI GLPI 9.5.2 ,  and tried over PHP :  7.3.3 and 7.4.3

Any ideas? 
Thank you


GLPI 9.5.2;; FusionInventory: 9.2+1.0;; GLPI Modifications 1.1.4;; Notifications 1.1.9;;  Dashboard 0.8.8;; PHP 7.3.33

Offline

#2 2022-10-27 00:08:53

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,813
Website

Re: syntax error, unexpected '(' in ....... /glpi/inc/based_config.php on

Are you sure the CLI version of PHP is 7.3 or 7.4 and not just what is running in Apache?
From the terminal, if you run "php --version" what version does it show?

Also, you should try the latest bug/security fix version of 9.5 which is currently 9.5.9.
There are many bugs that had been fixed since 9.5.2 and there have been several security fixes made as well.


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB