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

    I have installed MODX 0.9.6 for the 5th time now on my web server and everything is right except when testing the pages that come with bundle or new pages created thereafter, I’m getting: " This is a preview of your last saved changes. Click here to Save and Refresh your current changes" and the page remains blank. Even when I access those pages directly from the URL bar.

    I really liked the demo and the fact that MODX has implemented some excellent SEO features and I’m choosing it as my main CMS. Can anyone please help me?

    My website is hosted on a Apache server with PHP 5.


    Thanks,
    Treigh
      A MODx Fanatic
      • 22303 MODX Staff
      • 10,725 Posts
      You get this message when simply trying to view a page on the front-end, or is it just blank on the front-end? If it is just blank, see this bug report: FS#877 — Parser not executed in configurations with auto_prepend_file and the related forum topic PHP’s auto_prepend_file directive breaks MODx 0.9.6.
        • 30585
        • 833 Posts
        Hey it Worked Opengeek! Thank you so much!!

        To recap for everyone:

        The problem:

        when testing the pages that come with the MODX 0.9.6 bundle or new pages created thereafter, I was only getting: " This is a preview of your last saved changes. Click here to Save and Refresh your current changes" and the page remained blank. Even when I accessed those pages from the front-end.

        The Solution:

        As suggested by Opengeek [See FS#877 — Parser not executed in configurations with auto_prepend_file ]

        A workaround is to replace line 49 in index.php:

        if(count(get_included_files())>1) $noparser = true;


        with this:


        if(count(get_included_files())>1) {
        if (array_search(__FILE__,get_included_files())>0)
        $noparser = true;
        }




        Thanks again,
        was very helful.

        Treigh


          A MODx Fanatic