I have a site, built with Revo, v 2.0.6. running on PHP Version 5.2.10.
I’m getting some funky things happening: a few days ago, the site came up with a blank white screen. However, the control panel worked okay and I ended up clearing it up by, of all things, taking it offline momentarily and putting it back up. Then, clearing the cache with the cache button.
Then, just a few minutes ago, the same site displayed a different set of errors on the home page...and only on the home page. When I looked at the source code, I saw this toward the bottom of the screen:
',
'[[~11]]' => '11.html',
'[[~63]]' => 'zorn.html',
'[[~62]]' => 'tuck.html',
'[[$?namespace=``&limit=`3`&offset=`0`&page=`1`&pageVarKey=`page`&totalVar=`total`&pageLimit=`5`&elementClass=`modSnippet`&pageNavVar=`page.nav`&pageNavTpl=`<li[[+classes]]><a[[+classes]][[+title]] href="[[+href]]">[[+pageNo]]</a></li>`&pageActiveTpl=`<li[[+activeClasses]]><a[[+activeClasses:default=` class="active"`]][[+title]] href="[[+href]]">[[+pageNo]]</a></li>`&pageFirstTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">First</a></li>`&pageLastTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">Last</a></li>`&pagePrevTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]"><<</a></li>`&pageNextTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">>></a></li>`&tpl=`blogPostSideCol`&tplOdd=``&tplFirst=``&tplLast=``&sortby=`publishedon`&sortbyAlias=``&sortbyEscaped=`0`&sortdir=`DESC`&tvFilters=``&depth=`10`&parents=`10`&includeContent=`1`&includeTVs=`1`&processTVs=``&tvPrefix=`tv.`&idx=``&first=``&last=``&debug=``&tagKey=`tags`&tagKeyVar=`key`&tagRequestParam=`tag`&tagSearchType=`contains`&element=`getResources`&showHidden=`1`&hideContainers=`1`&cache=``&total=`9`&toPlaceholder=``&cache_key=`default`&cache_handler=`xPDOFileCache`&cache_expires=`0`&qs=`c659b1c371f99411372fc00d01f3d47f`&pageCount=`3`&href=`/?page=1`&pageNo=`1`]]' => '<li[[+activeClasses]]><a class="active"[[+title]] href="/?page=1">1</a></li>',
'[[$?namespace=``&limit=`3`&offset=`0`&page=`1`&pageVarKey=`page`&totalVar=`total`&pageLimit=`5`&elementClass=`modSnippet`&pageNavVar=`page.nav`&pageNavTpl=`<li[[+classes]]><a[[+classes]][[+title]] href="[[+href]]">[[+pageNo]]</a></li>`&pageActiveTpl=`<li[[+activeClasses]]><a[[+activeClasses:default=` class="active"`]][[+title]] href="[[+href]]">[[+pageNo]]</a></li>`&pageFirstTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">First</a></li>`&pageLastTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">Last</a></li>`&pagePrevTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]"><<</a></li>`&pageNextTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">>></a></li>`&tpl=`blogPostSideCol`&tplOdd=``&tplFirst=``&tplLast=``&sortby=`publishedon`&sortbyAlias=``&sortbyEscaped=`0`&sortdir=`DESC`&tvFilters=``&depth=`10`&parents=`10`&includeContent=`1`&includeTVs=`1`&processTVs=``&tvPrefix=`tv.`&idx=``&first=``&last=``&debug=``&tagKey=`tags`&tagKeyVar=`key`&tagRequestParam=`tag`&tagSearchType=`contains`&element=`getResources`&showHidden=`1`&hideContainers=`1`&cache=``&total=`9`&toPlaceholder=``&cache_key=`default`&cache_handler=`xPDOFileCache`&cache_expires=`0`&qs=`4408c7894296080511f5be953bddb51c`&pageCount=`3`&href=`/?page=2`&pageNo=`2`]]' => '<li[[+classes]]><a[[+classes]][[+title]] href="/?page=2">2</a></li>',
'[[$?namespace=``&limit=`3`&offset=`0`&page=`1`&pageVarKey=`page`&totalVar=`total`&pageLimit=`5`&elementClass=`modSnippet`&pageNavVar=`page.nav`&pageNavTpl=`<li[[+classes]]><a[[+classes]][[+title]] href="[[+href]]">[[+pageNo]]</a></li>`&pageActiveTpl=`<li[[+activeClasses]]><a[[+activeClasses:default=` class="active"`]][[+title]] href="[[+href]]">[[+pageNo]]</a></li>`&pageFirstTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">First</a></li>`&pageLastTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">Last</a></li>`&pagePrevTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]"><<</a></li>`&pageNextTpl=`<li class="control"><a[[+classes]][[+title]] href="[[+href]]">>></a></li>`&tpl=`blogPostSideCol`&tplOdd=``&tplFirst=``&tplLast=``&sortby=`publishedon`&sortbyAlias=``&sortbyEscaped=`0`&sortdir=`DESC`&tvFilters=``&depth=`10`&parents=`10`&includeContent=`1`&includeTVs=`1`&processTVs=``&tvPrefix=`tv.`&idx=``&first=``&last=``&debug=``&tagKey=`tags`&tagKeyVar=`key`&tagRequestParam=`tag`&tagSearchType=`contains`&element=`getResources`&showHidden=`1`&hideContainers=`1`&cache=``&total=`9`&toPlaceholder=``&cache_key=`default`&cache_handler=`xPDOFileCache`&cache_expires=`0`&qs=`61b6d010c609fbc190ab07d538f919e1`&pageCount=`3`&href=`/?page=3`&pageNo=`3`]]' => '<li[[+classes]]><a[[+classes]][[+title]] href="/?page=3">3</a></li>',
...and repeating that ’namespace’ type code several hundred times before displaying this:
<br />
<b>Fatal error</b>: Allowed memory size of 41943040 bytes exhausted (tried to allocate 9464215 bytes) in
<b>/home/client/domains/domain.com/public_html/core/xpdo/cache/xpdocachemanager.class.php</b> on line <b>860</b><br />
Again, clearing the cache in the control panel cleared up the problem. I have the feeling I haven’t heard the last of this situation, though.
Can anyone spot anything that might be happening? The code seems to be referring to the blog code I’ve implemented using the tutorial on this page:
http://rtfm.modx.com/display/revolution20/Creating+a+Blog+in+MODx+Revolution
I’ve used that blog tutorial many times with no problems and I don’t think the problem is with the blog script (I don’t think). Maybe something to do with memory? I have several MODx Revo sites living on that server (with the same blog system) and they all seem to work okay.
Any suggestions would be welcome. Thanks in advance.