S
S
soloukhin2015-10-28 15:52:36
Computer networks
soloukhin, 2015-10-28 15:52:36

There is no access to the site admin panel (description inside). How to be?

I got a site. It is necessary to transfer to another hosting and upgrade, as it were.
Transferred the database, site, set up the encoding.
I'm trying to enter the site's admin panel and a window pops up:
No access to the http://*****.**:80 server, you need to specify a username and password. Server message: Admin Page
I enter the data that is in the database under the login / password (in fact, the same ones were given to me for access initially)
and nothing .. the message pops up again.
Where can I watch this script in action? I found something similar in the site files, they are sent to the database and to the pass file. in which there is nothing but logs about changing certain files through cPanel (I don’t know what the logs do there).
Contact the person who made the site is not possible. On the first hosting from which I need to transfer everything works correctly.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
ramjke, 2015-10-28
@ramjke

Did you change your database connection settings when migrating the site? On the new hosting - the new database is at least called differently. Changes must be made to the cinfigure.php file (the name may differ - depending on the engine).
What is the error code and engine (full version)?

M
Mark Doe, 2015-10-28
@mourr

See if you have the htpasswd file somewhere - most likely it is in it.
If so (there is such a file), then it will have something like
And in your .htaccess there will be something like

AuthType Basic
AuthName "My Protected Area"
AuthUserFile /path/to/.htpasswd
Require valid-user

It is enough to remove these lines from htaccess and remove htpasswd and http authorization will disappear

S
soloukhin, 2015-10-28
@soloukhin

Mark Doe newcode
In the main folder lies the .htaccess file
in it:

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName *****.ru
AuthUserFile /****/****/public_html/_vti_pvt/service.pwd
AuthGroupFile /****/****/public_html/_vti_pvt/service.grp

in the folder responsible for the htaccess administration page:
Order deny,allow
Deny from all
Allow from 83.149.8.0

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question