We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 18367
    • 834 Posts
    Hmmm, maybe I didn’t post that screenshot earlier, must have been a different post.

    Anyway, here it is.

      Content Creator and Copywriter
      • 18367
      • 834 Posts
      OK Ryan,

      I tried this on a live server and got the following error message. Also tried both of your alternatives. I figure I need to input an password somewhere or grant access somehow, but I can’t see how to do it. Any thoughts?

      Thanks.

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

      PHP error debug
      Error: mysql_pconnect(): Access denied for user ’root’@’localhost’ (using password: NO)
      Error type/ Nr.: Warning - 2
      File: /hsphere/local/home/h1003a/breakthroughecommerce.com/dev/assets/templates/acwa/Connections/dbConnect.php
      Line: 9
      Line 9 source: $dbConnect = mysql_pconnect($hostname_dbConnect, $username_dbConnect, $password_dbConnect) or trigger_error(mysql_error(),E_USER_ERROR);

      Parser timing
      MySQL: 0.0009 s (4 Requests)
      PHP: 0.0293 s
      Total: 0.0302 s
        Content Creator and Copywriter
        • 18367
        • 834 Posts
        OK,

        answering my own question again. (Gotta stop doing that, people will begin to think I know what I’m doing.)

        In the extra dbConnect.php file in my earlier long post

        Change the names, logins, passwords etc to reflect your own set up.
          Content Creator and Copywriter