Catchable fatal error: Argument 1 passed to sspmod_openidProvider_Server::sendResponse() must be an instance of Auth_OpenID_ServerResponse, null given, called in /var/simplesamlphp-1.8.0/modules/openidProvider/lib/Server.php on line 424 and defined in /var/simplesamlphp-1.8.0/modules/openidProvider/lib/Server.php on line 336I can make the authentication in normal access to SimpleSamlPHP and I have configured it in order to connect my SimpleSamlPHP IdP using OpenId
Exact how to you access this URL?
-peter
El 19/12/2011 11:11, Peter Schober escribi�:
El 19/12/2011 11:11, Peter Schober escribi�:
Well, from the error message I would assume that you cannot type the
above URL into your webbrowser and acccess the software that way.
So unless you say otherwise I assume that's just what you are doing,
hence the error.
-peter
Thanks,
Dani
El 19/12/2011 12:03, Peter Schober escribi�:
I have no idea what you have to do. Isn't there documentation for that
piece of code you're using, e.g. in the module's doc directory?
-peter
In the thread with the wonderful subject "HOW TO DEPLOY SIMPLSAMLPHP
IN JETTY" you asked what the endpoint URL for the OpenID provider
module in SimpleSAMLphp was (more or less) so that you could configure
it in some other software. Olav then told you what the URL should look
like.
If you don't know what to do with that endpoint why ask for it?
-peter
As I get the error I mentioned previously, I thought that this error is
caused by an error in my configuration.
Now, I have written previously, I am going to check if this URL works in
my software, in order to check if the errror is caused by using the URL
in the browser or by an error in my configuration.
I hope to have my explanation is clear and was not very confusing.
El 19/12/2011 12:14, Peter Schober escribi�:
I do know what I want to do with the endpoint URL about I asked in the another forum thread, but when I configure SimpleSamlPHP, I try this URL first in the browser in order to check if it works, before starting to modify my software.
As I get the error I mentioned previously, I thought that this error is caused by an error in my configuration.
Now, I have written previously, I am going to check if this URL works in my software, in order to check if the errror is caused by using the URL in the browser or by an error in my configuration.
I hope to have my explanation is clear and was not very confusing.
El 19/12/2011 12:14, Peter Schober escribió:
* Daniel Mérida<dme...@lcc.uma.es> [2011-12-19 12:06]:
It would indicate that something went wrong with the response
generation. Is something else logged, or is that the only message
that is logged?
Best regards,
Olav Morken
UNINETT / Feide
Dani
El 19/12/2011 14:25, Olav Morken escribi�:
Logged as in written to log files, not logged in. I was thinking of
the Apache error log and syslog. By default available as something like
/var/log/apache2/error_log and /var/log/syslog or something like that
(it depends on the OS you have installed on your server).
Ok, I mistake logs for log in.
Apache log (error_log in my case) doesn't show anything wrong.
I keep on thinking that the error could be in the way I have configured,
but I have check the guide and I followed all the steps or it's what I
believe.
Regards,
Dani
El 20/12/2011 7:42, Olav Morken escribi�:
The error I have is produced by the function sendResponse() of
sspmod_openidProvider_server receive a null parameter instead a instance
of Auth_OpenID_ServerResponse
Previously to the sendResponse() call, the function handleRequest() of
Auth_OpenID_Server is called and this is the responsible of the null
parameter:
function handleRequest($request)
{
if (method_exists($this, "openid_" . $request->mode)) {
$handler = array($this, "openid_" . $request->mode);
return call_user_func($handler, &$request);
}
return null;
}
Is available any kind of log in SimpleSamlPhp instead of adding my own
log lines into the code?
I will keep going into the code trying to find out anything more.
Dani
El 12/01/2012 11:25, Daniel M�rida escribi�:
Not sure what you are asking here. If you are asking how to log
something through simpleSAMLphp's log code, you can do that by
invoking functions on SimpleSAML_Logger. E.g.:
SimpleSAML_Logger::error('Oops... some error occured.');
Regards,
Dani
El 01/02/2012 15:38, Olav Morken escribi�:
I assume you meant "where" rather than "when", and the answer depends
on your configuration and the system it runs on. In the default
configuration, it is logged to syslog. On most Linux installations, you
can find the log in /var/log/syslog or /var/log/messages or something
like that.
You can also change the configuration to log elsewhere by changing the
'logging.handler' option in config/config.php.