No announcement yet.

I broke my forums.

  • Time
  • Show
Clear All
new posts
  • Windian
    New Member
    • Oct 2009
    • 10

    I broke my forums.

    I recently tried to install a mod on my site (kbank), but completely messed it up. I deleted all the strings that included kbank in phpmyadmin because I was unaware of that this could be added to the config.php
    define('DISABLE_HOOKS', true);

    Now my site has a 500 error. I tried reuploading the files and doing an upgrade through install/upgrade.php but on step 4 i get this error:

    Warning: Invalid argument supplied for foreach() in /home/legacy/public_html/includes/adminfunctions_template.php on line 2489

    If anyone can help with this, I'd be greatly appriciative. I'd rather not restart from scratch.
    Senior Member
    • Nov 2005
    • 941
    • 4.0.x

    Restore from the database backup you did prior to chopping on the database.


    • cellarius
      Senior Member
      • Aug 2005
      • 4586
      • 3.8.x

      Try first: reinstall the mod, then uninstall it as it's supposed to be.


      Related Topics