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

    Few time ago i found that some of resources do not show content and some works good (in any browsers the same as before i thinked that it is browser bug).

    So i migrate a website in localhost and try to repair:

    All that not works shows error (in mozilla only, in other browsers empty white window):

    Fatal error: Maximum execution time of 120 seconds exceeded in C:\OpenServer\domains\extremelab.ru\core\model\modx\modx.class.php on line 2531

    Warning: PDOStatement::execute() [pdostatement.execute]: MySQL server has gone away in C:\OpenServer\domains\extremelab.ru\core\xpdo\om\xpdoobject.class.php on line 236

    Warning: PDOStatement::execute() [pdostatement.execute]: Error reading result set's header in C:\OpenServer\domains\extremelab.ru\core\xpdo\om\xpdoobject.class.php on line 236



    Also i found error in the log:

    [2016-04-08 13:54:30] (ERROR @ C:\OpenServer\domains\extremelab.ru\core\model\modx\modtemplatevar.class.php(833) : eval()'d code : 16) PHP warning: feof() expects parameter 1 to be resource, boolean given
    [2016-04-08 13:54:30] (ERROR @ C:\OpenServer\domains\extremelab.ru\core\model\modx\modtemplatevar.class.php(833) : eval()'d code : 17) PHP warning: fgets() expects parameter 1 to be resource, boolean given

    And it repeats all the time - may here is problem?
      • 3749
      • 24,544 Posts
      It looks like your local server is very slow. MODX makes a ton of http requests, and they can be slow on local servers, leading to timeouts and loss of contact.

      It also looks like one of your TVs (possibly an @FILE or @EVAL TV) may have an error.
        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
        • 52096
        • 5 Posts
        Quote from: BobRay at Apr 08, 2016, 07:39 PM
        It looks like your local server is very slow. MODX makes a ton of http requests, and they can be slow on local servers, leading to timeouts and loss of contact.

        It also looks like one of your TVs (possibly an @FILE or @EVAL TV) may have an error.

        I found that these requestes - to our partners and now it is ok and not related with works of resources.
        But about resources i found a strange thing: Quick upodeate works and normal not. And the most interested that only part of resources not works (500, white screen).
          • 3749
          • 24,544 Posts
          What version of 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
            • 52096
            • 5 Posts
            Version is MODX Revolution 2.4.3-pl but with previous was the same
              • 3749
              • 24,544 Posts
              If you uploaded the files individually with FTP, it's common to have a missing or corrupted file. One thing to try is to use the UpgradeMODX widget to upgrade the site to 2.4.4.

              Have you tried other browsers? It might also be a problem with a browser add-on.
                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
                • 52096
                • 5 Posts
                Quote from: BobRay at Apr 12, 2016, 05:17 PM
                If you uploaded the files individually with FTP, it's common to have a missing or corrupted file. One thing to try is to use the UpgradeMODX widget to upgrade the site to 2.4.4.

                Have you tried other browsers? It might also be a problem with a browser add-on.

                I tryed Mozilla, Chrome and IE - the same.
                Also i did 2 installation (both successeul) and it shows that i have a previous version may be it is the same problem?
                  • 3749
                  • 24,544 Posts
                  Is there anything in the Manager Error Log?
                    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