After configuring simplesmal can't login to admin panel

1,215 views
Skip to first unread message

Nahina Nasrin

unread,
Dec 16, 2013, 12:57:53 PM12/16/13
to simple...@googlegroups.com
I configured these
'baseurlpath' =>
auth.adminpassword =>
secretsalt =>
technicalcontact_name =>
technicalcontact_email =>

after using the password I added into config file, I am getting this error message

SimpleSAML_Error_Error: UNHANDLEDEXCEPTION

Backtrace:
0 /var/www/vhosts/emp.com/simplesaml/www/module.php:180 (N/A)
Caused by: SimpleSAML_Error_Exception: Error setting cookie - headers already sent.
Backtrace:
7 /var/www/vhosts/emp.com/simplesaml/lib/SimpleSAML/SessionHandler.php:154 (SimpleSAML_SessionHandler::setCookie)
6 /var/www/vhosts/emp.com/simplesaml/lib/SimpleSAML/Session.php:530 (SimpleSAML_Session::doLogin)
5 /var/www/vhosts/emp.com/simplesaml/lib/SimpleSAML/Auth/Default.php:120 (SimpleSAML_Auth_Default::loginCompleted)
4 [builtin] (call_user_func) 3 /var/www/vhosts/emp.com/simplesaml/lib/SimpleSAML/Auth/Source.php:140 (SimpleSAML_Auth_Source::completeAuth)
2 /var/www/vhosts/emp.com/simplesaml/modules/core/lib/Auth/UserPassBase.php:223 (sspmod_core_Auth_UserPassBase::handleLogin)
1 /var/www/vhosts/emp.com/simplesaml/modules/core/www/loginuserpass.php:63 (require)
0 /var/www/vhosts/emp.com/simplesaml/www/module.php:135 (N/A)

please anyone help me out. 
Thanks

Thijs Kinkhorst

unread,
Dec 17, 2013, 1:34:24 AM12/17/13
to simple...@googlegroups.com
On Mon, 16 Dec 2013 09:57:53 -0800 (PST), Nahina Nasrin
<nah...@gmail.com>
wrote:
> 0 /var/www/vhosts/emp.com/simplesaml/www/module.php:180 (N/A)
> Caused by: SimpleSAML_Error_Exception: Error setting cookie - headers
> already sent.

Most likely, you may have some erroneous whitespace at the end of a file
you edited (after the final "?>") or your editor added a Byte Order Mark
(BOM) to the beginning of a file you edited.

This will find any files in your tree that have a BOM:
find -type f -exec fgrep $(perl -we 'print pack("H*", "EFBBBF")') {} +


--
Thijs Kinkhorst <th...@uvt.nl> – LIS Unix

Universiteit van Tilburg – Library and IT Services
Bezoekadres > Warandelaan 2 • Tel. 013 466 3035 • G 236

shoaib ali

unread,
Dec 17, 2013, 3:23:04 AM12/17/13
to simple...@googlegroups.com
It is having trouble setting cookie. Do you have memcached installed and running? Also try different browser. 

shoaib ali

unread,
Dec 17, 2013, 3:25:58 AM12/17/13
to simple...@googlegroups.com
hmm maybe u do have a space some where in the config .. i had something similar had to install memcached php library.
Reply all
Reply to author
Forward
0 new messages