gfarrell / WPRavenAuth

Raven (ucam_webauth) authentication plugin for Wordpress. Now maintained by @mo-g (mo-g/WPRavenAuth)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error message - any advice

nc415 opened this issue · comments

Any advice with what to do with this error message?

Warning: fopen(https://www.lookup.cam.ac.uk/api/v1/person/crsid/nc415?fetch=jdCollege%2Call_insts&flatten=true): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in wp-content/plugins/WPRavenAuth/app/lib/ibis-client/ibisclient/client/IbisClientConnection.php on line 289

Warning: fread() expects exactly 2 parameters, 1 given in /plugins/WPRavenAuth/app/lib/ibis-client/ibisclient/client/IbisClientConnection.php on line 313

Warning: fclose() expects parameter 1 to be resource, boolean given in /mounted-storage/wp-content/plugins/WPRavenAuth/app/lib/ibis-client/ibisclient/client/IbisClientConnection.php on line 314

Are you quite certain that you followed ALL of the instructions in the readme? Looks a lot like you haven't followed the instructions regarding PHP ini override.

On 15 Dec 2014, at 16:30, nc415 notifications@github.com wrote:

Any advice with what to do with this error message?

Warning: fopen(https://www.lookup.cam.ac.uk/api/v1/person/crsid/nc415?fetch=jdCollege%2Call_insts&flatten=true): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden in wp-content/plugins/WPRavenAuth/app/lib/ibis-client/ibisclient/client/IbisClientConnection.php on line 289

Warning: fread() expects exactly 2 parameters, 1 given in /plugins/WPRavenAuth/app/lib/ibis-client/ibisclient/client/IbisClientConnection.php on line 313

Warning: fclose() expects parameter 1 to be resource, boolean given in /mounted-storage/wp-content/plugins/WPRavenAuth/app/lib/ibis-client/ibisclient/client/IbisClientConnection.php on line 314


Reply to this email directly or view it on GitHub.

yes, and I am not using SRCF. The error occurs when loading the 'Pages' item in wp-admin

Are you attempting to use this code from a server outside of the CUDN? I'm reasonably certain lookup will return a forbidden code if that's the case.

That is probably the issue, didn't realise I had to be using SRCF or another CUDN, thanks for the help

No problem, it's mentioned in the requirements in the readme; just needs to be within the university network.