[symfony-users] introspect a functional test uncaught exception

2010-11-07 Thread Luis Cordova
On jobeet day 11 it says symfony simulates uploading a file on a form: after issuing: ./symfony test:functional frontend jobActions I get: 3.1 - Submit a Job # get /job/new ok 16 - request parameter module is job ok 17 - request parameter action is new # post /job ok 18 - request parameter

[symfony-users] Re: introspect a functional test uncaught exception

2010-11-07 Thread Luis Cordova
Exception: Failed to create file upload directory /jobs. But then it does not help too much what could be wrong? On Sun, Nov 7, 2010 at 5:39 AM, Luis Cordova cordo...@gmail.com wrote: On jobeet day 11 it says symfony simulates uploading a file on a form: after issuing: ./symfony

Re: [symfony-users] Re: introspect a functional test uncaught exception

2010-11-07 Thread Luis Cordova
it be you are running the unit test as a different user? It seems like the problem you are having is related to directory permissions. Check the permissions of the directory in which the 'jobs' directory is attempted to be created in. On Sun, Nov 7, 2010 at 05:56, Luis Cordova cordo...@gmail.com wrote

Re: [symfony-users] introspect a functional test uncaught exception

2010-11-08 Thread Luis Cordova
Sounds like there is way in which the functional test executes that affects this, that is why my question was how can I introspect how the test $browser works. I clearly see that I cannot debug the problem with the /var/log/apache2/error.log because when I run the tests there is no sign of the

Re: [symfony-users] introspect a functional test uncaught exception

2010-11-08 Thread Luis Cordova
where the sf_upload_dir is ready through ? or how can it be just /jobs? help On Mon, Nov 8, 2010 at 9:12 AM, Luis Cordova cordo...@gmail.com wrote: Sounds like there is way in which the functional test executes that affects this, that is why my question was how can I introspect how the test

Re: [symfony-users] SOAP

2010-11-30 Thread Luis Cordova
trying hacking the french with google? On Tue, Nov 30, 2010 at 3:36 PM, Samuel Morhaim samuel.morh...@gmail.com wrote: I found this presentation http://2010.rmll.info/SOAP-and-RESTful-webservices-with-Symfony.html?lang=fr for SOAP and Symfony..  and.. I don't speak french but the code seems

Re: [symfony-users] introspect a functional test uncaught exception

2011-03-30 Thread Luis Cordova
finally switched to sf2, it is much better On Mon, Nov 8, 2010 at 12:26 PM, Luis Cordova cordo...@gmail.com wrote: hi, how I removed the @ from the mkdir on the validatedFile.class.php core file on symfony and now I get: exception 'RuntimeException' with message 'PHP sent a warning error

[symfony-users] help how to get current user object while using UserBundle

2011-04-15 Thread Luis Cordova
Hi I am trying to get the user object within my controller action but i am having a hard time finding the method to fetch current user If I use findUserByConfirmationToken($token) then where do I get the $token from? I don't want to bypass ACL checks so I need to find the correct way to fetch

[symfony-users] Re: help how to get current user object while using UserBundle

2011-04-15 Thread Luis Cordova
I found : $user = $container-get('security.context')-getToken()-getUser(); however it does not work within my controller which is extending Controller should I also extend my controller class with ContainerAware ??? Please hint me Thanks Luis On Fri, Apr 15, 2011 at 8:06 PM, Luis Cordova

[symfony-users] Re: help how to get current user object while using UserBundle

2011-04-15 Thread Luis Cordova
solved it I had to do $this-container and not $this-$container or just $container ... the problem is that my IDE phpstorm in this case can't track the php dependencies so i am unaware what variables are there... Thanks though On Fri, Apr 15, 2011 at 8:36 PM, Luis Cordova cordo...@gmail.com

[symfony-users] notice: serialize() __sleep

2011-04-15 Thread Luis Cordova
I am getting a notice: Notice: serialize(): sessionverses returned as member variable from __sleep() but does not exist in /home/cordoval/sites-2/memorizescripture/vendor/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php on line 136 Notice: serialize(): chapter

Re: [symfony-users] Re: notice: serialize() __sleep

2011-04-18 Thread Luis Cordova
On Mon, Apr 18, 2011 at 1:46 AM, Fabien Potencier fabien.potenc...@gmail.com wrote: On Apr 16, 4:46 am, Luis Cordova cordo...@gmail.com wrote: I am getting a notice: Notice: serialize(): sessionverses returned as member variable from __sleep() but does not exist in /home/cordoval/sites-2

Re: [symfony-users] Re: notice: serialize() __sleep

2011-04-18 Thread Luis Cordova
as member variable from __sleep() but does not exist in /home/cordoval/sites-2/memorizescripture/vendor/symfony/src/Symfony/Compone nt/Security/Core/Authentication/Token/AbstractToken.php on line 136 check below On Mon, Apr 18, 2011 at 8:01 AM, Luis Cordova cordo...@gmail.com wrote: hi Fabien

Re: [symfony-users] Re: notice: serialize() __sleep

2011-04-18 Thread Luis Cordova
, thanks! On Mon, Apr 18, 2011 at 2:08 PM, Luis Cordova cordo...@gmail.com wrote: please somebody help me, all my code is in https://github.com/cordoval/Memorize-Scripture-2 I have tried several things, not even serializing the errors would go away rather they will get worse can someone take

Re: [symfony-users] Re: The test false does not exist = 500 Internal Server Error - Twig_Error_Syntax

2011-04-19 Thread Luis Cordova
was getting similar problem make sure on test mode that you generate proxies on the /test folder too just a hint it could as well not be it On Tue, Apr 19, 2011 at 8:18 AM, Toni Van de Voorde toni@gmail.com wrote: Same problem when upgrading to PR12. -- If you want to report a

Re: [symfony-users] Re: FOSUserBundle doesn't work with Symfony2 PR12?

2011-04-21 Thread Luis Cordova
this is a different problem then {% trans label with a from 'b' %} {{ label|trans(a, 'b') }} I am working on it... On Thu, Apr 21, 2011 at 6:41 PM, Carl carl.par...@gmail.com wrote: I'm glad you got the other problem fixed. :) As for your configuration, two things immediately jump out at me.

[symfony-users] commit

2011-04-21 Thread Luis Cordova
I did a branch and pulled someone else's pull request now i am trying to pull request original repo, that is UserBundle wonder how do I do to pull request these files... # modified: Resources/views/Group/edit_content.html.twig # modified:

Re: [symfony-users] Re: FOSUserBundle doesn't work with Symfony2 PR12?

2011-04-21 Thread Luis Cordova
I have learned the hard way to always be attentive on for changes at the update markdown from symfony/symfony github and also about current pull requests as they often are the upcoming fixes for broken things if you notice someone else has probably noticed it too and it has even worked on a fix

Re: [symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Luis Cordova
WDT is a bundle, just disable it and it will go away On Mon, Apr 25, 2011 at 9:27 AM, Paul Dugas p...@dugasenterprises.com wrote: Bump. There was a way to do this in SF1 but I've not yet figured out a way to do it in SF2.  Anybody know how to prevent the developer toolbar from appearing on a

Re: [symfony-users] Re: [sf2] Disable WDT

2011-04-25 Thread Luis Cordova
: On Mon, Apr 25, 2011 at 10:29 AM, Luis Cordova cordo...@gmail.com wrote: WDT is a bundle, just disable it and it will go away I only want it to go away on one page. In SF1, I could add sfConfig::set('sf_web_debug', false) to the actions that return the ExtJS pages.  I'm wondering if there's

Re: [symfony-users] Symfony2 returning a JSON object

2011-04-26 Thread Luis Cordova
check github.com/cordoval/Memorize-Scripture-2 example On Sun, Apr 24, 2011 at 7:57 AM, stickaforkinme sebdang...@gmail.com wrote: I'm sure this is a really really stupid question but I can't seem to find a clean way to return a JSON object, i.e. by not calling a controller and just returning

Re: [symfony-users] [Symfony2][Doctrine2] Problem with UML Composition.

2011-05-02 Thread Luis Cordova
hi JeanChristophe what software or tool did you use for your diagrams here? Thanks, Luis On Mon, May 2, 2011 at 9:21 AM, JeanChristophe javascrip...@gmail.com wrote: Hello all, I like to model a floor in a building (Merise): [IMG]http://s1.postimage.org/6ljrxsj3p/MCD.png[/IMG] UML

Re: [symfony-users] Re: [Doctrine2] Problem with UML Composition.

2011-05-02 Thread Luis Cordova
I meant the IDE to make charts like that, the graphics On Mon, May 2, 2011 at 10:33 AM, spike3111 gilles.gauthie...@gmail.com wrote: Look at this link http://www.doctrine-project.org/docs/orm/2.0/en/reference/association-mapping.html Bonne continuation -- If you want to report a

Re: [symfony-users] Symfony2 on GoDaddy

2011-05-03 Thread Luis Cordova
Hi use proper hosting for development and flexibility I full recommend this one here http://bit.ly/9TTSvJ Regards, Luis On Tue, May 3, 2011 at 1:13 PM, Laurus laurusgroup@gmail.com wrote: Hi fellow Symfony2 friends! I have webhosting on GoDaddy (I regret it) and trying to run my

Re: [symfony-users] Symfony2 on GoDaddy

2011-05-03 Thread Luis Cordova
oppps oh no sorry scratch that, I just recalled that I had problems because they did not go to php5.3 or later rather go with better hosting with php5.3 and more standard cpanel or interface symfony also has a page with hosting On Tue, May 3, 2011 at 5:04 PM, Luis Cordova cordo...@gmail.com

Re: [symfony-users] Re: notice: serialize() __sleep

2011-05-10 Thread Luis Cordova
this please results: - got rid of my warnings and tests are passing doubts: - why serializable had to be implemented on my class for this to work? On Apr 18, 5:56 pm, Luis Cordova cordo...@gmail.com wrote: ok finally I made inroads with the help of several people thank you guys

Re: [symfony-users] Re: Testing your Doctrine Entities and Repositories

2011-05-10 Thread Luis Cordova
you need more understanding as to what is really a unit testing and what is an entity class, I am sure Stof or other will notice your email, basically just go read the documentation over and over www.symfony.com On Tue, May 10, 2011 at 8:47 PM, oscar balladares liebegr...@gmail.com wrote: I have

Re: [symfony-users] Re: notice: serialize() __sleep

2011-05-11 Thread Luis Cordova
right but this was not what was happening. I had a chain of entities, and they all were entities, regular POPOs. And I had to implement serialize method for one of them for this thing to work. On Wed, May 11, 2011 at 2:19 AM, Marco Pivetta ocram...@gmail.com wrote: The ORM uses proxy classes

Re: [symfony-users] [Symfony2] Documentation - Community Contributed Suggestions

2011-05-11 Thread Luis Cordova
fully agreeing with Stof On Wed, May 11, 2011 at 11:06 AM, Christophe COEVOET s...@notk.org wrote: Le 11/05/2011 17:45, keymaster a écrit : The documentation is slowly improving, thanks very much to those involved. Symfony2 is a huge framework, and the documentation undertaking is

Re: [symfony-users] Fatal Error Using date widget

2011-05-12 Thread Luis Cordova
sudo apt-get install intl On Thu, May 12, 2011 at 11:11 AM, Matt Robinson m...@lazycat.org wrote: Sounds like you're missing the PHP intl extension…? On 12 May 2011, at 17:07, Roger Webb wrote: The Error: Fatal error: Call to undefined function Symfony\Component\Form

[symfony-users] capifony

2011-05-14 Thread Luis Cordova
how do you handle deployment environment specific files like parameters.ini on capifony for deployment? -- 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

[symfony-users] Re: capifony

2011-05-14 Thread Luis Cordova
|-- releases |-- 20100512131539 |-- 20100509150741 `-- 20100509145325 `-- shared |-- log |-- config `-- databases.yml `-- web `-- uploads On Sat, May 14, 2011 at 11:05 AM, Luis Cordova cordo...@gmail.com wrote: how do you handle deployment environment specific

[symfony-users] Re: capifony

2011-05-14 Thread Luis Cordova
to be a really big problem, please help! Thanks Luis On Sat, May 14, 2011 at 12:08 PM, Luis Cordova cordo...@gmail.com wrote: thanks Ryan, i think i solved the first problem BUT while deploying I see the structure of capifony is exposed is this ok? and what to do to rather have a nice app

[symfony-users] Re: capifony

2011-05-14 Thread Luis Cordova
i get a 500 On Sat, May 14, 2011 at 5:19 PM, Luis Cordova cordo...@gmail.com wrote: I am now running into this error even though I have set on the deploy.rb the flag: set :group_writable, false error is: [Sat May 14 17:15:08 2011] [error] [client 190.235.22.7] SoftException

[symfony-users] Re: capifony

2011-05-14 Thread Luis Cordova
Cordova cordo...@gmail.com wrote: i get a 500 On Sat, May 14, 2011 at 5:19 PM, Luis Cordova cordo...@gmail.com wrote: I am now running into this error even though I have set on the deploy.rb the flag: set :group_writable, false error is: [Sat May 14 17:15:08 2011] [error] [client

[symfony-users] Re: capifony

2011-05-14 Thread Luis Cordova
so the problem arose because of the lack of use of quotes I think sf2 is giving away a lot of quotes, it should always warn the user against not using them for characters like !! On Sat, May 14, 2011 at 7:32 PM, Luis Cordova cordo...@gmail.com wrote: solved chmod'ing releases directory thanks

Re: [symfony-users] Re: docs

2011-05-15 Thread Luis Cordova
documentation to html. Did you find any solution? On May 8, 8:45 am, Luis Cordova cordo...@gmail.com wrote: Hi just wondering if you guys have replacements for the extension components for compiling the docs that I can use, or how to get rid of these warnings :)  I was told some components were

Re: [symfony-users] Assetic twig grouping assets and filters

2011-05-15 Thread Luis Cordova
Matt assetic supporst coffee On Sun, May 15, 2011 at 2:31 AM, Matt Drollette m...@drollette.com wrote: I have some regular javascript files and some coffee scripts. I am wondering if there is currently a way to dump them all to a single minified .js using twig helpers? If not, how would I do

Re: [symfony-users] Assetic twig grouping assets and filters

2011-05-15 Thread Luis Cordova
use yui-compressor On Sun, May 15, 2011 at 2:41 AM, Matt Drollette m...@drollette.com wrote: Yeah, the coffee filter works great. But I can only apply it to .coffee files. The best I can do with the twig javascripts helper is to dump one js file from the coffee sources and one js file from

Re: [symfony-users] Re: notice: serialize() __sleep

2011-05-15 Thread Luis Cordova
this problem too. Core Devs suggest to implement Serializable interface. Symfony has Serializer classes and Interfaces, but I still dont know how to implement it/them. If you are lucky, please share what you have found, if any. Regards! 2011/5/11 Luis Cordova cordo...@gmail.com right

Re: [symfony-users] Re: notice: serialize() __sleep

2011-05-15 Thread Luis Cordova
: I'm having this problem too. Core Devs suggest to implement Serializable interface. Symfony has Serializer classes and Interfaces, but I still dont know how to implement it/them. If you are lucky, please share what you have found, if any. Regards! 2011/5/11 Luis Cordova cordo...@gmail.com

Re: [symfony-users] Re: notice: serialize() __sleep

2011-05-16 Thread Luis Cordova
to do with the framework itself, but PHP ) Regards! 2011/5/15 Luis Cordova cordo...@gmail.com nobody is doubting that Tim On Sun, May 15, 2011 at 7:48 PM, Tim Nagel t...@nagel.com.au wrote: They're talking about: http://php.net/manual/en/class.serializable.php Not the Serializer

Re: [symfony-users] Re: notice: serialize() __sleep

2011-05-16 Thread Luis Cordova
issue not a Symfony Framework related one. I'll keep searching. Any usefull information will be posted here to help someone ;) 2011/5/16 Luis Cordova cordo...@gmail.com someone has to write about this case more clearly to explain to all This example is perfect, although one more could be added

Re: [symfony-users] I am finding a CMS based on Symfony2.0

2011-05-21 Thread Luis Cordova
go into the symfony-cmf On Sat, May 21, 2011 at 9:50 AM, Haulyn Jason saharab...@domix.in wrote: Hi, I am trying to find a CMS based on Symfony 2.0. It's not necessary to be a full featured all stack production, even a prototype is OK. Any suggestions? Regards, Haulyn Jason Founder,

Re: [symfony-users] SF2 Security (beta2) - Serializing User Entities - Blocking Issue

2011-05-23 Thread Luis Cordova
please can you use the same thread to reply to that serialize problem? it will help others to have it all into one place On Mon, May 23, 2011 at 12:23 PM, Roger Webb webb.ro...@gmail.com wrote: Until the BETA2 update I was getting warnings related to serializing the User Entity, it is a

Re: [symfony-users] Using Sonata AdminBundle for a front end management panel

2011-06-01 Thread Luis Cordova
have you gotten any response yet? have you checked whiteoctober? I have seen someone did this with basic custom CRUD stuff and it simplifies all the magic and it is clear ready made bundles scare me a bit since they have magic keep me posted on your experience with whiteoctober i believe that

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-09 Thread Luis Cordova
-1 2011/6/9 John Bohn jjb...@gmail.com: +1 On Jun 9, 2011, at 2:16 AM, Ricky ricky.ya...@gmail.com wrote: +1 It's a good idea that there is symfony2 group seperately, as we sometimes can find our solution or get help from others more clearly. On Jun 9, 10:54 am, Anton Patrikeyev

Re: [symfony-users] Re: Protecting AJAX action from CSRF attack

2011-06-11 Thread Luis Cordova
Please do so and post the link here. Try to explain every detail so everybody can understand. I am looking forward to it! On Thu, Jun 9, 2011 at 8:35 PM, Chris M. Welsh ch...@cmwelsh.com wrote: I did a quick sweep of the source code, and if you request the form.csrf_provider service from the

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-15 Thread Luis Cordova
+1 vote towards giving the sf1.x people another mailing list but NOT THIS ONE we sf2 guys would like to keep this thank you! On Mon, Jun 13, 2011 at 8:47 AM, Insight Media Tech culori.me...@gmail.com wrote: Guess mail2forum would be an interesting alternative because as far as i know there is

Re: [symfony-users] [sf2] [beta4] options to forms

2011-06-16 Thread Luis Cordova
Hi Mike, can you show what you are trying to do with some code? I am eager to see, thanks Luis On Thu, Jun 16, 2011 at 4:00 AM, Michael Holm ho...@hollo.dk wrote: Hi, I have a question about how do i get options to the form, the right way? I can just parse the options to the constructor of

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-21 Thread Luis Cordova
don't fabien you will give more work to everybody as you said the problem will be only for few more months then sf1.x will die out and problem solved :) On Tue, Jun 21, 2011 at 9:58 AM, Jeremiah Dodds jeremiah.do...@gmail.com wrote: 2011/6/21 Fabien Potencier

Re: [symfony-users] Symfony-2 Doctrine: Generateing realtions from annotaion

2011-06-21 Thread Luis Cordova
use doctrine:generate:entities On Tue, Jun 21, 2011 at 10:55 AM, Christophe COEVOET s...@notk.org wrote: Le 21/06/2011 16:21, Kein a écrit : Im using this tutorial. But command php app/console doctrine:schema:update --force not generate setter and getter for Acme\StoreBundle\Entity\Product

Re: [symfony-users] [Sf2+MongoDB] predefine key for EmbedMany

2011-06-21 Thread Luis Cordova
EmbedMay? not clear, please if you have url on github provide it sounds interesting about day times and cache On Tue, Jun 21, 2011 at 9:45 AM, Mathias m.rohnst...@googlemail.com wrote: For example these Documents: pre class LocationCache {    /**     * @var array     *

Re: [symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-06-21 Thread Luis Cordova
splitting is counterproductive, we can always hit delete I myself hit a ton of deletes even with sf2 and I am for sf2, so i think people is having too thin of a skin. 2011/6/21 Stéphane Guidoin stephane.guid...@gmail.com: I agree with this proposition. I'm new on the mailing list, I use sf1.4