Home
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:php ini settings redirecting to login page. (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:php ini settings redirecting to login page.
#17751
latapaka (User)
Fresh Lemon
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
[done] php ini settings redirecting to login page. 3 Months, 2 Weeks ago Karma: 0  
Hello

This time, I know where the culprit lies... Whenever I click to any of the buttons, it redirects me to the login page.


My php.ini has the following setting:

session.auto_start = 1




Setting session.auto_start to 0 solves this problem and I have added this information in limesurvey wiki too under
"Any action in admin page will return you to login screen" section

but my admins say that its value cannot be changed to 0 (as other virtual hosts are also there & they require such), and asked me to find some other way out..


I am just wondering if there be any other way out which still works by setting it to 1 ??

Is that possible ??
 
Logged Logged  
 
Last Edit: 2008/08/19 19:56 By Mazi.
  The administrator has disabled public write access.
#17773
latapaka (User)
Fresh Lemon
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Re:php ini settings redirecting to login page. 3 Months, 2 Weeks ago Karma: 0  
any solution to this ??
 
Logged Logged  
 
Last Edit: 2008/08/19 15:31 By latapaka.
  The administrator has disabled public write access.
#17775
lr789 (User)
Fresh Lemon
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:php ini settings redirecting to login page. 3 Months, 2 Weeks ago Karma: 0  
I am having the same problem! I hope someone posts a solution. Seems like a bug
 
Logged Logged  
  The administrator has disabled public write access.
#17789
latapaka (User)
Fresh Lemon
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
Re:php ini settings redirecting to login page. 3 Months, 2 Weeks ago Karma: 0  
well it's not a bug though...

Finally I managed to find a solution to it

here it goes...

what you need to do is, have a .htaccess file in your limesurvey and limesurvey/admin folder with the following line

php_value session.auto_start 0

Next, you need to change option "AllowOverride" to as follows in httpd.conf

AllowOverride All

Then restart your apache server.. then have fun
 
Logged Logged  
 
Last Edit: 2008/08/19 19:22 By latapaka.
  The administrator has disabled public write access.
#17803
Mazi (Moderator)
Moderator Lime
Posts: 3349
graph
User Offline Click here to see the profile of this user
Re:php ini settings redirecting to login page. 3 Months, 2 Weeks ago Karma: 28  
Thanks for sharing your solution with us!

Maybe you can add a few sentences to our manual? It's a wiki, everyone can edit it.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
Go to top