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

    I have a new install, and although I can log into manager OK, no pages will preview as just get this error:

    Fatal error: Call to undefined function apache_request_headers() in /var/sites/c/coachhousesnowdonia.com/public_html/core/cache/includes/elements/modsnippet/33.include.cache.php on line 2

    Revo 2.3.3
    PHP 5.3.28
    Tried clearing cache manually with FTP but just comes back

    Any ideas how to approach it, have never got this before

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

      • 1343 ☆ A M B ☆
      • 2,213 Posts
      Hello,

      Can you tell us what snippet 33 is and what the first 10 lines of the snippet are?
        Patrick | Server Wrangler
        About Me: Website | Tweets |  MODX Hosting
      • discuss.answer
        • 39092
        • 9 Posts
        Quote from: AMDbuilder at Apr 23, 2015, 05:14 PM
        Hello,

        Can you tell us what snippet 33 is and what the first 10 lines of the snippet are?

        Thanks Patrick, great tip.
        Snippet 33 is solo.getSiteURL which comes with the Solo Template from Menno.

        That seemed to cause it (both on my usual hosting and on Modx Cloud), now I've deleted the snippet the pages are running again.
          • 29597 ☆ A M B ☆
          • 350 Posts
          Thanks for submitting! Fixing this right now.
            MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
            DESIGNfromWITHIN, MPThemes and Any Screen Size
            Follow me on Twitter | Read my blog | My code on GitHub
            • 29597 ☆ A M B ☆
            • 350 Posts
            This has been fixed in solo version 1.1.1-pl
            Thanks again bluesparkweb!

            All people who bought SOLO will get a email with a update package, just install it and it should be fine.


            Changelog for SOLO theme

            24-04-2015 solo-1.1.1-pl
            ---------------------------------
            - Removed bad solo.getSiteURL snippet (thanks Mark Ryder)

            11-04-2015 solo-1.1.0-pl
            ---------------------------------
            - Added optional reCAPTCHA from Google to contact form
            - Update FormIt to 2.2.4-pl
            - Improved image resizing by using Resizer with pThumb
            - Fixed popup on retina screens
            - Replace the RTE
            - Add back to top button (thanks Psb Magar)
            - Add references/quotes section (thanks Josef)
            - Add mobile nav (thanks Psb Magar)
            - Add video embed options (Thanks Psb Magar)
            - Add optional contact form spamcheck

            03-04-2015 solo-1.0.2-pl
            ---------------------------------
            - Fix for update script (thanks Bob Ray)

            02-04-2015 solo-1.0.1-pl
            ---------------------------------
            - Add section to menu option
            - Add lexicon load to header
            - Separate header and footer in chunks
            - Set 'Pre-process tags in Property Values' for CSSSweet plugin on install (thanks YJ)
            - Test and improve install/upgrade process
            - Change custom CSS chunk name and category
            - Add more section types
            - Add Google Analytics option
            - Update CSSSweet
            - Add stage background image option
            - Fix image size on WP10

            30-03-2015 solo-1.0.0-pl
            ---------------------------------
            First version
              MODX Ambassador (NL) | Responsive web design specialist, developer & speaker
              DESIGNfromWITHIN, MPThemes and Any Screen Size
              Follow me on Twitter | Read my blog | My code on GitHub