You are viewing the PKP Support Forum | PKP Home Wiki

Error when trying to access admin.php

Open Harvester Systems support questions and answers, bug reports, and development issues.

Moderators: jmacgreg, michael, John

Forum rules
Developer Resources:

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome.

Error when trying to access admin.php

Postby Grant » Tue Mar 15, 2005 2:52 am


I have managed to successfully install PKP Harvester using the install.php file.

Now, when I try to access the admin.php file, I get the following error :

Parse error: syntax error, unexpected T_ABSTRACT, expecting ']' in C:\Program Files\Apache Group\Apache2\htdocs\harvester\include\harvester.inc.php on line 255

Is anyone else experiencing this. I am currently using Apache 2 and PHP 5.


Postby kevin » Wed Mar 16, 2005 1:01 am

"abstract" is a keyword in PHP 5, and so needs to be quoted. You can probably fix this by changing instances of "[abstract]" to "['abstract']" in the code
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

Postby Grant » Wed Mar 16, 2005 8:03 am


Thanks. That solved the problem.


Return to Open Harvester Systems Support and Development

Who is online

Users browsing this forum: No registered users and 2 guests