[symfony-users] Re: [Symfony2] PR8-current: Unable to find the controller for path /login_check

2011-04-05 Thread Christian Schaefer
it already? Regards. 2011/4/4 Christian Schaefer cae...@gmail.com no. and why would I? there is no controller to handle that route. instead the security component provides a listener that intercepts. or did that change as well? On 5 Apr., 07:14, oscar balladares liebegr

[symfony-users] Re: [Symfony2] PR8-current: Unable to find the controller for path /login_check

2011-04-04 Thread Christian Schaefer
hi all, thanks for raising this topic. I experience the exact same behaviour. I am still running on PR8 for that exact reason. apparently the listener do not get called any longer. I tried to hunt this down but run out of time and reverted back to PR8. I got as far as there is a method

[symfony-users] Re: [Symfony2] PR8-current: Unable to find the controller for path /login_check

2011-04-04 Thread Christian Schaefer
no. and why would I? there is no controller to handle that route. instead the security component provides a listener that intercepts. or did that change as well? On 5 Apr., 07:14, oscar balladares liebegr...@gmail.com wrote: Hi. Did you define the route for login_check?

[symfony-users] SecurityBundle stops working when moving from PR8 to PR9. (can't find /login_check)

2011-04-04 Thread Christian Schaefer
On 5 Apr., 07:55, Christian Schaefer cae...@gmail.com wrote: no. and why would I? there is no controller to handle that route. instead the security component provides a listener that intercepts. or did that change as well? On 5 Apr., 07:14, oscar balladares liebegr...@gmail.com wrote

[symfony-users] Re: Bundle HelloBundle does not contain any mapped entities.

2011-02-28 Thread Christian Schaefer
hmm.. I'm doing it almost the same way than you. $ php app/console doctrine:mapping:import HelloBundle xml (I use xml actually but that doesn't matter much) $ php app/console doctrine:generate:entities HelloBundle remember to delete all backups in HelloBundle/Entity/ (starting with a '~').

[symfony-users] [Symfony2] {DIC} Dynamic list of service instances as parameter to another service?

2011-02-28 Thread Christian Schaefer
hi all, consider the following XML. ?xml version=1.0 encoding=UTF-8 ? container xmlns=http://www.symfony-project.org/schema/dic/services; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://www.symfony-project.org/schema/dic/ services

[symfony-users] Re: image rendering problem-symfony 1.4

2010-12-03 Thread Christian Schaefer
you're using a relative path but your missing one level. according to your folder structure it would be #tray {padding:12px 15px; background:url(../images/template/ tray.gif) 0 0 repeat-x; font:85%/1.2 tahoma,sans-serif;} however this is not an appropriate question for this mailing list as it

[symfony-users] Re: How do i show a url mapping in my site?

2010-09-21 Thread Christian Schaefer
hi, first of all you should not access $_SERVER directly but use the appropriate symfony class instead. in this case its sfWebRequest [1] where you have a method getUri() [2] which should do what you want. Also have a look at getPathInfo() [3] [1]

[symfony-users] Re: APPs vs Modules/Actions: Pro's and Con's????

2010-08-18 Thread Christian Schaefer
I'm not sure I got you correctly but it seems you are talking about several administrative tasks that are executed by different persons/ roles, right? if you would create an app per person/role you will likely encounter duplicated code a lot. also you would have to maintain a far more complex

[symfony-users] Re: Implementing an existing ACL API in symfony

2010-08-17 Thread Christian Schaefer
hi chris, I would suggest to not reinvent the wheel and look for a solution that uses sfguard on the inside and oauth to the outside. I haven't tested them myself yet but there are some plugins in that area already. cheers /christian On Aug 16, 5:31 pm, catchamonkey ch...@sedlmayr.co.uk wrote:

Re: [symfony-users] Re: Escape %2f in URL solution

2010-07-19 Thread Christian Schaefer
Hi Javier, I examined this for a short while and came to the conclusion that either you have to drop the requirement of having slashes in your parameter and find another solution or do the slightly unelegant str_replace(). Read more about it here:

[symfony-users] Jobeet 1.4 sources anyone?

2010-06-29 Thread Christian Schaefer
Hi all, does anyone have a complete Jobeet project with symfony 1.4 available? The last I've fetched from http://svn.jobeet.org were no longer compatible with sf1.4 and the tutorial... cheers /Christian -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: Symfony 2 Online Conference

2010-06-23 Thread Christian Schaefer
For those unfortunate enough to have missed the conference I tried to wrap it all up here: State of #Symfony 2 online conference - a killer feature revealed! - http://bit.ly/cU5KOi Cheers /Christian On Jun 23, 4:58 am, Eno symb...@gmail.com wrote: Anyone attending the online conference

[symfony-users] Possible to write a table-less doctrine schema definition?

2010-06-15 Thread Christian Schaefer
Hi all, I want to write a plugin that amongst other features contains a Form class. For extensibility reasons I would like it to follow the same way that doctrine model forms are organised having a Base..Form, Plugin..Form and ..Form. So the developer can add custom code inheriting the one from

[symfony-users] My best practices of PHPUnit testing a symfony 1.4 plugin

2010-04-25 Thread Christian Schaefer
Hi all, I finally came round to translate some old (german) posts and summarised my learning so far about PHPUnit testing symfony plugins. As this topic pops up every now and then I thought I share the link here as well. If you think this unworthy self promotion: please ignore. :) Cheers

[symfony-users] Re: memory leaks... just keep on leaking

2010-04-11 Thread Christian Schaefer
Hi Slavka, from your tiny description it is not clear whether the leak you experience is a result of Propel or symfony or your usage of them. You should know that symfony 1.2 is no longer supported but replaced by symfony 1.4. The favoured ORM nowadays is Doctrine although Propel is still

[symfony-users] Re: Can someone help me translating this Doctrine snippet to Propel?

2010-03-15 Thread Christian Schaefer
'.sfInflector::camelize($columnName)}; } I think something like this? - Jon On Sun, Mar 14, 2010 at 4:43 PM, Christian Schaefer cae...@gmail.comwrote: hi all, can somebody translate this simple function to use Propel instead of Doctrine? {{{ function getValueFor($tableName, $id

[symfony-users] Can someone help me translating this Doctrine snippet to Propel?

2010-03-14 Thread Christian Schaefer
hi all, can somebody translate this simple function to use Propel instead of Doctrine? {{{ function getValueFor($tableName, $id, $columnName) { $table = Doctrine::getTable($tableName); $object = $table-find($id); return $object-$columnName; } }}} Thanks a lot! /Christian -- If you want

[symfony-users] {new snippet} Controlling HTTP Caching (Squid, Varnish, ..) with cache.yml files

2009-10-16 Thread Christian Schaefer
hi all, I was looking for a clean and simple way to configure caching headers for a site I was working on. as it does not deserve a plugin (too small and simple) I posted it as a snippet. http://snippets.symfony-project.org/snippet/365 however unfortunately the snippet page does convert to

[symfony-users] Embed forms of one-to-many relation (doctrine)

2009-03-03 Thread Christian Schaefer
Hi all, I've read several similar posts so far but none was helping so far.. This is my schema.yml: {{{ Order: tableName:orders actAs: Timestampable: columns: id: { type: integer(4), primary: true, autoincrement: true } count: { type: integer(4) }

[symfony-users] Serving images from a static server/CDN

2009-03-02 Thread Christian Schaefer
Hi all, is there a way to tell the image_tag() helper to use a different domain than the application? I am creating a lot of images in symfony and write them to disk afterwards to do it only once. yslow still tells me to serve them from a CDN and I want to do this. only I don't fancy to

[symfony-users] Using Jobeet for ORM benchmarking?

2009-01-12 Thread Christian Schaefer
Hi all, I recently wondered if the (excellent!) Jobeet tutorials wouldn't make up a good base for benchmarking Propel against Doctrine? I do not intent this to be a flamewar. My experience with Propel is outdated by now and I have little or no clue of its current features, Doctrine on the other

[symfony-users] How would you.. Combine URLs from the database and the routing system?

2008-11-19 Thread Christian Schaefer
Hi all, I am seeking for advice here. I have nice little symfony project with lots of features and therefor a lot of routes. One feature though is a small custom built CMS that allows its users to do two things: 1. building a site structure that has no limits in terms of depth or naming

[symfony-users] sf1.2 sf_format and view.yml

2008-09-29 Thread Christian Schaefer
Hi all, I was just about to create a small feed module that depending on the sf_format (the file extension on the url) serves afeed as html, rss or atom. conveniently symfony already does a lot for thisout of the box. so it automaitcally uses the template feedSuccess.rss.php and the layout

[symfony-users] sfForms 1.1 - How to handle

2008-08-26 Thread Christian Schaefer
Hi all, I have two models: Recipe and Ingredient. Now I want to have a form to enter a recipe with a dynamic number of ingredients. So the form should start with three ingredients but the user must be able to add some more via Ajax. Now I wonder how I would implement this best? Embedded forms?

[symfony-users] Clearing attributes on session timeout

2007-09-10 Thread Christian Schaefer
hi all, this might be trivial but I just can't find how to do it.. when a user logs in onto my site I set a few attributes to $this-getUser()-setAttribute('nickname', #nick#); now when the session expires (meaning no logout action was triggered) the user is no longer authenticated but the

[symfony-users] Fatal error: Uncaught exception 'Doctrine_Exception' with message

2007-09-03 Thread Christian Schaefer
hi all, I just did an svn update on one of my projects using the doctrine plugins. all worked fine before now after the update (and symfony cc of course) I get the following exception: Fatal error: Uncaught exception 'Doctrine_Exception' with message 'Unknown attribute.' in

[symfony-users] Re: csI18nRoutingPlugin release / Translatable URLs

2007-08-30 Thread Christian Schaefer
hey thierry, thanks for your suggestion. I would also like to see this included as I can see a number of uses for this. the procession footprint is quite neat and if you would be able to turn it on or off.. well what I meant to say is just thanks! ;) cheers /christian Great work. Actually

[symfony-users] csI18nRoutingPlugin release / Translatable URLs

2007-08-29 Thread Christian Schaefer
hi all, after using it for quite a while now I finally found the time to add a bit of documentary and ship this little plugin. it basically allows you to specify several urls per route. that is one url per route and culture. consider the following example: homepage: url: de:

[symfony-users] Re: csI18nRoutingPlugin release / Translatable URLs

2007-08-29 Thread Christian Schaefer
hey thanks tritan! yeah I though a personal prefix kinda makes sense whereas sf might look cool but gives the wrong impression imho. let me know if this plugin is of use to you. ;) cheers /christian Tristan Rivoallan wrote: On 8/29/07, Christian Schaefer [EMAIL PROTECTED] wrote

[symfony-users] [sfDoctrinePlugin] schema options

2007-08-07 Thread Christian Schaefer
hi all, I recently switched from propel to doctrine. so far everything is ok. I I just have two questions: 1. is there a way to have packages like in propel? where models can be grouped into packages whose classes will be created in the packages directory (ie /lib/model/doctrine/myPackageName)?