We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9366
    • 19 Posts
    Hi there,

    I’ve installed 2 versions of ModX under 2 subdomains using 2 separate databases. Now one is giving me this error when I try to access the main site or the manager:

    « 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 ’...’@’localhost’ (using password: YES)
    Error type/ Nr.: Warning - 2
    File: /manager/includes/extenders/dbapi.mysql.class.inc.php
    Line: 89
    Line 89 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.0447 s
    Total: 0.0447 s

    This error repeats ad infinitum...

    Any suggestions would be much appreciated.
      • 9366
      • 19 Posts
      I’m getting somewhere. Having exported from phpmyadmin, deleted one database and then imported, things seem to be moving.

      I now have a problem in that I have no css loading within the manager, so can’t really do much, plus I’m getting the following when trying to view the website itself: ERROR: Too many forward attempts!

      The request could not be completed due to too many unsuccessful forward attempts.


      I’ve tried viewing individual image files with the manager theme and get the same "too many forward attempts" error.
        • 20357
        • 1 Posts
        Hola a todos.

        Tengo el mismo problema. En el archivo dbapi.mysql.class.inc.php en la linea 89

        Line 89 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd, true))) {

        estoy trabajando con modx para desarrollar una intranet,todo iba bien, creo que se debe a que el usuario y el password no existen, cualquier ayuda, gracias de antemano.

          • 3749
          • 24,544 Posts
          Quote from: faciodesign at Nov 24, 2009, 11:54 AM

          I’m getting somewhere. Having exported from phpmyadmin, deleted one database and then imported, things seem to be moving.

          I now have a problem in that I have no css loading within the manager, so can’t really do much, plus I’m getting the following when trying to view the website itself: ERROR: Too many forward attempts!

          The request could not be completed due to too many unsuccessful forward attempts.


          I’ve tried viewing individual image files with the manager theme and get the same "too many forward attempts" error.

          The "too many forward attempts" error usually means that the "page not found" page can’t be found (it’s usually your home page if you haven’t changed it), when a page can’t be found, it forwards to that page, which can’t be found and triggers a forward to the same page -- ad infinitum.

          If you have friendly URLs on, I’d turn them off for now and rename the .htaccess file in the MODx root to ht.access until you get things sorted.
            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