We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19975
    • 429 Posts
    We are experiencing server issues with MODx, our server will be upgrading to PHP 5.3.8 but on testing this results in the following errors:


    ---------

    « MODx Parse Error »

    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: number_format() expects parameter 1 to be double, string given
    Error type/ Nr.: Warning - 2
    File: /home/simplyco/public_html/assets/snippets/ditto/classes/phx.parser.class.inc.php(303) : eval()'d code
    Line: 7

    Parser timing
    MySQL: 0.0187 s (78 Requests)
    PHP: 0.0865 s
    Total: 0.1052 s


    ---------

    MODX version: 1.0.5
    Server: MySQL 5.0.92-community
    Plugins: PHx 2.1.3, DirectResize, Forgot Manager Login 1.1.2, Inherit Parent Template 1.1, Quick Manager+ 1.5.5, TinyMCE Rich Text Editor 3.3.9.2, TransAlias 1.0.1, Search Highlight 1.5, automaticTpl, content_history, Strict URLs. [ed. note: SandersDesign last edited this post 14 years, 10 months ago.]
      Martin Sanders - Design & Web Development
      • 19975
      • 429 Posts
      The problems seem to relate to PHx, anyone able to confirm the necessary server settings to get PHx to work? [ed. note: SandersDesign last edited this post 14 years, 10 months ago.]
        Martin Sanders - Design & Web Development
        • 1343 ☆ A M B ☆
        • 2,213 Posts
        Hello,

        I have no problems using PHx on php 5.3.x, so could you tell us more about how you are using it on the site in question?
          Patrick | Server Wrangler
          About Me: Website | Tweets |  MODX Hosting
          • 19975
          • 429 Posts
          the issue has been resolved via resetting the server to run version 5.2 and restoring the backup.
            Martin Sanders - Design & Web Development