tags:

views:

190

answers:

2

I created a Symfony project and I can access it from a web browser but it doesn't display any images.

I get this instead "If you see no image in this page, you may need to configure your web server so that it gains access to the symfony_data/web/sf/ directory."

A: 

It's trying to load the common images from the symfony installation itself.

To make this work you'll need update your virtual host entry or make a symlink

Peter Bailey
+2  A: 

Just create a symbolic link named "sf" in your DocumentRoot that links to SF_DIR/data/web/sf. Hope this helps.

Darmen
thanks. I solved this by copying the SF_DIR/data/web/sf to my project root.
Attilah
Yyou're welcome. But it's recommended not just copy, but make a link for future compatibility.
Darmen