We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1586
    • 33 Posts
    I have moved my site to new location, exactly as described here: http://wiki.modxcms.com/index.php/Moving_Site_To_Another_Location

    I have corrected some permissions, and edited config.inc.php in order to use new database. Database already exists and seems to be working. But when I type address of my site, I see "500 Internal Server Error" you can see it too: http://futronix.aikihome.delta.biz.ua/

    I’ve found "error.log" file in MODx directory, and now I know that MODx can’t connect to DB, here is part of log:

    [07-Apr-2007 14:07:30] PHP Warning: mysql_connect() [<a href=’function.mysql-connect’>function.mysql-connect</a>]: Access denied for user ’aikihome_fut’@’localhost’ (using password: YES) in /home/aikihome/public_html/futronix/manager/includes/extenders/dbapi.mysql.class.inc.php on line 85

    But why???
      • 18397
      • 3,250 Posts
      Usually a 500 error means a permissions mistake (you may have set files or folders to 777 and your host does not allow that) or the gzip flags in the .htaccess file are on (and gzip is not installed on the new server).