You are viewing the PKP Support Forum | PKP Home Wiki

Fatal Error: Call to undefined method

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

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.

Fatal Error: Call to undefined method

Postby chansen4 » Tue Feb 12, 2008 7:40 am

I was not able to find a post concerning this issue, so I hope I am not asking something that already has an answer posted somewhere. I am sorry if this is the case.
I am also very new to OJS, so I am sorry for my ignorance.

I am getting the following error when I try to create a reviewer on the fly (when I go to assign a reviewer to an article and I try to create a reviewer, instead of just picking an existing one):
Fatal error: Call to undefined method LDAPAuthPlugin::getAuthId() in /srv/www/htdocs/ojs-2.2/classes/sectionEditor/form/CreateReviewerForm.inc.php on line 142

I did some checking and sure enough LDAPAuthPlugin does not have a member function called getAuthId.

Is there an update to the LDAP plugin that I am missing?
Is there a way to refresh the LDAP plugin?
Any suggestions are welcome, because I have no clue how to fix this.

Thanks for your time,
Posts: 14
Joined: Tue Feb 12, 2008 7:22 am

Re: Fatal Error: Call to undefined method

Postby asmecher » Wed Feb 13, 2008 4:39 pm

Hi chansen4,

It sounds to me like you've enabled the LDAP authentication plugin but it's not fully configured. As Site Administrator, go into "Authentication Sources" and make sure the OJS user database is chosen and no other entries are listed.

Alec Smecher
Public Knowledge Project Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Fatal Error: Call to undefined method

Postby chansen4 » Thu Feb 14, 2008 8:57 am

The LDAP authentication is enabled, but it is also configured. Our LDAP users have been about to log in for sometime now.
When we attempt to create a reviewer, everything works find. The reviewer is successfully created and can be used right away.
The problem occurs when the reviewer is created "on the fly", or during the assigning of reviewers to an article.
Posts: 14
Joined: Tue Feb 12, 2008 7:22 am

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests