Loading...
 
Skip to main content

History: Recovery

Source of version: 13 (current)

Copy to clipboard
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 [http://core.trac.wordpress.org/changeset/17749|set memory_limit], like WordPress (of course, if server lets you)
** If server doesn't let you, link to documentation about ((doc:php.ini)) and ((doc:htaccess))


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


! Recover from a crash
* Some operations can lead to be locked out of Tiki
** Show last 20 prefs that were changed and offer to revert
** {CODE()}session_protected ->  {tr}Protect all sessions with HTTPS.{/tr} {tr}Only activate if you have already configured SSL, otherwise, your will lock yourself out of Tiki.{/tr}{CODE}
** HTTPS login
* ((doc:Troubleshooting|#Locked_out_of_Tiki))
* Repair MySQL tables
* Empty all cache
* Rebuild Search Index
* Empty tiki_sessions
* Invalid Smarty in module/header/footer/etc.
* ((doc:Security Admin|#Check_your_files|Check file integrity))
* ((profiles:Debug_Mode_Enabled)) and ((profiles:Debug_Mode_Disabled)) 
* https://sourceforge.net/p/tikiwiki/code/64161

! Related
* ((Command-line tool))


-=alias=-
* (alias(Recovery mode))
* (alias(Repair))
Show PHP error messages