OJS OCS OMP OHS

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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Error when trying to access admin.php

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

Hi,

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.

Thanks,
Grant
Grant
 

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
kevin
 
Posts: 338
Joined: Tue Oct 14, 2003 8:23 pm

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

Hi,

Thanks. That solved the problem.

Grant
Grant
 


Return to Open Harvester Systems Support and Development

Who is online

Users browsing this forum: No registered users and 1 guest