Tool order doest not work after editing database (HELP)

Hi !

First of all thank you for reading this.

So I used a long time the elggxuserpoints plugin, but were're redisgning our site and we do no want to ue it anymore. So we desactivated the plugin and uninstalled it, but there were still database artifacts, so we used search fonction in phpmyadmin and delated all userpoints refferences.

BUT here is the thing : now the tool orders (when putting a plugin up or down) does not work anymore. It say the plugin was successfully moved, but the order displayed does not change. So I guess I deleted some function that should have not been delated.

Any help getting this to work again ?

 

MAny thanks in advance !

  • Never edit the database manually.  I dedicate this page to the recent influx of people who have killed their sites because they change the database manually.  Don't do it!

    Your best option is restoring from the backup you made before making the changes.  Otherwise, there's going to be some hunting required to find exactly what's wrong.  You can try deleting the metadata that stores the plugin order by running this as admin from your elgg root:

    <?php

    require 'engine/start.php';

    $site = get_entity($CONFIG->site_guid);

    $site->pluginorder = '';