We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37138
    • 12 Posts
    Says invalid login or password. Not receiving reminder email.
    core/cache/error.log says-
    [2019-03-23 12:54:44] (ERROR @ /home/sainiru/public_html/synaptology.com/core/xpdo/om/xpdoobject.class.php : 240) Error 42S22 executing statement:
    Array
    (
    [0] => 42S22
    [1] => 1054
    [2] => Unknown column 'modResource.alias_visible' in 'field list'


    How to reset password in mysql?
      • 3749
      • 24,544 Posts
      What MODX version did you upgrade from?

      There's a good chance that running this query in PhpMyAdmin (after selecting you MODX DB) will solve your immediate problem:

      ALTER TABLE  `modx_site_content` ADD COLUMN `alias_visible` INT( 2 ) NOT NULL DEFAULT  '1';


      If you upgraded directly from a very old version of MODX, though, you may be missing other DB fields as well.

      In that case, if you have a backup from before the upgrade, I'd suggest reverting to it, then upgrading in stages -- installing every x.x.0 version newer than your backup version (e.g., 2.2.0, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.7.1).

        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting