[symfony-users] Pagination using routing

2011-03-26 Thread Srivatsa Prasad
Hi All, In my routing i have used setting_master: url: /setting/master class: sfPropelRoute options: { model: master, type: list } param: { module: setting, action: index } requirements: { sf_method: get } and in my action i am using public function executeIndex(sfWebRequest

[symfony-users] Re: cli memory problem...

2011-03-26 Thread Jonathan Franks
Gabriel, you were right! It was a problem with jailshell / cpanel. We fixed it by disabling fork bomb protection. For anybody else with this problem, look here... http://www.mickgenie.com/blog/jailed-shell-memory-issue/

[symfony-users] Re: Overriding Error Templates

2011-03-26 Thread weaverryan
Hey guys- The docs are correct for the latest master. If you're using PR8 (and probably PR7), use the following path: app/FrameworkBundle/view/Exception/error.html.twig I want to STRESS however that the correct going forward (after PR8) will be:

Re: [symfony-users] about the 'return null' issue in php

2011-03-26 Thread Lixin Yu
Thank you for you reply. I've discussed this topic with people in #symfony-dev channel on Freenode, and get answer from there. Symfony is doing things right, it's just some of my misunderstanding. :) On Thu, Mar 24, 2011 at 10:03 PM, Jeremiah Dodds jeremiah.do...@gmail.comwrote: On Tue,

Re: [symfony-users] Re: Overriding Error Templates

2011-03-26 Thread Fabien Potencier
On 3/26/11 2:36 PM, weaverryan wrote: Hey guys- The docs are correct for the latest master. If you're using PR8 (and probably PR7), use the following path: app/FrameworkBundle/view/Exception/error.html.twig This is the right path but unfortunately it was not working under PR7 and PR8.

Re: [symfony-users][Symfony2]Multiple routes in annotations

2011-03-26 Thread georg
Hi, has this been solved or has a solution been found? I'm also very interested in achieving the same thing as Mark. thanks georg -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed

Re: [symfony-users][Symfony2]Multiple routes in annotations

2011-03-26 Thread Fabien Potencier
On 3/26/11 5:55 PM, georg wrote: Hi, has this been solved or has a solution been found? I'm also very interested in achieving the same thing as Mark. /** * @extra:Routes({ * @extra:Route(/index), * @extra:Route(/index.{_format}) * }) */ public function indexAction() { return

[symfony-users] Re: AJAX and ESI problems

2011-03-26 Thread Marc MacLeod
Can anyone shed some light on this? It's quite a problem for anyone that wants to build an ajax application and use the Symfony2 caching system (ESI). If it can't be done I need to re-assess how I build this Symfony2 app. Thanks On Mar 25, 8:04 pm, Marc MacLeod marbe...@gmail.com wrote: Hi

[symfony-users] Re: Upgrade from sf 1.3 to sf 1.4: Fatal error: Class 'sfMessageSource' not found

2011-03-26 Thread Klemens Ullmann-Marx
Thank you Carl. Yes I checked if the file exists. Strangely however, after a reboot the problem vanished. Am 2011-03-25 21:10, schrieb Carl: Have you verified that sfMessageSource.class.php exists in your install? It should be located in lib/vendor/symfony/lib/i18n/. This is an abstract

[symfony-users] [Symfony2] Redirect to especific route after login (_security_check)

2011-03-26 Thread oscar balladares
Hi everybody. [?] I want to redirect a user to an especific route after login/authentication according to his roles. I'm aware that Symfony2 authenticates users through _securty_check route and it does't require you to write a securityCheckAction() controller; also, if you request something like

[symfony-users] ODM insisting ... Problems with data / load

2011-03-26 Thread César Hernández
in ORM with the command: php app/console doctrine:data:load y initial data in the database that I have defined in the folder ...Bundle/DataFixtures/ORM / My question is, how do the same with ODM? en route MiEmpresa\MiPrimerNOSQLBundle\DataFixtures/ODM I have the following code ?php namespace

Re: [symfony-users] ODM insisting ... Problems with data / load

2011-03-26 Thread Christophe COEVOET
Le 26/03/2011 21:49, César Hernández a écrit : in ORM with the command: php app/console doctrine:data:load y initial data in the database that I have defined in the folder ...Bundle/DataFixtures/ORM / My question is, how do the same with ODM? en route

Re: [symfony-users] ODM insisting ... Problems with data / load

2011-03-26 Thread César Hernández
Excuse my ignorance ... my autoload.php contains the following code ?php use Symfony\Component\ClassLoader\UniversalClassLoader; $loader = new UniversalClassLoader(); $loader-registerNamespaces(array( 'Symfony' = array(__DIR__.'/../vendor/symfony/src',