Code Monkey home page Code Monkey logo

Comments (6)

trasher avatar trasher commented on June 17, 2024

There is no syntax error in that file. You probably edited this file, and made a mistake.

Also, 10.0.10 is outdated, consider upgrading.

from glpi.

EC2311 avatar EC2311 commented on June 17, 2024

Hello
No update done on the script itself.
and on another environnement (dev) it's ok. (same version php, apache and mysql)
here we are on pre-prod.

it look likes this script is called every 5 minutes like a cron task.

from glpi.

cconard96 avatar cconard96 commented on June 17, 2024

If the issue is noticed when called from cron, then your system's default version of PHP is too old. The version used by Apache is set separately.
php --version
Use whatever method applies to your OS to change the default PHP version.

from glpi.

EC2311 avatar EC2311 commented on June 17, 2024

php version is 8.0.26 or 8.1.26 : whatever these version, i have this error :(

from glpi.

EC2311 avatar EC2311 commented on June 17, 2024

A thing I don't understand :
in the 'system' notes in glpi : I do see the good version of php used (8.1.26) : ok
but I installed mysql 8.0.22
image
image

and in glpi I see : database engine 5.7.19.
I stopped wamp and restarted it : still 5.7.19

from glpi.

trasher avatar trasher commented on June 17, 2024

Original issue cannot be reproduced on our side: there is no syntax error in that file (try a php -l path/to/that/file). No bug here.

Since your database version is not the one you expect, I guess the PHP running crontab one is not the one you expect neither. You also seem a kind of surprised call comes from a cron... But if there is a cron; that's been setted up on your system, not from GLPI.

Please use forums to get support.

from glpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.