pagequery
pagequery copied to clipboard
Filter 12 months ago
After upgrading to the latest version (2013-10-11) filter=cdate:12 months ago->; results in zero pages.
Someone any idea?
I just tried the same query on my own wiki and it works okay. I tried different months also and the result is correct. Do you get any error messages?
No error message, just a blank page that is no longer editable. For your information the complete script from the page on our website (http://nl.offinews.org/doku.php?id=wiki:maand) ~~NOCACHE~~ {{pagequery>-ns:wiki:sub *; filter=!name:opinie|algemeen|branche|copyright|financieel|jaar|kantoorapparatuur|kantoorinrichting|kantoor_supplies|maand|navigation|overig_nieuws|personalia|start|start_pagina|stationery|aanvraag|stats|formulier; filter=cdate:12 months ago->; sort=cyearmonthday; group;cols=3; display=title;nostart}}
Could you make sure that your have the very latest version, there may be another source to the error.
On 4 December 2013 22:39, HMJR [email protected] wrote:
No error message, just a blank page that is no longer editable. For your information the complete script from the page on our website ( http://nl.offinews.org/doku.php?id=wiki:maand) NOCACHE {{pagequery>-ns:wiki:sub *;
filter=!name:opinie|algemeen|branche|copyright|financieel|jaar|kantoorapparatuur|kantoorinrichting|kantoor_supplies|maand|navigation|overig_nieuws|personalia|start|start_pagina|stationery|aanvraag|stats|formulier; filter=cdate:12 months ago->; sort=cyearmonthday; group;cols=3; display=title;nostart}}
— Reply to this email directly or view it on GitHubhttps://github.com/MrBertie/pagequery/issues/20#issuecomment-29843040 .
Plugin: pagequery Bron: https://github.com/MrBertie/pagequery/zipball/master Geïnstalleerd: Tue, 03 Dec 2013 13:05:25 +0100 Laatst bijgewerkt: Mon, 16 Dec 2013 16:58:21 +0100 Naam: PageQuery Plugin Datum: 2013-10-11
Unfortunately, even after the update the same result.
Hi, I've the same issue. But I've got an error message:
"PHP Fatal error: Call to private method PageQuery::_filter_by_date() from context '' in /mypath/lib/plugins/pagequery/inc/pagequery.php on line 947, ..."
Seems the private method call on filters with date ranges is protected and can't be used. My filter looks like this:
filter=cname:01.01.2015->31.12.2015;
We're running DokuWiki 2014-09-29 (Hrun) with Pagequery 2014-11-09. It's running on Apache 2.2 with PHP 5.3.3. Not sure if this matter.
Would be nice to get a solution for this :-)
Greetings, David
Yep, sounds like a bug. I'll check once I get time.
On 24 March 2015 at 10:00, dferch [email protected] wrote:
Hi, I've the same issue. But I've got an error message:
"PHP Fatal error: Call to private method PageQuery::_filter_by_date() from context '' in /mypath/lib/plugins/pagequery/inc/pagequery.php on line 947, ..."
Seems the private method call on filters with date ranges is protected and can't be used. My filter looks like this:
filter=cname:01.01.2015->31.12.2015;
We're running DokuWiki 2014-09-29 (Hrun) with Pagequery 2014-11-09. It's running on Apache 2.2 with PHP 5.3.3. Not sure if this matter.
Would be nice to get a solution for this :-)
Greetings, David
— Reply to this email directly or view it on GitHub https://github.com/MrBertie/pagequery/issues/20#issuecomment-85388238.