This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

day 3 Redefine the default homepage BROKEN

Discussion around this tutorial for symfony 1.0.x

day 3 Redefine the default homepage BROKEN

by notetoself » Sun Sep 21, 2008 8:54 pm

I specified the following:

homepage:
url: /
param: { module: question, action: list }

but get...

[sfError404Exception]
Action "question/List" does not exist.

and i havent found a solution in the forums or via google... any suggestions??
notetoself
Junior Member
 
Posts: 2
Joined: Sun Sep 21, 2008 8:43 pm
Location: IL

Re: day 3 Redefine the default homepage BROKEN

by cokker » Mon Sep 22, 2008 7:37 am

be sure you have a module named "question" and inside this module you have an action called "list"

greets
Sven
cokker
Faithful Member
 
Posts: 591
Joined: Mon Jan 15, 2007 10:43 am
Location: Germany

Re: day 3 Redefine the default homepage BROKEN

by halfer » Mon Sep 22, 2008 11:16 am

question/List

URLs are case-sensitive as well - this should be question/list, not question/List.
halfer
Faithful Member
 
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK

Re: day 3 Redefine the default homepage BROKEN

by notetoself » Tue Sep 23, 2008 12:29 am

@cokker --

The module is there... however, following the exact instructions from the Tutorial, there is no LIST action in the files there. In fact, there is only a "EditSuccess" and "IndexSuccess" file...

$halfer --

I should have noted that when I posted originally, BUT... I first tried question/list and then played around with the capitalization for a bit.
notetoself
Junior Member
 
Posts: 2
Joined: Sun Sep 21, 2008 8:43 pm
Location: IL

Re: day 3 Redefine the default homepage BROKEN

by halfer » Tue Sep 23, 2008 10:34 am

$halfer = ... :D~ :-D~ :grin:

The action "list" in the 1.0 admin generator would now be called "index" in the 1.1 admin generator. This is because Askeet was written with 1.0 (and works, after a fashion, in 1.0). I don't recommend trying it with 1.1 unless you have mounds of patience.

Edit: if you are trying 1.1, give My First Project a go. I've made lots of alterations to it recently and it seems to work fine. And more improvements are on their way!
halfer
Faithful Member
 
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK