MyBB Community Forums

Full Version: CP: Wrong action URL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I installed a fresh copy of MyBB. When I try to login to the Admin CP (https://domain.com/admin/index.php) and click on Login, the page redirects to the home page. 

I tried to fix it by changing the action URL of the login page to from:
action="/server.php"
to
action="index.php"
This worked and gave me access to the Admin CP. 

Is this a general bug? Or have I done something wrong?
Quote:action="/server.php"
default MyBB system doesn't use such type of URL. there is no server.php file in default MyBB system (version 1.8.x)
Indeed. How did it get there? Is there a way I can change it? Using templates?
do you have any plugins activated ?

run file verification tool from below location. what does it report ?
admin panel >> tools & maintenance >> file verification
ignore reported images & ignore files reported from install folder & its sub-folders
No plugins activated. The test says (its right) that those files are changed:

- inc/datahandlers/login.php
- inc/functions_user.php

I did that to use bcrypt instead of md5. (Tutorial I followed: https://community.mybb.com/thread-189672.html)
not sure what was wrong. where exactly you have changed login URL action ?
I did not change anything related to the login URL action, just what the tutorial (https://community.mybb.com/thread-189672.html) said to change. It does not contain any login action code.
in general, domainURL/admin/index.php is the login page for admin panel.
index.php may not be used in typed url as it is the default page for the admin folder.
What can I do to fix this issue?
^ sorry, I am unable to get what is the issue !
doesn't admin panel login work by using domainURL/adminFolder/ ?
Pages: 1 2 3