Re: [symfony-users] Re: Fatal errors (new xsd and class not found)

2011-03-14 Thread Alex Pilon
Google translate the spanish? On Mon, Mar 14, 2011 at 03:58, Lideln wrote: > Nobody ? The only other case I found on google was spanish and I > didn't understand a word of it :) > > Don't tell me I'm the only one to have the PR7 not working once > downloaded and extracted ? :-/ > Any help from o

Re: [symfony-users] missing sandbox

2011-03-14 Thread Christophe COEVOET
Le 14/03/2011 15:17, Faltu Email a écrit : http://symfony.com/doc/2.0/quick_tour/the_big_picture.html where can I download the sandbox. the page does not exist anymore. The sandbox has been replaced by the standard edition which is available on the symfony.com website. -- Christophe | Stof

[symfony-users] Re: Doctrine ORM Data Fixtures

2011-03-14 Thread dustin10
I had tried that already, but it wasn't working. Just tried it again and still no luck. I looked at a lot of the fixture examples in other bundles and none of them called flush() so I figured that doctrine called this for you after the load() method. Any other ideas? Thanks, Dustin On Mar 14, 1:4

Re: [symfony-users] Re: Production environment

2011-03-14 Thread Federico Bernardin
Hi, yes the production deployment is on the root of the domain. If I write: http://www.mysite.com/app.php/hello/Fede the page is blank, but if I write http://www.mysite.com/app_dev.php/hello/Fede all works correctly. Thanks in advance. federico Il giorno 14/mar/2011, alle ore 13.05, Michael Van

[symfony-users] Re: [Symfony2] Doctrine ORM Data Fixtures

2011-03-14 Thread Albert Jessurum
You're missing $manager->flush(); after the last persist, so that the changes are persisted to the database. -- 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 to the Google Groups

[symfony-users] Re: Changing sfConfig variables dynamically in functional test

2011-03-14 Thread pascal.laroc...@gmail.com
figured it out need to create multiple environments ex: test2: number_prize_per_page: 10 under_construction_end_date: "2011-02-16" test: number_prize_per_page: 10 under_construction_end_date: "2011-03-16" in test file $browser = new sfTestFunctional(new sfBrowser()); $browser-> info('Tes

[symfony-users] Re: Practical Symfony Jobeet Tutorial not working. slugify replaces view with the words 'Paris, France'

2011-03-14 Thread Christopher Yee Mon
ooh. I forgot to mention, once you edit the job_show_user route to use the _slug actions the http://localhost/frontend_dev.php which is the index action of the job module breaks, however the originally intended /job/:company_slug/:location_slug/:id/:position_slug route does work, so if I directly t

[symfony-users] Changing sfConfig variables dynamically in functional test

2011-03-14 Thread pascal.laroc...@gmail.com
How can we change the sfConfig variables dynamically in a functional test in symfony 1.4.9? Seems that what I have doesn't work Thanks Example: My action uses a variable in the app.yml to gate the access to the site. I'd like to set the date dynamically to test the different sections. sfConfig::

[symfony-users] Re: Fatal errors (new xsd and class not found)

2011-03-14 Thread yOye
Try to use this in your service http://symfony.com/schema/dic/services"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd";> On 14 mar, 08:58, Lideln wrote: > Nobody

[symfony-users] Re: Production environment

2011-03-14 Thread Michael Van Sickle
Is your production deployment on the root of the domain? If not, then mod_rewrite needs to know the base name using the RewriteBase directive in your .htaccess. For example, if your base address for your site is http://www.example.com/mysite, then the .htaccess would need a line 'RewriteBase /mys

[symfony-users] [Symfony2] Doctrine ORM Data Fixtures

2011-03-14 Thread dustin10
I am having some trouble getting fixtures to work. I am working on all the latest versions of all the framework repositories. Here is a paste of my fixture class: http://pastebin.com/ggcEi5KE. I know my entities are correct because i generated my tables from them using doctrine:schema:create. Whene

[symfony-users] missing sandbox

2011-03-14 Thread Faltu Email
http://symfony.com/doc/2.0/quick_tour/the_big_picture.html where can I download the sandbox. the page does not exist anymore. -- 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 to the

[symfony-users] Assetic routing config problem

2011-03-14 Thread ral...@email.it
Hi all, I am trying to setup Assetic within S2 sandbox using the "instructions" found in the S2 conference slides http://www.slideshare.net/kriswallsmith/introducing-assetic-asset-management-for-php-53 Anyway I am getting two errors: 1) Unrecognized options "document_root" under "assetic"', trig

[symfony-users] sfWidgetFormJQueryI18nDate bug correction

2011-03-14 Thread Adrien Sulpice
Hello, I found the class sfWidgetFormJQueryI18nDate (at http://trac.symfony-project.org/attachment/ticket/8625/sfWidgetFormJQueryI18nDate.class.php ) This class is very useful but I found a bug. When I select the 8 or 9, no days were selected. This bug is due to parseInt which interpret the string

[symfony-users] Practical Symfony Jobeet Tutorial not working. slugify replaces view with the words 'Paris, France'

2011-03-14 Thread Christopher Yee Mon
Hello, I have been following the Practical Symfony Jobeet tutorial online and I am on Day 5 (http://www.symfony-project.org/jobeet/1_4/Doctrine/en/05). The whole thing seems to be working up until the point where I try to enable the slugify option to turn the non-ascii characters into dashes. When

Re: [symfony-users] MyUser extend sfUser class

2011-03-14 Thread Stéphane
Hello, First, please use the _dev.php controllers to get beautifull exception stack traces ;) Second, clear-cache ? Third, check you have put the MyUser.class.php in the lib/ directory of your project. Fourth, you can rename your userIsAuthentic() to ->isAuthentic as you're talking to a $sf_user (

[symfony-users] MyUser extend sfUser class

2011-03-14 Thread Cornelius Parkin
Hi I wrote a class called MyUser which extends the sfUser class in order to add some functionality. I then added the following in the factories.yml file in order for Symfony to use MyUser instead of sfUser. user: class: MyUser This is what I could pick up from the web. However, when I try to

[symfony-users] Re: Question about a .css file that is not loaded in all the pages of the backend.

2011-03-14 Thread Javier Garcia
Yes, i have included in the layout. What is a [-background] directive? Just if I include backend.css in the view.yml of the module it is loaded. Javier On Mar 14, 1:26 pm, Gábor Fási wrote: > Do you have include_stylesheets in your layout? Any of your view.ymls > contain a [-background] dire

Re: [symfony-users] Question about a .css file that is not loaded in all the pages of the backend.

2011-03-14 Thread Gábor Fási
Do you have include_stylesheets in your layout? Any of your view.ymls contain a [-background] directive? On Mon, Mar 14, 2011 at 12:03, Javier Garcia wrote: > Hi, > > I have this file apps/backend/config/view.yml. > > default: >  http_metas: >    content-type: text/html > >  metas: >    #title:  

[symfony-users] Question about a .css file that is not loaded in all the pages of the backend.

2011-03-14 Thread Javier Garcia
Hi, I have this file apps/backend/config/view.yml. default: http_metas: content-type: text/html metas: #title:symfony project #description: symfony project #keywords: symfony, project #language: en #robots: index, follow stylesheets:[back

Re: [symfony-users] [Symfony2][FrameworkExtraBundle] Several routes to one action

2011-03-14 Thread Christophe COEVOET
Le 14/03/2011 10:32, Nikita Korotaev a écrit : Ok, that's clear. However FrameworkExtraBundle was included in the Symfony PR7 and Fabien on Symfony Live in Paris was talking about annotations over Yaml(not mentioning xml). I'm little bit concerned about performance when using annotations: it

Re: [symfony-users] [Symfony2][FrameworkExtraBundle] Several routes to one action

2011-03-14 Thread Nikita Korotaev
Ok, that's clear. However FrameworkExtraBundle was included in the Symfony PR7 and Fabien on Symfony Live in Paris was talking about annotations over Yaml(not mentioning xml). I'm little bit concerned about performance when using annotations: it seems to me that all my controllers in the bundl

[symfony-users] ESI/Caching - Cookies Google Analytics (and other cookies)

2011-03-14 Thread cammanderson
Hi Guys, Playing around with ESI/Caching and Symfony2. Is there a way to strip cookies (or have some not affecting your caching strategy)? I have some cookies that show up from other applications or uses (such as phpmyadmin or Google Analytics tracking cookie) that I need to clear back so that i

Re: [symfony-users] Production environment

2011-03-14 Thread Federico Bernardin
Hi Vincent, The problem is the app.php script because the app_dev.php works correctly. Also with base bundle the app.php doesn't work. The mod_rewrite is correct and php log is empty. It's very strange, what can it be? Il giorno 11/mar/2011, alle ore 19.51, Vincent Lechemin ha scritto: > Did yo

[symfony-users] Re: Fatal errors (new xsd and class not found)

2011-03-14 Thread Lideln
Nobody ? The only other case I found on google was spanish and I didn't understand a word of it :) Don't tell me I'm the only one to have the PR7 not working once downloaded and extracted ? :-/ Any help from one of the developers would be appreciated so I can continue my coding. Thanks in advance

[symfony-users] Request parameters in sub-request state

2011-03-14 Thread cammanderson
Hi Guys, When using the render or ESI tags, must the request parameters be selectively passed through or can a sub-request access the master- request parameters? e.g. a request parameter "x1,x2,x3..." exists in scope to the master request, but is there a way to make it automatically present to the

Re: [symfony-users] [Symfony2][FrameworkExtraBundle] Several routes to one action

2011-03-14 Thread Thomas Rabaix
you cannot overwrite information defined in annotation ... On 14 mars 2011, at 10:03, Nikita Korotaev wrote: > My bundle with annotation routing is for personal application. > Why it encourages to use xml in routings for shared bundles? > > -- > If you want to report a vulnerability issue on s

Re: [symfony-users] [Symfony2][FrameworkExtraBundle] Several routes to one action

2011-03-14 Thread Christophe COEVOET
Le 14/03/2011 10:03, Nikita Korotaev a écrit : My bundle with annotation routing is for personal application. Why it encourages to use xml in routings for shared bundles? XML is validated throuch XSD. And the annotations for the routing are not a core feature. You need a third-party bundle to

Re: [symfony-users] [Symfony2][FrameworkExtraBundle] Several routes to one action

2011-03-14 Thread Nikita Korotaev
My bundle with annotation routing is for personal application. Why it encourages to use xml in routings for shared bundles? -- 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 to the G

Re: [symfony-users] [Symfony2][FrameworkExtraBundle] Several routes to one action

2011-03-14 Thread Thomas Rabaix
If you plan to distribute your bundle, does not use the FrameworkExtraBundle and use the xml routing definition. On 14 mars 2011, at 09:40, Nikita Korotaev wrote: > Hi everyone, > > Recently I've decided to change routes from Yaml declaration to annotations > using FrameworkExtraBundle, which

[symfony-users] [Symfony2][FrameworkExtraBundle] Several routes to one action

2011-03-14 Thread Nikita Korotaev
Hi everyone, Recently I've decided to change routes from Yaml declaration to annotations using FrameworkExtraBundle, which is now shipped with Symfony2. Previously I was able to link several routes to one action: management__users: pattern: /management/users defaults: { _controller: Ker