Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLPI mode cron triggers PHP warning from ini_set #17961

Closed
2 tasks
cconard96 opened this issue Sep 30, 2024 · 0 comments
Closed
2 tasks

GLPI mode cron triggers PHP warning from ini_set #17961

cconard96 opened this issue Sep 30, 2024 · 0 comments
Assignees

Comments

@cconard96
Copy link
Contributor

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Version

main

Bug description

See #17699

[2024-09-30 13:35:26] glpiphplog.WARNING:   *** PHP Warning (2): ini_set(): Session ini settings cannot be changed when a session is active in /var/www/html/fix95/front/cron.php at line 58
  Backtrace :
  front/cron.php:58                                  ini_set()
  ...Glpi/Controller/LegacyFileLoadController.php:58 require()
  vendor/symfony/http-kernel/HttpKernel.php:101      Glpi\Controller\LegacyFileLoadController->Glpi\Controller\{closure}()
  ...ymfony/http-foundation/StreamedResponse.php:106 Symfony\Component\HttpKernel\HttpKernel::Symfony\Component\HttpKernel\{closure}()
  vendor/symfony/http-foundation/Response.php:423    Symfony\Component\HttpFoundation\StreamedResponse->sendContent()
  public/index.php:58                                Symfony\Component\HttpFoundation\Response->send()

Relevant log output

No response

Page URL

No response

Steps To reproduce

No response

Your GLPI setup information

No response

Anything else?

No response

@cconard96 cconard96 changed the title Session ini settings cannot be changed when a session is active GLPI mode cron triggers PHP warning from ini_set Sep 30, 2024
@ccailly ccailly closed this as completed Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants