Jump to content
MakeWebGames

Recommended Posts

Posted

I have put my website into maintenance, but waited to long. Now i cannot login anymore because it is redirecting to the maintenance.php.

Anyone has an idea how i can login again?

Posted

If your website is in maintenance, you should still be able to access the back-end of your website through cPanel or another source (such as FTP/sFTP) in order to get out of maintenance.

If you have blocked yourself out of even logging in through cPanel or FTP/sFTP, then you will probably have to get your hosting provider involved.

~G7470

Posted

I can of course access my ftp, but what do i need to do? Could you point me to the right direction?

Thanks in advance :)

Posted
I have put my website into maintenance, but waited to long. Now i cannot login anymore because it is redirecting to the maintenance.php.

Anyone has an idea how i can login again?

I think you have something like this in your login that redirects to maintenance.php or something similar

exit(header("location: /maintenance.php")); 

My advice if you didn't want to post the code, would be to remove that line of code or put it in comments like this //exit(header("location: /maintenance.php"));

Hope this helps

Posted

Only thing i did was putting the maintenance mode to ON in the game itself (staff menu), but my wife called me to do something and after that i needed to login again which didn't work.

But isn't it strange that an admin cannot login into the game?

Posted

then you'll probably need to go to the database and turn it off through that, there should be some column in a table telling your game it is in maintenance, change the value of it

Posted

I would copy your login file and rename it to something that you will only know. From there, I would find the section where it checks if 'Maintenance' is on. Remove that and you will be able to log in. For extra security, I would limit the login authentication to maybe only staff members by checking their staff level?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...