Database Validator

Warning: This plugin has't been updated in over 4 years. It may no longer be maintained.

What you can do to help:

Checks your Elgg database for bad users and entities and offers the option to repair

by Cash
Last updated
Recommended Releases
Elgg Release Download Date Links
1.91.5 (7.17 kB)2014-Sep-19
1.81.4 (7.26 kB)2011-Dec-06
1.71.3.1 (7.7 kB)2011-Dec-03
Show all releases

There are four ways that you may receive an error about a file needing an owner:

  1. user without a username
  2. entity with owner_guid set to 0 (object or group)
  3. entity with a deleted owner
  4. entity that is missing an entry in its <type> table

These issues should not occur with normal usage of Elgg, but they do occasionally occur and I believe it probably happens due to server/database crashes. I think they are more common with cheap hosting.

This tool will analyze your database and tell you of possible problems. You can then investigate further in your database (using a tool like phpmyadmin for example). Or you can try to use the repair feature.

Be sure to backup your database before using the repair option.

If your database is very large, you may need to add a line of php code to extend the time limit for the script.

If you are not having any problems with your database, I don't recommend trying to fix it (don't fix what's not broken).

If you are having problems that are not described above, this tool won't fix them. There is no magic here.

One more thing, the repair option will set you as the owner of the orphan objects. You can then delete them or do anything else with them.

Project Info

Stats

  • Category: Tools
  • License: Expat (MIT) License
  • Updated: 2014-11-17
  • Downloads: 4722
  • Recommendations: 20

Other Projects

View Cash's plugins