Fat-Free Framework - Blank Page Error
Was trying getting started with Fat-Free just now, but found that the page wasn't loading at all, or more accurately, a blank page was shown.
I added a dummy echo before the template echo,
and found that the echo is printed, but not everything else in the welcome.htm
After debugging, I found out that its caused by
The page displays correctly, without css style, after removing that line, and clear the cache.
To solve this, its relatively easy.
Just need to enable
Then clear the /cache folder.
Hope that save the your time for some of you out there as well! :)
I added a dummy echo before the template echo,
echo "Hello World!"; echo Template::serve('welcome.htm');
and found that the echo is printed, but not everything else in the welcome.htm
After debugging, I found out that its caused by
{{ Web::minify('ui/',array('style.css'),FALSE) }}
The page displays correctly, without css style, after removing that line, and clear the cache.
To solve this, its relatively easy.
Just need to enable
php_socketsin you PHP extension.
Then clear the /cache folder.
Hope that save the your time for some of you out there as well! :)
Comments
Post a Comment