sab Posted April 14, 2015 Share Posted April 14, 2015 hi again, another noob question. they fixed the 500 Internal server error. but now i can't access my admin login page. the old url doesn't work anymore. now i can't make any changes. i can only see the home page. that's all. is there any way i can find out about my admin login page url? thanks in advance. Link to comment Share on other sites More sharing options...
LostKobrakai Posted April 14, 2015 Share Posted April 14, 2015 The admin page does always get the id of 2 assigned, therefore this should get you there. echo $pages->get("id=2, include=all")->url; Link to comment Share on other sites More sharing options...
Beluga Posted April 14, 2015 Share Posted April 14, 2015 Some more ways: https://processwire.com/talk/topic/4688-forgot-admin-url/ Link to comment Share on other sites More sharing options...
sab Posted April 14, 2015 Author Share Posted April 14, 2015 i got "/admin123/", the same as before. but when i try to load, i get: Not FoundThe requested URL /admin123/ was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Link to comment Share on other sites More sharing options...
marcus Posted April 14, 2015 Share Posted April 14, 2015 Is a .htaccess file present in the root of your project? Link to comment Share on other sites More sharing options...
sab Posted April 14, 2015 Author Share Posted April 14, 2015 yes, and in that file there is only one row: AddHandler application/x-httpd-php54 .php54 .php maybe, they deleted something or everything in this file? i never played with these kinds of advanced issues before. 1 Link to comment Share on other sites More sharing options...
marcus Posted April 14, 2015 Share Posted April 14, 2015 Add the contents of this (being the necessary original contents of PWs htaccess) below the line you discovered:https://raw.githubusercontent.com/ryancramerdesign/ProcessWire/master/htaccess.txt Link to comment Share on other sites More sharing options...
Mike Rockett Posted April 14, 2015 Share Posted April 14, 2015 So, basically, Arvixe has broken everyone's sites? Since when can they just alter everyone's files? Phew, I'm so glad my hosting provider knows what they're doing... Sorry, just had to get it out there... 1 Link to comment Share on other sites More sharing options...
sab Posted April 14, 2015 Author Share Posted April 14, 2015 i copied the file content into the htaccess.txt and i still get the same result. Link to comment Share on other sites More sharing options...
marcus Posted April 14, 2015 Share Posted April 14, 2015 i copied the file content into the htaccess.txt and i still get the same result. Misunderstanding: rename htaccess.txt to .htaccess 1 Link to comment Share on other sites More sharing options...
sab Posted April 14, 2015 Author Share Posted April 14, 2015 i copied an older version of .htaccess file to the .htaccess on the server. i got the admin login page! but it says: Not urgent, but note that your root .htaccess file is not up-to-date with this ProcessWire version - please update it when possible.To ignore this warning, replace or add the following in the top of your existing .htaccess file: # @indexVersion 250 could someone provide me with an uptodate version of the .htaccess file? thank you!!! *okay! so i will copy your file into the .htaccess, Marcus! *Solved! Thank you, Marcus! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now