Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

GRAV and Linux Apache MySQL PHP problem

Started by diretouch 8 years ago · 3 replies · 958 views
8 years ago

hi there.

I think to go to bank in few days and pay for hosting and domain but want to try systems today and i begin with yours.

When i put folder grav-admin folder in
/var/www/html/

and opening it via browser all i see is blank page.

How to fix that? I think i have downloaded full package ( the link in right)

8 years ago

Assuming your website is loading from domain.tld, you have extracted the archive into the following location, correct?

/var/www/html/

Then from there, you are navigating to domain.tld, is that right?

Did you leave all of the files in the grav-admin directory? If so, you need to navigate to domain.tld/grav-admin or domain/tld/grav-admin/admin. If you have not, I would suggest moving the files from the grav-admin subdirectory to /var/www/html/ and then navigate to domain.tld/admin.

I would also recommend downloading Grav 1.3.10 instead of 1.3.9. The latest package download is still downloading 1.3.9, which had an issue with the admin interface from the following link.

https://getgrav.org/download/core/grav-admin/1.3.10

The white page suggests you are hitting a working web service but that the index.html (or index.some_other_extension) is empty or does not load any element or CSS. Normally you would receive a 403 error if it were not reading anything.

Do you have access to the install's subdirectory?

3 years ago

you need to do two things when setting up a new grav site.

  1. chown -R www-data:www-data /var/www/whereGrav (www-data is the apache user)
  2. add something like the following to /etc/apache2/sites-available/000-default.conf
    TXT
    <Directory /var/www/html/grav>
        Options Indexes FollowSymLinks
        AllowOverride All
        Require all granted
    </Directory>
    

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 3 days ago
2 70 5 hours ago
General · by pamtbaau, 10 hours ago
1 45 9 hours ago
General · by Andy Miller, 22 hours ago
0 43 22 hours ago
General · by Marcel, 12 months ago
6 341 4 days ago
General · by Duc , 5 days ago
3 35 5 days ago