Problems to login as admin

More
6 years 6 months ago #52669 by arne
arne created the topic: Problems to login as admin
I am now getting the following message at the top of the page:

Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /mounted-storage/home56b/sub009/sc30889-YLYC/sinthubertusbeselare.be/poll/admin/usercontrol.php on line 133



Everytime I want to login I get re-directed back to the login page.

Can anyone help?

Please Log in to join the conversation.

More
6 years 6 months ago #52818 by Mazi
Mazi replied the topic: Problems to login as admin
arne wrote:

]
Everytime I want to login I get re-directed back to the login page.

Can anyone help?

Sounds like this problem: docs.limesurvey.org/tiki-index.php?page=..._you_to_login_screen


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 5 months ago #52859 by sebnantes
sebnantes replied the topic: Problems to login as admin
hello,
i have the same problems with IIS, do you find a issue ?
I checked this list :
1.Update upload_tmp_dir and session.save_path in php.ini
2.Create the configured session and upload directories
3.IIS: Assigned permission to create and modify to IIS guest user account
4.Apache: Make sure your webserver has permissions to write into the configured directory
5.Check if the variable "session.use_cookies" in php.ini is set to 1.
6.Check the variable "session.auto_start" in php.ini. If it is set to 1, change it to 0.

all is ok but impossible to connect as admin !!!
thank

Please Log in to join the conversation.

More
6 years 5 months ago #52877 by Mazi
Mazi replied the topic: Problems to login as admin
Please upload a phpinfo file so we can take a look at your server configuration. Just put the following code into a file named phpinfo.php and upload it to your webserver:
< ?php phpinfo(); ? >
(Delete the spaces next to </> when copying the code.)
After uploading please post the link to the file.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 5 months ago #54111 by mgspielman
mgspielman replied the topic: Problems to login as admin
I'm having the same issue. Survey is working, but I can't login into admin. Here's my phpinfo:

http://www.abort73.com/phpinfo.php

Please advise.

Please Log in to join the conversation.

More
6 years 5 months ago #54138 by Mazi
Mazi replied the topic: Problems to login as admin
File not found, mgspielman?!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 5 months ago #54158 by mgspielman
mgspielman replied the topic: Problems to login as admin
Sorry, I didn't want to leave the file up for security reasons. I just PM'd you a link to a PDF of the server config.

Please Log in to join the conversation.

More
6 years 5 months ago #54166 by Mazi
Mazi replied the topic: Problems to login as admin
mgspielman, which of the sugestion linked above ( docs.limesurvey.org/tiki-index.php?page=..._you_to_login_screen ) did you test?


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 5 months ago #54171 by mgspielman
mgspielman replied the topic: Problems to login as admin
I'm not sure how to test the PHP stuff. Where is the php.ini file?

I'm not using IE. I hadn't edited the config file since the login problem started happening, though I did reset my password to see if that helped. It didn't.

Please Log in to join the conversation.

More
6 years 5 months ago #54179 by Mazi
Mazi replied the topic: Problems to login as admin
Forward the link above to your system admin, he should now how to edit the php.ini file according to the suggestions in the manual.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 4 months ago #55037 by mgspielman
mgspielman replied the topic: Problems to login as admin
Returning to this issue after a break for Christmas. Basically, I am the System Admin. Or at least I do the best I can. Is there anything else you can tell me regarding the location of the php.ini file?

Please Log in to join the conversation.

More
6 years 1 month ago #59010 by isocs
isocs replied the topic: Problems to login as admin
:dry: I just met the same problem as yours almost two weeks ago. I even tried for several ten sites to test which one is good for limesurvery work well. But the results is always same, I can't login as admin, and always it came back the login webpage. Just when I want to find other method whether I don't know it would be ok, it is really made me head pained, some sound reminded me why not try the easiest possibility, last year when I first time tested limesurvey, it sound the config.php must be saving as utf-8, just like the special explanation in installation profile for limesurvey.

I should short my words: I found out the software named PSPad editor in my Win PC, edit the config.php for my site parameters, and saved it. Then transferred the file to the server, open the admin webpage. It worked now!

Finally I understood when original time I install limesurvey to the sites, I am lazy, just used the Notpad of Win to save the config.php, but in fact, Notpad changed the file format silentally although it said would be save the file to utf-8. That is the true reason why I can't login as admin, just like what mentioned in the installation profile of limesurvey.

So, at first, try the PSPad editor to keep your config.php as true utf-8 format, then test others.

Now almost all of my tested sites can smoothly running limesurvey, that's true limesurvey performance.

That is my funny story when I use the very nice software limesurvey, it sounds just like the story about tailor fighting with the huge human-being through the magic bean, hahaha!

Thanks for your time to read my words, and hope these is useful for your.

Good luck! always!

Please Log in to join the conversation.

More
6 years 1 month ago #59020 by DenisChenu
DenisChenu replied the topic: Problems to login as admin
isocs :

Thnaks for the information !

A great information !

Can you put this to our documentation please ?

I think here is the best choice : docs.limesurvey.org/Installation+FAQ

:)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
6 years 1 month ago #59570 by mgspielman
mgspielman replied the topic: Problems to login as admin
I just re-output a new config file as suggested and I'm now able to login to my admin page. However, after logging in to admin, it tells me no surveys are available. The survey is still running correctly on my website. Why can't I see it in admin?

Please Log in to join the conversation.

More
5 years 4 months ago #71514 by vinodlime
vinodlime replied the topic: Problems to login as admin
Hi Guys , I have same problem , I tried by saving the config file in UTF-8 format. But the issue still exists . Please help.

The same issue was there in my local host and that is corrected when I commented this line session_regenerate_id(); in the line 173 of usercontrol.php

But in the server, that does not help.

I am worried

thanks
Vinod

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now