[installation & upgrade] Build a sanity check module to run after (installation or) migration #23

Closed
opened 2026-10-04 23:40:27 +02:00 by adam · 2 comments
Owner

Reported by VDigital on 17 Aug 2006 12:25

Version: 1.6.1

As reported in http://forum.phpwebgallery.net/viewtopic.php?id=8664
Users by using a bad edit product can be faced to a corrupted environment.
A small module can do basic controls and made corrective actions against some wrong or missing parameters.
In that case, webmaster status missing...
But check can be done for guest missing as well,
against missing/wrong parameters in _config.
These checks have to be outside of maintenance menu due to this case (webmaster missing).
A check can also be done against mysql.inc.php (remove migration indicator not performed, and I don't know how but a test if HTML headers are not included in that module will be excellent.

Steps to reproduce: Add <html> in mysql.inc.php prior to migrate...

Piwigo Bugtracker #523

**Reported by VDigital on 17 Aug 2006 12:25** **Version:** 1.6.1 As reported in http://forum.phpwebgallery.net/viewtopic.php?id=8664 Users by using a bad edit product can be faced to a corrupted environment. A small module can do basic controls and made corrective actions against some wrong or missing parameters. In that case, webmaster status missing... But check can be done for guest missing as well, against missing/wrong parameters in _config. These checks have to be outside of maintenance menu due to this case (webmaster missing). A check can also be done against mysql.inc.php (remove migration indicator not performed, and I don&#039;t know how but a test if HTML headers are not included in that module will be excellent. **Steps to reproduce:** Add &lt;html&gt; in mysql.inc.php prior to migrate... [Piwigo Bugtracker #523](http://piwigo.org/bugs/view.php?id=523) <!-- github-sync-id:97225172 -->
adam closed this issue 2026-10-04 23:40:27 +02:00
Author
Owner

Comment posted by VDigital on 19 Aug 2006 12:53

Cf. http://forum.phpwebgallery.net/viewtopic.php?pid=43833#p43833

Sanity check can create missing local-layout.css

**Comment posted by VDigital on 19 Aug 2006 12:53** Cf. http://forum.phpwebgallery.net/viewtopic.php?pid=43833#p43833 Sanity check can create missing local-layout.css <!-- github-comment-id:124889142 -->
Author
Owner

I close this issue. I think plugin "check integrity" already does the job.

I close this issue. I think plugin "check integrity" already does the job. <!-- github-comment-id:251662265 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#23