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,
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_sockets
in you PHP extension.

Then clear the /cache folder.

Hope that save the your time for some of you out there as well! :)

Comments

Popular posts from this blog

[Azure Websites PHP] Cross Domain request results in blank response page after Preflight HTTP OPTIONS

[Magento] Create Contact Form with Dynamic Recipient