ROUTING problems (question lists, day 7/8) - UPDATED, still need help

Discussion around this tutorial for symfony 1.0.x

Moderators: dwhittle, Ian

ROUTING problems (question lists, day 7/8) - UPDATED, still need help

Postby andjules » Tue May 09, 2006 6:00 pm

I thought my pagers were broken (and to some extent, they still may be, see below), but I now realize it's my routing that is struggling (and maybe my httpd.conf?).
If i route the popular_questions as suggested (url: /index/:page), it works in frontend_dev.php, but NOT in the normal production environment - askeet/index/1 results in a custom 404. askeet/index.php/index/1 works. (YES, I HAVE CLEARED THE CACHE! a thousand times). IF I go into routing.yml and deliberately typo the rule url: indep/:page/, it works in the production environment!

SO, why won't the word 'index' work in a routing rule??

2nd question: when I go to askeet/recent/1 the initial page works, but the pager links all point back to askeet/index/X... How do I get the _question_list.php/QuestionHelper.php/pager_navigation code to recognize the difference between the normal question paging and the recent questions?

please HELP! Thanks
Last edited by andjules on Wed May 10, 2006 6:52 pm, edited 1 time in total.
andjules
Junior Member
 
Posts: 4
Joined: Wed Mar 29, 2006 7:56 pm
Location: toronto

Re: ROUTING problems (question lists, day 7/8) - UPDATED, still need help

Postby andjules » Wed May 10, 2006 6:53 pm

updated - fixed the paging problem with recent by jumpoing ahead and employing the 'rule names' strategy, as per svn.

still stumped re: use of the word index.
Last edited by andjules on Wed May 10, 2006 11:57 pm, edited 1 time in total.
andjules
Junior Member
 
Posts: 4
Joined: Wed Mar 29, 2006 7:56 pm
Location: toronto


Return to askeet

Who is online

Users browsing this forum: No registered users and 0 guests