[symfony-users] Route named "editar_dvd" have a mandatory "id_licencia" parameter

2008-04-30 Thread Reynier Perez Mira
Hi every: I have the following routes defined in my routing.yml file: [code] listar_dvd: url: /ListarDVD param: { module: geslicsoft, action: ListarDVD } adicionar_dvd: url: /AdicionarDVD param: { module: geslicsoft, action: AdicionarDVD } editar_dvd: url: /EditarDVD/:id_dvd par

[symfony-users] Why do you Waste Time Online?

2008-04-30 Thread My Everyday Page
Dear *Member*, Launching *www.MyEverydayPage.com * Do you know, most of the internet surfers waste time online just for searching for the right website and typing the website names in their address bar? If you are one of t

[symfony-users] symfony plugin-upgrade-all not working

2008-04-30 Thread xanders
php symfony plugin-upgrade-all [pakeException] Task "plugin-upgrade-all" is not defined. this command does not seem to work? was it removed? http://www.symfony-project.org/cookbook/1_0/cli it is refereced here. it would really save time when upgrading projects with many plugins (which is probly

[symfony-users] Re: Symfony CMSes

2008-04-30 Thread xanders
i haven't used it but this ones look very promising http://www.steercms-project.org/ it is built a a bunch of plugins so it is pretty modular On Mar 20, 11:38 am, "Ian P. Christian" <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm going to spend some time tomorrow (yay, a day off due to easter!) > p

[symfony-users] Re: sfDoctrinePlugin SVN organization changes

2008-04-30 Thread arhak
Not working svn: PROPFIND request failed on '/sfDoctrinePlugin/branches/1.0-sf1.0' svn: PROPFIND of '/sfDoctrinePlugin/branches/1.0-sf1.0': Could not resolve hostname `svn.symfony-project.com': Temporary failure in name resolution (http://svn.symfony-project.com) Is not a fault, just unavailable

[symfony-users] Re: Security: How can I restrict an action to the "owner" only?

2008-04-30 Thread Pedro Casado
delete: is_secure: on# Only for authenticated users credentials: admin # With the admin credential See: http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer#Action%20Security On Tue, Apr 29, 2008 at 9:30 PM, arhak <[EMAIL PROTECTED]> wrote: > > Security: How

[symfony-users] Re: Problem with sessions in batch file

2008-04-30 Thread Tom Haskins-Vaughan
So, I think I've got it going ok, but I'm getting the following notices for each time I loop thought my mail action: PHP Notice: Undefined index: REQUEST_URI in /usr/share/pear/symfony/request/sfWebRequest.class.php on line 382 PHP Notice: Undefined index: REQUEST_URI in /usr/share/pear/sy

[symfony-users] Re: problème lors de l'utilisation e n production de propel-load-data ... mysql extension not loade d

2008-04-30 Thread pascal82
Thanks Christian, my conf: debian 4.0 There are 2 php.ini : /usr/local/lib/php.ini /etc/php5/cli/php.ini Here is the result of "php -v": PHP 5.2.5 (cli) (built: Mar 26 2008 14:58:26) Copyright (c) 1997-2007 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies a

[symfony-users] Re: Symfony CMSes

2008-04-30 Thread Sylvain - Com-Océan
check this : 1- check rouge_register is set to true in app.yml of your frontend application : sfDynamicCMS: routes_register: true 2- check if sfDynamicCMS module is enabled in setting.yml of your frontend application : .settings: enabled_modules:[default, sfDynamicCMS] 3-

[symfony-users] Re: problème lors de l'utilisation en production de propel-load-data ... mysql extension not loa ded

2008-04-30 Thread Christian Hammers
Hi Pascal On Wed, 30 Apr 2008 06:25:00 -0700 (PDT) pascal82 <[EMAIL PROTECTED]> wrote: > [PropelException] >[wrapped: mysql extension not loaded [User Info: Array]] > (en rouge !) .. > Pourtant , j'ai le module CLI de php installé et l'extension mysql de > php aussi ... I don't speak french

[symfony-users] problème lors de l'utilisation en pr oduction de propel-load-data ... mysql extension not loaded

2008-04-30 Thread pascal82
Bonjour à tous, J'ai un problème pour charger les fixtures sur un nouveau serveur de prod nouvellement installé, quand je lance "symfony propel-load-data frontend" , il m'affiche: [PropelException] [wrapped: mysql extension not loaded [User Info: Array]] (en rouge !) Quand je lance "symfony

[symfony-users] Re: Accessing DB in unit test using Lime

2008-04-30 Thread Grégoire
I've finally found a solution: use the sfModelTestPlugin plug-in http://trac.symfony-project.com/wiki/sfModelTestPlugin it's simple... and it works! :) On 30 avr, 11:17, Grégoire <[EMAIL PROTECTED]> wrote: > Thank you for your answer. > Unfortunately, I get the same exception... :/ > [PropelExc

[symfony-users] Re: Template Variable sfPHPView question

2008-04-30 Thread Thomas Rabaix
The point is why they are using a foreach in the escaping === both. A extract should be better as that use php internal function. my 2 cents. Thomas On Wed, Apr 30, 2008 at 2:25 PM, alessandro cinelli <[EMAIL PROTECTED]> wrote: > > > On Sun, Apr 27, 2008 at 3:34 PM, alessandro cinelli > <[EMAI

[symfony-users] Re: Template Variable sfPHPView question

2008-04-30 Thread alessandro cinelli
On Sun, Apr 27, 2008 at 3:34 PM, alessandro cinelli < [EMAIL PROTECTED]> wrote: > Hi, > i was studying symfony's code, especially how you can refer to the > variable $this->foo in the action and $foo in the view. > I found the code part that makes it possible: > sfPHPView.class.php line 92-109 > >

[symfony-users] Combining several admin-generator views in one page

2008-04-30 Thread Christian Hammers
Hello I have admin-generator modules for several tables and would like to show some of them in one view. How should I do that? Can I have something like apps/admin/overview/actions/actions.class.php indexAction(): $this->output = $this->getController()->getPresentationFor('mymodule1', '

[symfony-users] Re: PDFs generation and Report Generator integration

2008-04-30 Thread Thomas Rabaix
Hello, You can change the memory limit to your background task as they should run in cli. With a queue system you don't have the same task running X times in parrallel, and so you allocate more ressources to one process. Thomas On Wed, Apr 30, 2008 at 2:00 PM, Nicolas Perriault <[EMAIL PROTECT

[symfony-users] Re: PDFs generation and Report Generator integration

2008-04-30 Thread Nicolas Perriault
On Wed, Apr 30, 2008 at 1:44 PM, Antonio <[EMAIL PROTECTED]> wrote: > What worries me is if I get out of memory trying to generate a pdf > file on the fly, how should I be able to accomplish the pdf generation > by using a queue if the class that generates the pdf is the same one > on both ca

[symfony-users] Re: PDFs generation and Report Generator integration

2008-04-30 Thread Antonio
Hi guys, What worries me is if I get out of memory trying to generate a pdf file on the fly, how should I be able to accomplish the pdf generation by using a queue if the class that generates the pdf is the same one on both cases? Antonio --~--~-~--~~~---~--~~ You

[symfony-users] Re: Drupal

2008-04-30 Thread Antonio
Hi Tom, Of course Symfony is much more than drupal or any CMS by itself. The thing to evaluate is timing and fuctionallities. Most CMS have features that will cover most of the needs of a webpage, so if those needs are satisfied by using a CMS why use Symfony? On the other hand if you know that y

[symfony-users] Re: Accessing DB in unit test using Lime

2008-04-30 Thread Grégoire
Thank you for your answer. Unfortunately, I get the same exception... :/ [PropelException] No connection params set for propel Here is my modified code : initialize(); // Initialize the test object $t = new lime_test(1, new lime_output_color()); On 30 avr, 11:08, "Nicolas Perriault" <[EM

[symfony-users] Re: Accessing DB in unit test using Lime

2008-04-30 Thread Nicolas Perriault
On Wed, Apr 30, 2008 at 10:56 AM, Grégoire <[EMAIL PROTECTED]> wrote: > I'm trying to accessing to my database in a unit test. I use Lime for > those tests. I have the following exception when I execute my test : You can use the functional bootstrap: initialize(); ... HTH ++ -- Nicolas Per

[symfony-users] Accessing DB in unit test using Lime

2008-04-30 Thread Grégoire
Hi, I'm trying to accessing to my database in a unit test. I use Lime for those tests. I have the following exception when I execute my test : [PropelException] No connection params set for propel I think I've included all the needed... Here is my code : initialize(); // Initialize the test

[symfony-users] Re: Standalone PHP script

2008-04-30 Thread Ian P. Christian
Jacob Coby wrote: > Batch files (and symfony init-batch): and Tasks in sf1.1 :) --~--~-~--~~~---~--~~ 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@googlegroups

[symfony-users] Re: Is current user allowed to perform X action?

2008-04-30 Thread [EMAIL PROTECTED]
Look for the sfGuardPlugin plugin. http://trac.symfony-project.com/wiki/SymfonyPlugins Michael On 30 Apr., 02:34, arhak <[EMAIL PROTECTED]> wrote: > How can it be quickly tested if current user will be able to perform > an specific action? > I know it´s possible to test for a credential, and al

[symfony-users] Re: why having an image_tag ?

2008-04-30 Thread Francois Zaninotto
I'd say the real reason is that the image tag helper will produce paths relative to your project's web root, whatever the actual root of your server. In other terms, whether your symfony app is primarily accessible via http://mysite/ or http://mysite/web/ The image_tag will always work. Cheer