Can't log in to Admin after time-out.

Please report bugs here!

Moderator: Thorsten

Post Reply
Kennyfr
Posts: 7
Joined: Sat Jul 16, 2011 3:28 pm

Can't log in to Admin after time-out.

Post by Kennyfr »

Hi

I'm having a problem logging back in to the admin panel. I had a session time-out issue, now every time I go to faq/admin/index.php I get a message saying phpMyFAQ Login: Switch to secure mode to login!

When I click to switch to secure mode, I get a warning message about the SSL certificate, then when I click on go to the page anyway and ignore the warning, I get a 404 page not found message. This has been going on for about an hour. I deleted the install folder in case this was the problem, but nothing has changed.

Any help would be very much appreciated as everything was working fine until the time out.

Thanks in advance

Kenny
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Can't log in to Admin after time-out.

Post by jason102178 »

Try logging in then go to configuration and make sure the setting this setting is unchecked "Only allow logins over secure"
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Kennyfr
Posts: 7
Joined: Sat Jul 16, 2011 3:28 pm

Re: Can't log in to Admin after time-out.

Post by Kennyfr »

As I said, I can't log in! Can this be done in php?
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Can't log in to Admin after time-out.

Post by jason102178 »

There might be something wrong with the index.php file try downloading the phpmyfaq and upload the admin/index.php to your server and let me know if this corrects the problem....
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Can't log in to Admin after time-out.

Post by jason102178 »

This is typically the behavior that we see when people enable mod rewrite then that forget to remove the underscore in the _.htaccess

But as you said nothing has changed it just occured after it timed out...


But what you will prolly have to do since you deleted the install folder and that holds your sql config file ect.

you might have to reupload the phpmyfaq files like your doing an upgrade and run the update.php in the install folder


or if you are using a hosting company like i do i use godaddy.com you can restore your FAQ to an earlier date so it should be a lot easier..
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Kennyfr
Posts: 7
Joined: Sat Jul 16, 2011 3:28 pm

Re: Can't log in to Admin after time-out.

Post by Kennyfr »

OK Mod rewrite hasn't been touched.

Uploaded a new index.php, but nothing has changed.

Uploaded the install directory again, although I'm sure this is a security risk.

Could it be browser issue?
jason102178
Posts: 200
Joined: Tue Nov 02, 2010 9:08 am
Location: United States-Ohio
Contact:

Re: Can't log in to Admin after time-out.

Post by jason102178 »

does it work since u uploaded the install
phpMyFAQ Quality Assurance / Forum Moderator
Amazon.com Wishlist
Kennyfr
Posts: 7
Joined: Sat Jul 16, 2011 3:28 pm

Re: Can't log in to Admin after time-out.

Post by Kennyfr »

No nothing has changed, I still cannot log in to the admin panel.
Kennyfr
Posts: 7
Joined: Sat Jul 16, 2011 3:28 pm

Re: Can't log in to Admin after time-out.

Post by Kennyfr »

I've spoken to my hosting company and they tell me I just need to turn off the secure mode as it is defaulting to https://

Can anyone tell me if I can do this via one of the php files and if so which one as I can't get to the admin side to adjust the settings?

Thanks in advance.

Kenny
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Can't log in to Admin after time-out.

Post by Thorsten »

Hi,

which version do you use?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Kennyfr
Posts: 7
Joined: Sat Jul 16, 2011 3:28 pm

Re: Can't log in to Admin after time-out.

Post by Kennyfr »

Hi

It's phpMyFAQ 2.6.17

Best ~ Kenny
JochenS
Posts: 121
Joined: Wed Feb 16, 2011 3:51 pm
Location: Schönaich
Contact:

Re: Can't log in to Admin after time-out.

Post by JochenS »

I don't know much about the https feature of phpMyFAQ, but what about using phpMyAdmin and changing the setting in the database?
Our public FAQ is proudly powered by phpMyFAQ: http://vhtfaq.ge51.honeywell.de/
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Can't log in to Admin after time-out.

Post by Thorsten »

Hi,

use a tool like phpMyAdmin to change the value of the entry "main.useSslForLogins" in the faqconfig table from true to false.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Kennyfr
Posts: 7
Joined: Sat Jul 16, 2011 3:28 pm

Re: Can't log in to Admin after time-out.

Post by Kennyfr »

Hi

Many thanks that worked fine.

I can't see this mentioned anywhere on the install instructions. Perhaps you should advise people to change the login settings from SSL, to avoid this happening to others.

Thanks again

Kenny
Thorsten
Posts: 15562
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Can't log in to Admin after time-out.

Post by Thorsten »

Hi,

by default, this is disabled. I don't know why it got enabled for you...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply