Similar to Server check, let's make a Tiki recovery feature/mode. Like tiki-install.php, this should only be accessible if you have DB password and should auto-lock. In fact, this could just be a mode/page of tiki-install.php rather than a new file (ex.: tiki-recovery.php)

  • Tiki Install is to install and upgrade
    • Tiki TRIM is for mass deployments
  • Tiki Check and Permission Check are to manually check Server Compatibility issues (for a new install or a server migration)
  • Tiki Monitoring is to detect issues and send alerts
  • Tiki Recovery is to fix a Tiki that was once working, but stopped working for some reason


It should be possible to set any pref

  • which can lead to being locked out of Tiki (think Safe Mode)
  • which can be used to debug
  • Should be possible to set memory_limit, like WordPress (of course, if server lets you)
    • If server doesn't let you, link to documentation about php.ini and htaccess


Debug

  • PHP error reporting level:
  • Add HTML comment at start and end of each Smarty template (TPL).


Recover from a crash

Related


alias

Show PHP error messages
 
ERROR (E_WARNING): Trying to access array offset on null
At line 298 in temp/templates_c/en_social^51ed9d5e273be5e76d0e990a7170327cc292754c_0.file_tiki-show_page.tpl.php