We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19889
    • 616 Posts
    Hello,
    just did a clean install of the latest releases and I’m getting the following error:

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

    PHP error debug
    Error: is_file() [function.is-file]: Stat failed for <div class="ditto_summaryPost"> <h3><a href="[~[+id+]~]" title="[+title+]">[+title+]</a></h3> <div class="ditto_info" >By <strong>[+author+]</strong> on [+date+]. <a href="[~[+id+]~]#commentsAnchor">Comments ([!Jot?&docid=`[+id+]`&action=`count-comments`!])</a></div><div class="ditto_tags">Tags: [+tagLinks+]</div> [+summary+] <p class="ditto_link">[+link+]</p> </div> (errno=0 - No error)
    Error type/ Nr.: Warning - 2
    File: C:\Documents and Settings\Marco M. Jaeger\My Documents\My Web Sites\www\cms\modx\assets\snippets\ditto\classes\phx.pre.class.inc.php
    Line: 44
    Line 44 source: } else if(is_file($tpl)) {

    Parser timing
    MySQL: 0.0193 s (17 Requests)
    PHP: 0.1208 s
    Total: 0.1402 s


    I hope somebody has an idea what’s wrong.

    thank you in advance for your help.
      • 18397
      • 3,250 Posts
      I just commited a bugfix that should address this issue. You can get a copy from the SVN.
        • 19889
        • 616 Posts
        Quote from: Mark at Feb 19, 2007, 01:37 PM

        I just commited a bugfix that should address this issue. You can get a copy from the SVN.

        sorry, but I’m still getting the same error?!

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

        PHP error debug
        Error: is_file() [function.is-file]: Stat failed for <div class="ditto_summaryPost"> <h3><a href="[~[+id+]~]" title="[+title+]">[+title+]</a></h3> <div class="ditto_info" >By <strong>[+author+]</strong> on [+date+]. <a href="[~[+id+]~]#commentsAnchor">Comments ([!Jot?&docid=`[+id+]`&action=`count-comments`!])</a></div><div class="ditto_tags">Tags: [+tagLinks+]</div> [+summary+] <p class="ditto_link">[+link+]</p> </div> (errno=0 - No error)
        Error type/ Nr.: Warning - 2
        File: C:\Documents and Settings\Marco M. Jaeger\My Documents\My Web Sites\www\cms\modx\assets\snippets\ditto\classes\phx.pre.class.inc.php
        Line: 44
        Line 44 source: } else if(is_file($tpl)) {
          • 18397
          • 3,250 Posts
          Are you sure you got the SVN HEAD from http://svn3.cvsdude.com/ditto/codebase/ and not the Ditto 2 Branch? (nolonger there)