We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15005
    • 18 Posts
    I've recently upgraded a website from 0.9.6 to Evo 1.0.13.
    When updating pages at the front-end using Quick Manager+ (1.5.6), sometimes (on a daily basis depending on manager account activity) a parse error occurs on save but usually updates the page. This sometimes results in QM+ subsequently opening with a blank screen. If this happens QM+ works again only after disabling then re-enabling it.

    The full parse error is shown below, but essentilly is "PHP error debug
    Error : file_get_contents(assets/cache/docid_169.pageCache.php) [function.file-get-contents]: failed to open stream: No such file or directory"

    On inspecting the assets/cache, it contains a docid_xx.pageCache.php for every page that's been opened (since last clearing the cache) as well as siteCache.idx.php. Are these multiple page cache files a new feature of EVO? The cache folder permission is 0777 & the contents all 644

    Anyway this is causing QM+ some difficulty & is very puzzling.
    -----------------------------------------------------------
    MODX Parse Error »
    MODX encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
    PHP error debug
    Error : file_get_contents(assets/cache/docid_169.pageCache.php) [function.file-get-contents]: failed to open stream: No such file or directory
    ErrorType[num] : 	WARNING[2]
    File : 	/societyofindexers/htdocs/manager/includes/document.parser.class.inc.php
    Line : 	513
    Source : 	$flContent = file_get_contents($cacheFile, false);
    Basic info
    REQUEST_URI : 	http://www.indexers.org.uk/index.php?id=169&quickmanagerclose=1
    Resource : 	[169]Booking Information
    Referer : 	http://www.indexers.org.uk/manager/index.php?a=27&id=169&quickmanager=1
    User Agent : 	Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; McAfee; MDDCJS)
    IP : 	94.205.196.188
    Benchmarks
    MySQL : 	0.0120 s (2 Requests)
    PHP : 	0.1008 s
    Total : 	0.1128 s
    Memory : 	5.5 mb
    
    Backtrace
    1	DocumentParser->executeParser()
    index.php on line 133
    2	DocumentParser->prepareResponse()
    manager/includes/document.parser.class.inc.php on line 1598
    3	DocumentParser->checkCache()
    manager/includes/document.parser.class.inc.php on line 1612
    4	file_get_contents()
    manager/includes/document.parser.class.inc.php on line 513


    System
    PHP Version 5.2.6-1+lenny16; Apache 2.0;
    Database Version 5.5.36-34.0-632.wheezy-log
      • 13428 ☆ A M B ☆
      • 1,031 Posts
      Could be an issue with status cache (http://www.php.net/manual/en/function.clearstatcache.php). Maybe the cache file was deleted somewhere and clearstatcache(); has to be invoked after deleting the file.
        • 13428 ☆ A M B ☆
        • 1,031 Posts
          • 15005
          • 18 Posts
          Thanks. I've uploaded the latest versions of the two files you've identified & will see how things go.
            • 15005
            • 18 Posts
            I get far fewer parse errors now but still have a problem with QM+ opening with a blank screen. Once this occurs the only way I can restore it is to disable its plugin then re-enable it.