Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
140 views
in Q2A Core by
edited by
My First installation was at https://qa.webkutir.net/
Copied installation is at https://question-answer.webkutir.net/

PHP Version: 5.6.40

I just take a backup from my first server then restore it to my second server. Both URLs are active now for your check. First Installation works fine but in second one I can not login. Please help.
Q2A version: 1.8.6

2 Answers

0 votes
by
 
Best answer

For those who will suffer the same problem as like me, I followed the following process to resolve the issue:

1) Backup your DB

2) Remove all the tables from the main DB

3) Browse your Site (You will be asked for Generating your User)

4) Restore your DB tables except User Table

Your Problem will be solved... smiley

0 votes
by

There is likely an error in the configuration settings in the config file and the site settings.
The issue is not only with the login process but affects all pages.
For example, when navigating to the following pages, it always redirects you to the home page:

https://question-answer.webkutir.net/?qa=categories
https://question-answer.webkutir.net/?qa=hot
https://question-answer.webkutir.net/?qa=ask

...