Bug #13178

Possible PHP regression: cannot log in with Debug mode enabled when using PHP 7.2

Added by Dan Gillean 8 months ago. Updated 6 months ago.

Status:Code ReviewStart date:09/18/2019
Priority:MediumDue date:
Assignee:-% Done:


Target version:-
Google Code Legacy ID: Tested version:2.5, 2.6
Sponsored:No Requires documentation:


I've encountered an issue with our Debug mode while testing in the AtoM Vagrant box. Steve could not reproduce the issue on an older box using PHP 7.0, but Corinne could reproduce it in her 7.2 box. Essentially, logging in doesn't work when debug mode is enabled in AtoM.

To reproduce in an installation using PHP 7.2

  • Make sure you can access qubit_dev.php - you may need to add your IP to /etc/php/7.2/fpm/pool.d/atom.conf
  • If you edit this configuration file and add your IP, be sure to restart PHP-FPM after
  • Open AtoM in the web browser
  • Add qubit_dev.php to the URL
  • Attempt to log in
Error encountered
  • AtoM reloads the page but will not log the user in

Expected result
Users can log in while Debug mode is enabled


#1 Updated by Mike Cantelon 6 months ago

  • Status changed from New to Code Review

Deleting cookies seemed to have fixed it.

I got rid of a bunch of PHP 7.2-related warnings, though.

PR for CR: https://github.com/artefactual/atom/pull/1018

Also available in: Atom PDF