Admin login

More
6 years 5 months ago #62302 by gvangass
gvangass created the topic: Admin login
When I try to login as admin, the app keeps on redirecting me back to the login screen.

Please Log in to join the conversation.

More
6 years 5 months ago #62315 by gvangass
gvangass replied the topic: Admin login
In the phpinfo(), I can see that the session.save_path was not set. I don't have access to the php.ini file(shared hosting).
Is there maybe a workaround for this ?

Please Log in to join the conversation.

More
6 years 4 months ago #62383 by gvangass
gvangass replied the topic: Admin login
Any update ?

I'm desperate, I would even considering change source code to bypass this problem.

Please Log in to join the conversation.

More
6 years 4 months ago #62386 by greg_d
greg_d replied the topic: Admin login
Hi,

If changes in php.ini are not possible you can try using DB session handler. In order to do so add following line to your config.php:
$sessionhandler = 'db';

Please Log in to join the conversation.

More
6 years 4 months ago #62393 by gvangass
gvangass replied the topic: Admin login
Hi
Does this mean anything to you:
Warning: session_module_name() [function.session-module-name]: A session is active. You cannot change the session module's ini settings at this time in /data01/webs/virtual/l/le/les/lese/lesed/lesedi/www.lesedilm.gov.za/web/survey/classes/adodb/session/adodb-session2.php on line 465

This is what happens when I add that setting to config.

Please Log in to join the conversation.

More
6 years 4 months ago #62461 by xubaoguo
xubaoguo replied the topic: Admin login
Hi, i have also this problem, do you have solve this problem? tell me ok?

Please Log in to join the conversation.

More
6 years 4 months ago #62464 by gvangass
gvangass replied the topic: Admin login
No answer as yet.
May be some one out there that can help ??

Please Log in to join the conversation.

More
6 years 4 months ago #62467 by greg_d
greg_d replied the topic: Admin login
gvangass, I am not able to reproduce your problem. Could you please, attach results of phpinfo? Maybe it will give us a hint.

Please Log in to join the conversation.

More
6 years 4 months ago - 6 years 4 months ago #62477 by greg_d
greg_d replied the topic: Admin login
It looks like session.auto_start On is a problem - you server starts session every page load while limesurvey doesn't need it, the session is started by the application when necessary.

Try modyfing php.ini or try to add following to .htaccess file:
<IfModule mod_php5.c>
  php_value session.auto_start 0
</IfModule>
Last Edit: 6 years 4 months ago by greg_d.

Please Log in to join the conversation.

More
6 years 4 months ago #62479 by gvangass
gvangass replied the topic: Admin login
Thanks it's working
Note: php_value session.auto_start 1
should read: php_value session.auto_start 0

I've previously tried set this value in the config.php file
ini_set("session.auto_start", "0");
But it did't work ?

Please Log in to join the conversation.

More
6 years 4 months ago #62481 by greg_d
greg_d replied the topic: Admin login
Yep, your right, already corrected, should be

php_value session.auto_start 0

So, everything is working now?

Please Log in to join the conversation.

More
5 years 2 months ago #85363 by yadirg
yadirg replied the topic: Admin login
GRACIAS desde Perú

Please Log in to join the conversation.

More
5 years 1 month ago #86262 by ukleja
ukleja replied the topic: Admin login
Hello,
I've the same problem.
I think that yours solution is good, but...

On my ftp i don't have php.ini - creating it does not help.
I don't have .htaccess - creating it does not help.
I have htaccess.txt - podyfing it does not help.

I don't know where can I add the code.
My server has got a lot of websites. Limesurvey is in folder with adress:
http://bk-bls.wsge.edu.pl/limesurvey/admin/admin.php
l: admin
pass: ut2t4eds

phpinfo - http://bk-bls.wsge.edu.pl/limesurvey/test.php

I was creating php.ini in a lot of places. I don't have any ideas now.

Please help me.
Miłosz Ukleja
WSGE
Józefów / Warsaw / Poland

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!