-
Notifications
You must be signed in to change notification settings - Fork 788
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
When installing from the ZIP with admin, error 404 #861
Comments
Did you install “Grav Core” or “Grav Core + Admin”? Can you reach just Also what server/web server/php versions are you running? |
That redirect happens because it's the first time load and the admin plugin is trying to get you to register your administration user. It is definitely working as intended but something is causing that 404. My question to you is if the 404 error you are getting looks like a well styled 404 page with a "Whoops" in it or if it's the default plain web server 404 error. If it is the latter that is definitely an issue with the htaccess, in which case you should make sure you have a If it is the former, try having a look at the logs in |
Well... Sorry I'm bad, here is what I've done to make it work (should be in documentation instead of troubleshooting) : # Place Grav files in webroot
cd /var/www/html/
mv /home/user/Downloads/grav-admin-v1.6.28.zip .
unzip grav-admin-v1.6.28.zip
rm grav-admin-v1.6.28.zip
mv grav-admin/* .
mv grav-admin/.* .
rmdir grav-admin/
chown -R www-data: *
chown -R www-data: .*
# Install php modules dependancies
apt install php-mbstring php-curl php-dom php-gd php-xml php-zip
# Enable apache mod rewrite
a2enmod rewrite
# Add "AllowOverride All" to apache's virtualhost configuration
nano /etc/apache2/sites-available/000-default.conf # Restart apache service
service apache2 restart Thanks for your help ! |
@tigerblue77 I moved it to here in order to improve the docs. |
Thanks for your consideration |
Hello,
I followed your doc here : https://getgrav.org/downloads
and here : https://learn.getgrav.org/16/basics/basic-tutorial
I saw the page with php extensions missing, I installed them and so the webpage dissapeared and now I am always redirected to localhost/admin with "error 404 not found"... You're app is not really plug and play ^^
The text was updated successfully, but these errors were encountered: