We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6726
    • 7,075 Posts
    I have been warned of this through my blog (someone posted a snipe comment about MODx demo not even working tongue) : the demo is not working, and worse, displaying a parse error...

    « 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]: User opencms_demo has already more than ’max_user_connections’ active connections
    Error type/ Nr.: Warning - 2
    File: /home/opencms/public_html/demo/modx/manager/includes/extenders/dbapi.mysql.class.inc.php
    Line: 85
    Line 85 source: if (!$this->conn = ($persist ? mysql_pconnect($host, $uid, $pwd) : mysql_connect($host, $uid, $pwd))) {

    Parser timing
    MySQL: 0.0000 s s (0 Requests)
    PHP: 0.0234 s s
    Total: 0.0234 s s

    Would that be the server there or is it MODx ?

    Edit : Seems to be server related, a few other demos are affected...



      .: COO - Commerce Guys - Community Driven Innovation :.


      MODx est l'outil id
      • 22815
      • 1,097 Posts
      Indeed, it is probably worth reminding people that OpenSourceCMS are running a large number of databases that are being visited by many people and it is unsurprising that they will hit their max user from time to time.

      That error has MODx reporting that it has errored because PHP errored, which in turn points the finger at MySQL.

      It should be possible to trap for this error and display a prettier "Database server busy" message. It would be interesting to know what other CMSes did in this situation.

      The other thing to do would be to manage expectations and to make it clearer to people that the MODx demo is hosted by a third party. But then we already seem to link to the MODx page on OSCMS rather than directly to the demo.
        No, I don't know what OpenGeek's saying half the time either.
        MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
        Forum: Where to post threads about add-ons | Forum Rules
        Like MODx? donate (and/or share your resources)
        Like me? See my Amazon wishlist
        MODx "Most Promising CMS" - so appropriate!