Portada arrow Soporte arrow Forums
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
[done] Keep getting logged out (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: [done] Keep getting logged out
#13886
Mazi (Moderator)
Moderator Lime
Posts: 3225
graph
User Offline Click here to see the profile of this user
Re:[done (?)] Keep getting logged out 5 Months, 3 Weeks ago Karma: 25  
Limesurvey is easy to use. Most problems are caused by server configuration problems. In your case the manual (see El-Matador's link posted above) says "Update upload_tmp_dir and session.save_path in php.ini".
When looking at your server configuration I see "upload_tmp_dir -> no value". So - as the manual says - you have to set a path for upload_tmp_dir in php.ini. Just search this file for "upload_tmp_dir" and set it to e.g. "/tmp". Follow the other instructions and test again.

This can be one source of the error. Another error my be caused by installing limesurvey into a subdomain (which is possible). In this case you have to edit the path settings in config.php very carefully!
 
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.
#13924
surveyNoob (User)
Fresh Lemon
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:[done (?)] Keep getting logged out 5 Months, 3 Weeks ago Karma: 0  
Thanks again for your reply. It took me a while to understand it, but now I succeeded in changing upload_tmp_dir and session.save_path. I did everything else what is described in the manual. But I still got the same problem.
I really dont know what the mistake is. Maybe I should have used another survey-system. I see that the problem must be that he does not create cookies for the session, but I dont know why. Any ideas?
 
Logged Logged  
  The administrator has disabled public write access.
#13925
ITEd (Moderator)
LimeSurvey Team
Posts: 350
graphgraph
User Offline Click here to see the profile of this user
Re:[done (?)] Keep getting logged out 5 Months, 3 Weeks ago Karma: 8  
A possible cause for returning to the login that is not mentioned in the FAQ is an error in your rooturl or rootdir settings in config.php. Is the URL in your browser correct?
 
Logged Logged  
  The administrator has disabled public write access.
#13931
surveyNoob (User)
Fresh Lemon
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:[done (?)] Keep getting logged out 5 Months, 3 Weeks ago Karma: 0  
I dont think that its wrong because otherwise the server would not be able to find the admin control panel, would he?
I've checked it again, but cant find a mistake:

Code:


$rooturl            =   "http://{$_SERVER['SERVER_NAME']}/limesurvey";
$relativeurl        =   "/limesurvey";



the installation is in the subfolder /limesurvey on the server.

I'm really desperate by now, this should not be so hard. I saw other users with limesurvey on freehostia, just an older version of LimeSurvey. I've also tried to change the PHP version 4-->5 and back to 4. Nothing really helps.
Maybe you could have a look at the php-info again?
http://psychsurvey.freehostia.com/test.php

There must be a solution!.... Oh man...
 
Logged Logged  
  The administrator has disabled public write access.
#13933
ITEd (Moderator)
LimeSurvey Team
Posts: 350
graphgraph
User Offline Click here to see the profile of this user
Re:[done (?)] Keep getting logged out 5 Months, 3 Weeks ago Karma: 8  
Top left of a page, and in View Source 1st 2 characters, you've got "ys". Now that may not be the problem as such, but certainly suggests that there's a mistake somewhere, either in your config.php, config-defaults.php, or some script that you've edited. Perhaps it's the chopped off end of the word "surveys" somewhere? Find that, and you may have found the source of your troubles, if you're lucky.

Otherwise reinstall and create a fresh config.php to get rid of the faulty file.

Regards.
 
Logged Logged  
  The administrator has disabled public write access.
#13934
surveyNoob (User)
Fresh Lemon
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:[done (?)] Keep getting logged out 5 Months, 3 Weeks ago Karma: 0  
OH MY GOD! I cant believe it! You are right, ITEd!!! All the trouble only because of these two stupid letters!!! "ys" I dont know where they came from, but they were at the beginning of config.php.
Thanks a lot to all of You, guys!
Finally after 5 days I can start... only 2 letters... ridiculous!
 
Logged Logged  
  The administrator has disabled public write access.
#13956
Mazi (Moderator)
Moderator Lime
Posts: 3225
graph
User Offline Click here to see the profile of this user
Re:[done (?)] Keep getting logged out 5 Months, 3 Weeks ago Karma: 25  
You're welcome! If our hints have been helpful and you enjoy LimeSurvey please consider a donation to the team. We do all this in our free time.
 
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.
#15478
yuman725 (User)
Fresh Lemon
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:[done] Keep getting logged out 4 Months, 3 Weeks ago Karma: 0  
I'm having the same issue. I've noticed that there are some days that I can log on with no issues, but other times it will keep redirecting me to the login page no matter what button I push.

The link to the phpinfo file can be found at:
www.techtexas.org/limesurvey/phpinfo.php

Can you please asssist? Thank you all for the good work.
 
Logged Logged  
 
Last Edit: 2008/07/01 21:19 By yuman725.
  The administrator has disabled public write access.
#15479
yuman725 (User)
Fresh Lemon
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
Re:[done (?)] Keep getting logged out 4 Months, 3 Weeks ago Karma: 0  
I tried to update the 'upload_tmp_dir' and 'session.save_path' parameters from the php.ini file by doing the steps addressed in the following article (tips-scripts.com/?tip=php_ini). It seems as though my web host has locked the php.ini file, which causes the php to lock up when using the custom php.ini file.

Do you know of another way I can update the parameters or a workaround that will allow me to keep these parameters blank?

Also, I have noticed that I can log in fine using Firefox 3.0, but have this login issue only with IE7.

Thanks again for all your help.
 
Logged Logged  
 
Last Edit: 2008/07/01 21:25 By yuman725.
  The administrator has disabled public write access.
#15490
c_schmitz (Admin)
Moderator Lime
Posts: 1353
graphgraph
User Online Now Click here to see the profile of this user
Re:[done (?)] Keep getting logged out 4 Months, 3 Weeks ago Karma: 39  
Hi!

You should ask your provider how to adjust these parameters ( only session.save_path should need to be adjusted) or let them adjust it.
Tell them that session are not working correctly and this variable needs to be set to a valid path.
If you provider has the slightest sense of service they will help you out.
 
Logged Logged  
 
Best regards

Carsten Schmitz
LimeSurvey Project Leader
  The administrator has disabled public write access.
Go to top