On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • When i upgrade 2 sites on 1 hosting every day i have eror with xpdo.class.php
    Error text:
    Warning: PDO::__construct(): MySQL server has gone away in /home/users/i/iurabs/domains/mysite.ru/core/xpdo/xpdo.class.php on line 3117

    I can fixed this. Need change password Mysql DB core/config.inc and site work.

    I have problem with modx or Hosting?

    This question has been answered by bsikov. See the first response.

    • Almost certainly hosting, not MODX.
        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
      • Quote from: BobRay at Aug 11, 2018, 10:14 PM
        Almost certainly hosting, not MODX.
        Can u give me hosting settings for the database for new modx revo 2.6? support hosting ask
        cause version 2.5 work good.
        • I don't know what they might want.

          Have you updated all your snippets and plugins? There may be one that's not playing nice with 2.6.5.
            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
          • Quote from: BobRay at Aug 13, 2018, 08:58 PM
            I don't know what they might want.

            Have you updated all your snippets and plugins? There may be one that's not playing nice with 2.6.5.

            I have one old site and 1 new, both have this error.
            • If you're on a shared server, it might just be overloaded. Some other user might have some bad code running.

              The only other thing I can think of is to disable your plugins and snippets one at a time to see if one of them is causing the problem.



                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
              • Quote from: BobRay at Aug 13, 2018, 09:28 PM
                If you're on a shared server, it might just be overloaded. Some other user might have some bad code running.

                The only other thing I can think of is to disable your plugins and snippets one at a time to see if one of them is causing the problem.

                I dnt know when is happen. morning come works, evening dnt work...
                • discuss.answer
                  Quote from: BobRay at Aug 13, 2018, 09:28 PM
                  If you're on a shared server, it might just be overloaded. Some other user might have some bad code running.

                  The only other thing I can think of is to disable your plugins and snippets one at a time to see if one of them is causing the problem.

                  haha, ^_^ we figured out a support. most likely my mistake ... I'm not sure. In my hosting by default, all databases use the same user name, and I set different passwords smiley)))) when changing the DB password for one DB it changed for the rest, hahaha, i.e. you must use 1 password for all databases with this user name. smiley

                  tnx for u help ^_^
                  • I'm glad you got it sorted. smiley
                      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