New Community Forums are coming. Watch this space for news.
Subscribe: RSS
  • I receive the error message

    FATAL ERROR: ... You\'re using PHP version '.MODX_SETUP_PHP_VERSION.',

    when running c:/xampp/htdocs/modx-2.6.1-pl/setup/index.html. Seemingly the same was asked 4 years ago at

    https://forums.modx.com/thread/82455/trouble-installing-modx-rev

    but received no response. There, the full lengthy error message is quoted. It is the same as mine.

    The error message itself seems corrupted as it recites a variable name rather than a variable value (a valid php version). Besides, the alleged error seems not to exist as I have php 7.2.0. XAMPP and MODX are new downloads on a new laptop. Running phpinfo() says php-version is 7.2.0, json support enabled. localhost/phpmyadmin says "Apache/2.4.29 (Win32) OpenSSL/1.1.0g PHP/7.2.0". Follwing the indications at

    https://forums.modx.com/thread/?thread=99417

    I set date.timezone=Europe/Berlin and restarted localhost. Same error.

    Any idea what this is and what to do?

    Thank you for your attention.

    Best regards

    Axel

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

    • You may have the directory structure wrong.

      Does the modx-2.6.1-pl directory contain the core, connectors, and manager directories?

      Is this a clean, new install or a copy of a remote site?
        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
      • I receive the error message

        FATAL ERROR: ... You\'re using PHP version '.MODX_SETUP_PHP_VERSION.',

        when running c:/xampp/htdocs/modx-2.6.1-pl/setup/index.html. Seemingly the same was asked 4 years ago at

        https://forums.modx.com/thread/82455/trouble-installing-modx-rev

        but received no response. There, the full lengthy error message is quoted. It is the same as mine.

        The error message itself seems corrupted as it recites a variable name rather than a variable value (a valid php version). Besides, the alleged error seems not to exist as I have php 7.2.0. XAMPP and MODX are new downloads on a new laptop. Running phpinfo() says php-version is 7.2.0, json support enabled. localhost/phpmyadmin says "Apache/2.4.29 (Win32) OpenSSL/1.1.0g PHP/7.2.0". Follwing the indications at

        https://forums.modx.com/thread/?thread=99417

        I set date.timezone=Europe/Berlin and restarted localhost. Same error.

        Any idea what this is and what to do?

        Thank you for your attention.

        Best regards

        Axel
        • I guess it's right and clean. In modx-2.6.1-pl is connectors, core, manager, setup. It is a regular downloadn and I unzipped it into /htdocs/. Note that this is my second try. I even removed xampp after the first try with the same error.

          Thank you for the time you take.

          Best regards

          Axel
          • Since it's a local install I'm assuming that you didn't copy the files individually with FTP. That often results in missing or corrupted files.

            The only other thing I can think of is something in the XAMPP configuration. Make sure the rewrite engine and PDO are enabled. Does PhpMyAdmin work on the MODX database?
              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
            • With reference to your mention of PHP timezone settings did you enter the timezone exactly as written above?

              If so you need to amend it to read as below with the speech marks around the location:

              date.timezone = "Europe/Berlin"

                If I help you out on these forums I would be very grateful if you would consider rating me on Trustpilot: https://uk.trustpilot.com/review/andytough.com

                email: andy@andytough.com | website: https://andytough.com
              • discuss.answer
                Quote from: BobRay at Jan 09, 2018, 11:13 PM
                Since it's a local install I'm assuming that you didn't copy the files individually with FTP. That often results in missing or corrupted files.

                The only other thing I can think of is something in the XAMPP configuration. Make sure the rewrite engine and PDO are enabled. Does PhpMyAdmin work on the MODX database?

                It seemed that the localhost itself was corrupted. Sometimes it processed php files, sometimes not. Phpmyadmin was working, seemingly properly. So I deleted modx and xamppm downloaded all new, installed all new, and now it is running. I don't know what it finally was.

                Thank you for your answers.

                Best regards

                Axel