Improve the process for check / reporting a problem with Xibo server
It would be super handy for support requests if we had a button on the Management menu that generated a txt file with things like output of phpinfo(), last few hundred entries in log, versions etc.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Low
- Drafter:
- Alex Harrington
- Direction:
- Needs approval
- Assignee:
- Dan Garner
- Definition:
- Approved
- Series goal:
- Accepted for 1.0
- Implementation:
- Implemented
- Milestone target:
- 1.0.0
- Started by
- Dan Garner
- Completed by
- Dan Garner
Whiteboard
Dan:
Need to extend the config object to check for php server setup and writeable directories, etc.
Trouble Shooting Object
Design a new wizard that available from the Management menu which is essentially "Report a Problem". It should perform the following steps:
1. Show the output of config object [Dan - Done]
2. Button to turn on debug and auditing [Dan - Done]
3. Tell you to recreate the problem [Dan - Done]
4. Button to press that collects (and presents for download):
- PHPInfo output [Dan - Done]
- Last hour of log [Dan - Done]
- Dump of settings table (without server key or home call key) [Dan - Done]
- Dump of display table (without keys) [Dan - Done]
- Dump Sessions [Dan - Done]
5. Button to turn debug off again [Dan - Done]
6. Link to the report a bug page on Launchpad (for the right series) [Dan - Done]
Also add a flag for toggle display php errors . Call this Server Mode (production / test) and add to settings. [Dan - Done]
AlexH: Your implementation in config looks fine to me. If you want to update install.php and upgrade.php to use that then go ahead. I shan't be upset :D
Dan: Nearly complete - I will not edit the installer / updater at the moment as it makes more sense for you to do it (as it is in your code)
Dan: Needs test