Find the Exponential Software extensions you want
UNIX name | Owner | Status |
---|---|---|
OWDatabaseCheckup | 7x | stable |
Version | Compatible with |
---|---|
N/A | N/A |
Extension : OWDatabaseCheckup v0.1
Requires : eZ Publish 4.x and 5.x
Author : Open Wide http://www.openwide.fr
OWDatabaseCheckup provides php cli scripts for common database maintenance.
Removing a class attribute should also remove all corresponding object attributes. If it doesn't for any reason, object attributes remain orphans in ezcontentobject_attribute table and may cause fatal errors.
This script gets all orphans object attributes and remove them from ezcontentobject_attribute table.
php bin/php/fixcontentobjectattributes.php [--dry-run] [--remove-objectattributes]
Content objects are always published with at least one main node. Sometimes, using the API to create content can lead to published objects with no nodes.
This scripts gets all published content objects which do not have any nodes avoiding in trash objects and drafts. Then you can add a new main node or delete them.
php bin/php/fixobjectswithoutmainnode.php [--dry-run] [--update-objects] [--target-node=VALUE] [--remove-objects]
These scripts directly modifies your eZ Publish database records. You shall back it up before running them !