Beluga Posted August 25, 2018 Share Posted August 25, 2018 In short: RockGrid will not render in the frontend in my dev environment. I narrowed it down to the use of output buffering in the inputfield module (it renders, if I comment the ob_ stuff out). Bernhard is unable to reproduce the problem. Output buffering works in template context just fine, I can ob_start() and get its status. The problem is limited to the inputfield rendering context. I suspected something in my specific Docker dev environment, so I tried a completely different setup, but was still able to reproduce the problem. My different setup used suzel/docker-processwire so Apache instead of Caddy. I did my further tests with the Default intermediate profile just like Bernhard. PW version used is 3.0.98 and PHP is 7.2.9 for my initial setup and 7.0.28 for the suzel env. What should I be looking into next? Link to comment Share on other sites More sharing options...
Beluga Posted August 25, 2018 Author Share Posted August 25, 2018 Uh, and now Dragan provided a working solution that uses output buffering in the template as well! Would still love to know what is the big deal with this behaviour. Edit: well, it turned out it was all because I followed the RockGrid quickstart too literally and did not add an echo for some reason. What a great way to waste 15 hours. 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