[symfony-users] Re: Routing problem for generate-admin with id: type string (128)...

2010-07-13 Thread Richtermeister
Take a look here: http://www.codemassacre.com/2009/04/27/symfony-12-admin-with-custom-primary-key/ Daniel On Jul 12, 9:06 am, PePe_el_Romano wrote: > Good dear group: > I am writing to see if someone has this same error occurred and has > solved, or if they are aware of it. > > Problem descrip

[symfony-users] Re: Routing problem with sfGuardUserProfile

2010-03-16 Thread Tom Ptacnik
How is possible that if you list a utilisateus the url is "/ utilisateurs/:id" . It should be only /utilisateurs , right? On 10 bře, 09:33, "NOOVEO - Christophe Brun" wrote: > I'm trying to use sfDoctrineApplyPlugin, I have been asked to display 2 > backend pages : one to handle administrators,

[symfony-users] Re: Routing problem

2008-12-20 Thread Kostrowsky
For all people interested in this issue: The darn virtual host directive contained a «Multiviews» option in its directory subdirective. Got rid of it: bingo! 3 days of idleness NameVirtualHost 127.0.0.1 ServerName localhost DocumentRoot C:\yadiyada Op

[symfony-users] Re: Routing problem

2008-12-18 Thread Kostrowsky
routing.yml: homepage: url: / param: { module: indexsplash, action: index } default_symfony: url: /symfony/:action/* param: { module: default } default_index: url: /:module param:

[symfony-users] Re: Routing problem

2008-12-18 Thread Bernhard Schussek
Could it be that your .htaccess file is messed up? Could you maybe post that file, the contents of your routing.yml and that of settings.yml here? Otherwise it's quite hard to help you. Bernhard --~--~-~--~~~---~--~~ You received this message because you are subs

[symfony-users] Re: Routing problem

2008-12-17 Thread Kostrowsky
On 18 déc, 01:18, "Bernhard Schussek" wrote: > Hi, > > Is no_script_name turned on for the given environment in settings.yml? > > Bernhard Hi, Yes, it's turned on in all envs. My difficulties are getting worst: even though I commented out the language action of the index module, and got rid

[symfony-users] Re: Routing problem

2008-12-17 Thread Bernhard Schussek
Hi, Is no_script_name turned on for the given environment in settings.yml? Bernhard --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googleg

[symfony-users] Re: Routing Problem with dynamic actions

2008-12-14 Thread lowshoe
thank you ant, you led me the right direction. in my code i still had named :action as :test so the following works: content: url:/:action param: { module: content } requirements: action: "company|products|contact" regards, lowshoe --~--~-~--~~~-

[symfony-users] Re: Routing Problem with dynamic actions

2008-12-13 Thread Ant Cunningham
You dont need to define action if that symbol will always be there. /:action means thats the action name since you defined the module i think it should work. did you try leaving out the action in the param entry? lowshoe wrote: > hi all, > > i'm quiet new to symfony. currently i'm fiddling ar

[symfony-users] Re: Routing problem

2008-06-18 Thread Centerax
Thanks a lot Lee! That worked great. See ya On Jun 17, 4:44 pm, Lee Bolding <[EMAIL PROTECTED]> wrote: > You need to modify your .htaccess to skip routing rules for files > ending .rss > > Add : RewriteCond %{REQUEST_URI} !\.rss$ > > after the line with !\.html$ in it. > > On 17 Jun 2008, at

[symfony-users] Re: Routing problem

2008-06-17 Thread Lee Bolding
You need to modify your .htaccess to skip routing rules for files ending .rss Add : RewriteCond %{REQUEST_URI} !\.rss$ after the line with !\.html$ in it. On 17 Jun 2008, at 20:28, Centerax wrote: > > Hello guys. > > I've this problem: > in my dev environment I can access this url > www.d

[symfony-users] Re: routing problem

2008-02-02 Thread Ian P. Christian
> The problem now is that matching is done before connecting > all the prepended routes (seems so) which ends in matching one of > the default routes from routing.yml - only these are available > for the parser in sfRouting at this point. Are you using sf1.1? If so, this is a known problem curre

[symfony-users] Re: Routing Problem

2007-08-31 Thread Yeray Rodriguez
the problem is that this routing rule is only a simplified example of my routing rules, which are more complex. If i don't find a solution it means a lot of routing rules (very slow) :S Thanks. On 8/31/07, David Brewer <[EMAIL PROTECTED]> wrote: > > > Oh, I see. I don't know if the routing rules

[symfony-users] Re: Routing Problem

2007-08-31 Thread David Brewer
Oh, I see. I don't know if the routing rules work that way or not, I always thought that anything you defined specifically under param would override anything that came from the url. When I've wanted to do things like this in the pass, I would use two or more different rules: url: /:mode param

[symfony-users] Re: Routing Problem

2007-08-31 Thread Yeray Rodriguez
Hi David, thanks for your answer. I defined category1 under param to give it a default value to avoid another routing rule when there isn't category1 on the url. On 8/31/07, David Brewer <[EMAIL PROTECTED]> wrote: > > > Try this variation on your routing rule: > > url: /:mode/:category1 > param:

[symfony-users] Re: Routing Problem

2007-08-31 Thread David Brewer
Try this variation on your routing rule: url: /:mode/:category1 param: { module: categories, action: show } requirements: { mode: ^(basic|premium), category1: \d+ } You don't need to define settings for the category1 or mode parameters under 'param' as since they are part of the URL, they will