Iam Posted January 6, 2015 Share Posted January 6, 2015 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? Quote Link to comment Share on other sites More sharing options...
G7470 Posted January 6, 2015 Share Posted January 6, 2015 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 Quote Link to comment Share on other sites More sharing options...
Iam Posted January 6, 2015 Author Share Posted January 6, 2015 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 :) Quote Link to comment Share on other sites More sharing options...
G7470 Posted January 6, 2015 Share Posted January 6, 2015 Well, how exactly did you put your website into maintenance? What were the steps you took? ~G7470 Quote Link to comment Share on other sites More sharing options...
jcvenom Posted January 6, 2015 Share Posted January 6, 2015 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 Quote Link to comment Share on other sites More sharing options...
Iam Posted January 6, 2015 Author Share Posted January 6, 2015 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? Quote Link to comment Share on other sites More sharing options...
Coly010 Posted January 6, 2015 Share Posted January 6, 2015 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 Quote Link to comment Share on other sites More sharing options...
W3Theory || Peter Posted January 6, 2015 Share Posted January 6, 2015 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? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.