php - Symfony 2 fresh install no url works -
i have problem , know assume covered in many other similar topics. please bear me moment. i've read other topics
no route found get/
but problem different. works other programmers when used url/app_dev.php , not working while using url/app.php. me none of them works.
i trying learn symfony2 scratch. internet resources assume had worked other framework similar symfony , not first covered in jargon , not explain anything. know html, css, javascript , php, want learn how use symfony , first framework have ever used.
i have 1 possible decode tutorial on symblog.co.uk/
so follow steps tutorial , despite doing write there different result. @ first homepage on fresh installation looks that
http://postimg.org/image/4mgq50imn/
while mine looks (left screen)
http://postimg.org/image/4p6ft0h8r/
and on other page exception of app/example blank.
to continue tutorial need use application interface working homepage. , can not access it. can edit file database connection want stuff according tutorial because new frameworks.
can please me problem? guessing problem routing, in tutorial first had homepage working , advise start creating/rewriting routing.
i not sound wise person. last place can ask on internet. everywhere else answer long message - "routing" or "hosts" , send me symfony website (despite me saying place , couldn't understand/find answer). if think there wrong me because started learning symfony last week , not understand much, if spent many hours searching answers please ignore question or answer me person never used frameworks.
here apache httpd.conf:
alias /bitnami/ "/opt/lampp/apache2/htdocs/" alias /bitnami "/opt/lampp/apache2/htdocs" <directory "/opt/lampp/apache2/htdocs"> options indexes followsymlinks allowoverride order allow,deny allow </directory> # /etc/httpd/conf/httpd.conf namevirtualhost 127.0.0.1 <virtualhost 127.0.0.1> servername symblog.dev documentroot "/opt/lampp/htdocs/symblog.dev/web" directoryindex app.php <directory "/opt/lampp/htdocs/symblog.dev/web"> allowoverride allow </directory> </virtualhost>
and added etc/hosts
# /etc/hosts symfony tutorial 127.0.0.1 symblog.dev
i don't know do. want go through tutorial have idea symfony...
may i'm posting wrong answer, there bundle called acme
consisted of demo pages, configs before, removed recently. if @ files of web
folder, there app.php
, app_dev.php
, , config.php
files, , config.php
file should output this page, not app_dev.php
. try open directly, http://symblog.dev/config.php
.
if want try if installation working or not can open app/example
page, shipped latest version. should output this page. can @ this tutorial (written v2.3) better understanding how system works.
Comments
Post a Comment