[symfony-users] Re: once again, the error " The "default" context does not exist."

2009-05-16 Thread nick
Okay, I came up with a ridiculous hack to get this working. I simply wanted to be able to run the "load-data" and "build-all" tasks. This page gives info about how to add sfContext to a task: http://www.symfony-project.org/book/1_2/16-Application-Management-Tools So on my machine I opened up t

[symfony-users] once again, the error " The "default" context does not exist."

2009-05-16 Thread nick
I'm using Symfony 1.2.7. I'm using Propel as the ORM. I would like to be able to run this command: symfony propel:build-all-load I try to run this and I get the error: The "default" context does not exist. I look around on Google and there are dozens of mentions of this error, such as this d

[symfony-users] Re: do i directly edit sfGuardAuth signinSucess.php if I want to customize the signing form, or do I override it elsewhere?

2009-05-16 Thread nick
On May 16, 3:00 am, Sid Bachtiar wrote: > URL is in Symfony format, e.g.: 'module/action?param=value' > > Don't set the following app.yml sfGuard's setttings: > > all: >   sf_guard_plugin: >     success_signin_url:     �...@my_route?param=value # the plugin use > the referer as default Okay, I

[symfony-users] Re: do i directly edit sfGuardAuth signinSucess.php if I want to customize the signing form, or do I override it elsewhere?

2009-05-16 Thread nick
On May 16, 3:00 am, Sid Bachtiar wrote: > URL is in Symfony format, e.g.: 'module/action?param=value' > > Don't set the following app.yml sfGuard's setttings: > > all: >   sf_guard_plugin: >     success_signin_url:     �...@my_route?param=value # the plugin use > the referer as default Thanks

[symfony-users] Re: Chinese Lanuage in the URL, failed, please share some of your ideas, thanks

2009-05-16 Thread Gábor Fási
AFAIK the chinese characters get encoded in some way, so they also contain dashes, and \w+ doesn't match then. Try .+ there first, if it works that way then the regex is the problem. Also, the \w is locale-specific, maybe if you set php to use then chinese locale, your current regexp will work as

[symfony-users] Chinese Lanuage in the URL, failed, please share some of your ideas, thanks

2009-05-16 Thread xhe
Hi, Don't know if anyone of you ever met this situation before. I want to use nickname of user in the URL, so that system will retrieve their info to update or view This is what I used in routing, user: class: sfPropelRouteCollection options: { model: Users, column: nick_name, prefix_path:

[symfony-users] Re: is symfony aware of the yaml file that an option is defined in?

2009-05-16 Thread Jonathan Wage
No, it is not. - Jon On Fri, May 15, 2009 at 9:32 PM, nick wrote: > > > Symfony depends on a lot of yaml files, such as security.yml and > setttings.yml and routing.yml. Does Symfony know in which file a given > option is defined in? I'm under the impression that the division of > options into

[symfony-users] sfValidatorXXXUnique

2009-05-16 Thread Johannes Heinen
Hi all, actually i'm working on extending the symfony file upload capabilities, both for custom forms and the admin-generator. Scenario is: Upload a file, store pathname and hash in database. That works fine with my validator, should be going with sfValidatorFile also by extending the sfXXXForm:

[symfony-users] Re: How to set enum values?

2009-05-16 Thread djones
It's not neccessary to emulate ENUMs yourself, Doctrine will do that for you, or will use native ENUMs if you choose to and your RDBMS supports them. >From the "symfony and Doctrine with sfDoctrinePlugin" book: "The Doctrine enum type can either be emulated or you can use the native enum type if

[symfony-users] Re: symfony debug toolbar where is the database??

2009-05-16 Thread Eno
On Fri, 15 May 2009, Hassen Ben Tanfous wrote: > In 1.1.2 in the symfony debug toolbar, we had the database calls (we could > see all the queries in there). In 1.1.7, I do not see it anymore. Not even > the number of queries. > > How do I reset it like it was? Are you saying the toolbar is mi

[symfony-users] Re: sfGuardPlugin

2009-05-16 Thread Yuriy Voziy
:) Symfony это не магия. СSS файлы не влияют работу фреймворка :) А вот mod_rewrite надо бы включить. On Sat, May 16, 2009 at 1:16 AM, ScaNNeR wrote: > > Hey all. Accidentally met with an error in the plugin sfGuardPlugin. > The problem of this: > We have a CSS file. It is described DIV like th

[symfony-users] Re: do i directly edit sfGuardAuth signinSucess.php if I want to customize the signing form, or do I override it elsewhere?

2009-05-16 Thread Sid Bachtiar
URL is in Symfony format, e.g.: 'module/action?param=value' Don't set the following app.yml sfGuard's setttings: all: sf_guard_plugin: success_signin_url: @my_route?param=value # the plugin use the referer as default On Sat, May 16, 2009 at 6:46 PM, nick wrote: > > > > On May 16, 12