Skip to content
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

Config reading issue with Grav 1.6.26 & Ubuntu 20.04 LTS #2984

Closed
jonathankaiser opened this issue Aug 19, 2020 · 3 comments
Closed

Config reading issue with Grav 1.6.26 & Ubuntu 20.04 LTS #2984

jonathankaiser opened this issue Aug 19, 2020 · 3 comments

Comments

@jonathankaiser
Copy link

I setup a new Ubuntu 20.04 LTS VM through Vagrant and got the issue below. I switched it out to Ubuntu 18.04 LTS and Grav ran just fine. For some reason Grav is having trouble reading any of the config files in 20.04. In the image below, $types is empty on line 1612 (20.04) but when setup on 18.04 it gets populated correctly ([html,htm,xml,txt,json,rss,atom]). Am I missing anything or does anyone have a similar with 20.04?

Screen Shot 2020-08-19 at 2 57 35 PM

@rhukster
Copy link
Member

It's not really an issue with Grav then, sounds like an issue with PHP. Grav doesn't access anything directly, everything goes through PHP. What version of PHP is Grav running on your Ubuntu 20.04 compared to your 18.04 ?

@jonathankaiser
Copy link
Author

On Ubuntu 20.04 I tried Grav with both PHP 7.3.21 & PHP 7.4.9 and had the same issue. However, Grav ran correctly on Ubuntu 18.04 with PHP 7.4.9. This is all on Apache by the way.

@onetrev
Copy link

onetrev commented Aug 22, 2020

I have just setup a similar environment @jonathankaiser except in my case it was using WSL2 instead of Vagrant. But I had a fresh Ubuntu 20.04 LTS and PHP 7.4.3. I had a bunch of errors too, unfortunately I can't recall if was the same. I know it's a long shot, but maybe the issue is the same I had? My errors were due to Apache permissions. I had to update the owner/group for my Grave files to be the same as what Apache uses www-data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants