We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19851
    • 2 Posts
    Hi I has someone create a website for me using modx and i only know a little bit about it. i couldnt login to the manager so I deleted the user of the database and recreated the user with the same name. the login failed and now my site is gone. the homepage says:

    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: mysql_connect() [function.mysql-connect]: Access denied for user ’kathyspa_kathysp’@’localhost’ (using password: YES)
    Error type/ Nr.: Warning - 2
    File: /home/kathyspa/public_html/manager/includes/extenders/dbapi.mysql.class.inc.php
    Line: 87
    Line 87 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {

    Parser timing
    MySQL: 0.0000 s (0 Requests)
    PHP: 0.0166 s
    Total: 0.0166 s
    Error while inserting event log into database.


    Any ideas?

    Thanks!
      • 30564
      • 60 Posts
      OK.. you deleted your user ID and recreated it in something like phpadmin presumably. You did link the new user to the database first I presume.

      The password needs to be hashed for security purposes, so if you created a new user the password may not be hashed. This site http://md5.benramsey.com/provides ’hashing’ over the net. Enter your password and paste the resultant hash back into the database. This should provide access. If not, you may have to run installation, with the new user name/password combination having created a MySQL user profile.

      Regards