Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 7 Months, 1 Week ago Uploaded mybb in a WAMP Server but can't login
#1
Solved: 7 Months, 1 Week ago
So, I uploaded all my files in wamp. Uploaded my database through Wamp's MySQL Console as I was unable to upload the database through phpmyadmin.

Then edited the inc/config.php file and inc/settings.php file.

I am seeing my site and can browse all the pages, its up and running ok.

But when I am trying to login. Its saying that I have successfully logged in but then automatically redirects to the homepage (in a non-logged in version). How to fix it?
Reply
#2
Solved: 7 Months, 1 Week ago
(03-05-2019, 02:45 PM)vk_knight Wrote: So, I uploaded all my files in wamp. Uploaded my database through Wamp's MySQL Console as I was unable to upload the database through phpmyadmin.

Then edited the inc/config.php file and inc/settings.php file.

I am seeing my site and can browse all the pages, its up and running ok.

But when I am trying to login. Its saying that I have successfully logged in but then automatically redirects to the homepage (in a non-logged in version). How to fix it?

I am using the WAMPServer for my localhost MyBB.

I have the AdminCP → Board Settings → Site Settings set up the exact same way I have on my live website including the 'https'. 
Do not use 'http' because it works better with 'https'. 

Also, did you try logging into the website straight from the AdminCP using the 'View Forum' option in your AdminCP? Sometimes that works better, too.

In my browser URL address bar, it looks like this 'localhost/xxxx-LocalHost/' Does this look like this in your URL address bar in your browser?

Report back and let us know if you can log in the website.
I'm Serpius and You're Not    ¯\_(ツ)_/¯
[Image: y3xr3cj5]
Reply
#3
Solved: 7 Months, 1 Week ago
I am saying that I can't login from any account. Not just admin. As I said earlier after I log in. Its saying that I have successfully logged in but then its redirecting to the page where I am not logged in.


Okay, I also tried logging in to the admin panel through localhost/admin. After putting the id and password the Dashboard is showing but as soon as I click on anything such as the 'Check for Updates' or any other button (or option). It redirects back to the login page of admin which is localhost/admin.

Resolved it. The cookie path wasn't empty. It has to be set empty.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)