MrBertie / pagequery

An all-in-one, multi-column page listing plugin for Dokuwiki
http://www.dokuwiki.org/plugin:pagequery
16 stars 19 forks source link

Parse Error. #17

Closed Capbat closed 11 years ago

Capbat commented 11 years ago

Hi All I have installed the pagequerry plugin manually, copied the folder in the lib/plugin folder. then I tried the simple following code in a page.

{{pagequery>}}

And I am getting the following error.

Parse error: syntax error, unexpected T_FUNCTION in x:.....wwwroot\DocuWiki\lib\plugins\pagequery\syntax.php on line 1137

Any suggestions will be greaty appreciated, this is a plugin I was really looking forward to.

P.S. I get the same error on all pages I want to modify afterwards so it blocks everything. I installed the latest version of Dokuwiki and I have the same problem.

Tks.

Bat

MrBertie commented 11 years ago

If you copy it manually then you must rename it "pagequery" for it to work. The default GitHub download is called pagequery-master, and this will not be recognised.

Symon

On 1 April 2013 19:14, Capbat notifications@github.com wrote:

Hi All I have installed the pagequerry plugin manually, copied the folder in the lib/plugin folder. then I tried the simple following code in a page.

{{pagequery>}}

And I am getting the following error.

Parse error: syntax error, unexpected T_FUNCTION in x:.....wwwroot\DocuWiki\lib\plugins\pagequery\syntax.php on line 1137

Any suggestions will be greaty appreciated, this is a plugin I was really looking forward to.

P.S. I get the same error on all pages I want to modify afterwards so it blocks everything. I installed the latest version of Dokuwiki and I have the same problem.

Tks.

Bat

— Reply to this email directly or view it on GitHubhttps://github.com/MrBertie/pagequery/issues/17 .

Capbat commented 11 years ago

Tks Bertie I have done that, but I think that my problem is that the php version om my server is not up to date. So I am in the process of changing server.

Tks

Bat

Capbat commented 11 years ago

I Have upgraded to a PHP 5.3 server and everything is Ok.

Bat