Hi all,
Just trying to get the Harvester installed, and ran into this error:
Fatal error: Call to a member function getVersionString() on a non-object in F:\htdocs\harvester\lib\pkp\classes\template\PKPTemplateManager.inc.php on line 139
This same problem was reported by 'Arf' for OJS:
viewtopic.php?f=8&t=5096But his solution (upgrading to the latest version of OJS) won't help me, since I've got the latest Harvester download.
My specs:
Windows 2003
Apache 2.2.13
MySQL 5.0.41
PHP 5.2.10
The steps I did:
Downloaded and unzipped OAI Harvester 2.3.0 (.tar.gz).
Uploaded to server.
Renamed the directory ‘harvester’.
Went to web install.
It says that ‘cache/t_cache’ and ‘cache/_db’ are not writeable, which is true. But, more importantly, they don’t exist. So created those manually. Refresh web install page, all is good.
Kept locale and security settings as-is.
Filled in the admin user info.
Filled in password for db user.
Hit ‘manual install’.
Copied the SQL text to a file. Note: It would be useful if the SQL had a ‘USE harvester2;’ statement after it creates the schema.
Run the SQL, all goes well.
Go back to the “login” link from the web install.
Get the error “DB Error: Access denied for user 'harvester2'@'localhost' (using password: YES)”. Makes sense, I didn’t grant privileges for this user. But what to grant?
Run: “GRANT SELECT, INSERT, DELETE, UPDATE ON harvester2.* TO 'harvester2'@'localhost' IDENTIFIED BY 'not-what-I-actually-typed';”
Go back to the “login” link from the web install.
Get this error: “Fatal error: Call to a member function getVersionString() on a non-object in F:\htdocs\harvester\lib\pkp\classes\template\PKPTemplateManager.inc.php on line 139”
Any help appreciated. Thanks!