-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin dashboard #26
Comments
I came to ask about this too. I have just installed Batflat to try it out and after I log in I just get a 404, looked at the files and see there is only index and htaccess. Am I missing something simple? Thanks! |
I think that you have an issue with mod_rewirte. Do you have Apache? |
Yes. I am using the Apache/2.4.10 (Win32) OpenSSL/1.0.1h PHP/5.5.15 |
I didn't have https:// added so added that in, but still getting 404. I am not that great with php, so there is a good chance I am missing something here!
|
@piotr-placzek @wilburforce83 do you have mod_rewrite enabled? |
@piotr-placzek thanks for the quick reply, and sorry for my ignorance, I am still learning! I am hosting on a subdomain on Site Ground. They say that to enable mod_rewrite it needs to go in the .htaccess of the website. https://www.siteground.com/kb/how_can_i_enable_modrewrite_module/ I have added this to the .htaccess in the /admin folder. Should it go in the subdomain .htaccess instead, or maybe even in the main domain /public_html/.htaccess? i.e. /public_html/.htaccess Many thanks for your help! |
|
My mistake. The rewrite_module was turned off. However, now after giving login and password (admin / admin) in response I get a blank page (without any source code at all).
|
Update PHP to 5.6 or 7 ;) |
Okay, I have resolved mostly! I now have a 500 error on HTTPS, HTTP works fine, though I think I can fix that myself :) many thanks!! |
@wilburforce83 enable "DEV_MODE" in |
@klocus Thanks, I have enable DEV_MODE to true. is there log somewhere? can't find anything obvious, thanks again for your help! |
You should get some error instead of 500 page. Or maybe it's because of .htaccess protection. Try remove
from this file and check if that is working. |
Okay, so if I manually remove the "s" everything works with no 500 errors, so it is all https:// related. Removing the above code didn't do anything, is the https thing a simple fix that I'm missing? |
Please use default Batlfat's .htaccess file. If you want use SSL, add
after |
@klocus thanks for this! I have done the changes but it hasn't done anyhting. However, I am on a subdomain, so sdo I need to write something different here:
To reflect that it is a subdomain? |
It doesn't matter if you are on subdomain. |
|
I just reinstalled Apache and updated everything. I changed the control panel from UwAmp to Xampp. And everything is ok. Thanks for your help and patience. |
@klocus Thank you so much for all your help, but it still isn't working. I am wondering whether there is a problem with my host or something? I think I might just give up for the time being :( |
Hello
I just downloaded the free batflat version from the project website.
Unfortunately, the admin directory contains only the index and htaccess files. There are no directories, therefore logging into the administration panel always results in the message
NOT FOUND admin/dashboard
.....The text was updated successfully, but these errors were encountered: