[symfony-users] Re: combining functional and unit tests?

2010-06-01 Thread Jeremy Thomerson
Never mind - I think I figured it out. Instead of creating a new lime test like I was doing: $t = new lime_test(11, new lime_output_color()); I should continue using the test that the functional test was using: $t = $browser->test(); Best regards, Jeremy Thomerson On Tue, Jun 1, 2010 at 5:18

[symfony-users] combining functional and unit tests?

2010-06-01 Thread Jeremy Thomerson
sername, 'username matches'); // do some more tests $t->is($acct->getCreditCard()->getType(), 'MC', 'cc type matches'); Thanks in advance! Jeremy Thomerson -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-p

[symfony-users] Propel PDO Error 2053 - Ubuntu 9.10

2010-02-16 Thread Jeremy Thomerson
x27;s apparently worked for three years judging by the date of that trac report. Any ideas? Jeremy Thomerson -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To uns

[symfony-users] Re: upload multiple files with ajax

2009-10-08 Thread Jeremy Thomerson
You can do a hidden iframe - which is what many sites do - to simulate an AJAX request. Post with a target of the hidden iframe, then in that iframe call javascript in the main frame when the request is complete. Jeremy On Thu, Oct 8, 2009 at 6:21 AM, Gareth McCumskey wrote: > You can't with AJ

[symfony-users] Re: if (condition): endif: not working

2009-10-07 Thread Jeremy Thomerson
> 355: > > > 356: > > > 357: > > 358: > if($show_left_sliding_menu == 'yes') { ?> > > > 359: > > > 360: > > > 361: > > > 362:

[symfony-users] Re: if (condition): endif: not working

2009-10-06 Thread Jeremy Thomerson
alt="Video > Library" /> > 354: > 355: > 356: > 357: 358: > if($show_left_sliding_menu == 'yes') { ?> > 359: > 360: > 361: > 3

[symfony-users] Re: if (condition): endif: not working

2009-10-06 Thread Jeremy Thomerson
Please provide lines 345 - 365 of C:\xampp\htdocs\td\apps\core\templates\layout.php would be helpful. Jeremy On Tue, Oct 6, 2009 at 9:03 PM, Avani wrote: > > Oh sorry, it was typing mistake. > > whole project is working in my 1 pc. When I copy the same into my > other pc, it is giving errors >

[symfony-users] Re: Bi-directional dependency fixtures [Symfony 1.2.9 / Propel]

2009-10-04 Thread Jeremy Thomerson
ouseId($spouse); } } On Sat, Oct 3, 2009 at 8:31 PM, Jeremy Thomerson wrote: > How can I declare bi-directional dependencies in the fixtures file for > Propel? > > For example, if I have a person who has a spouse field (example below), and > in the fixtures I want

[symfony-users] Bi-directional dependency fixtures [Symfony 1.2.9 / Propel]

2009-10-03 Thread Jeremy Thomerson
ter to show the dependency? Or will setSpouseId(foo) be called on the model, and I could somehow make it work there? Thanks, Jeremy Thomerson --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users&quo

[symfony-users] Re: how to use symfony with a firebird db that borns without symfony.

2009-09-28 Thread Jeremy Thomerson
always does. Jeremy Thomerson On Mon, Sep 28, 2009 at 11:38 AM, murilo.bodo wrote: > > Hi people. > > My database is created. > I need to use symfony for the views and rules of business... > Can i do it withou change the database, or create new codes? For > example: > Th

[symfony-users] Re: Deployment problem in production

2009-09-26 Thread Jeremy Thomerson
What server are you deploying to? Apache, IIS, etc On Sat, Sep 26, 2009 at 8:52 AM, Steve Sanyal wrote: > > Hi, > > I'm soon to deploy my application to production. However, I am having > some issues because of the directory structure. On my staging > machine, I would create public_html as

[symfony-users] Re: Symfony has definitely become too complicated framework

2009-09-24 Thread Jeremy Thomerson
I've avoided responding on this thread to this point because your rude foul-mouthed criticism is ridiculously ignorant and malicious. But, since you once again call all developers here stupid, please be quickly proven wrong by reading the "INTRODUCTION TO TABLES" by the W3C. If you don't know who

[symfony-users] Re: Server has gone away

2009-09-24 Thread Jeremy Thomerson
Are you generating this file during an HTTP request that is also downloading it? Although I still don't understand what you're doing, try changing it to a command line task rather than something that is triggered by HTTP. Then execute it from the shell or cron. Then you can just rsync the files.

[symfony-users] Re: url's in backend application

2009-09-19 Thread Jeremy Thomerson
Because you're not using url_for. You should write your link like: some text That will automatically handle the adding of the correct path for you. You're currently writing a relative link to a child folder named profile when you are already thought to be in a folder named profil

[symfony-users] Re: mod_rewrite

2009-09-19 Thread Jeremy Thomerson
Yes - you should definitely do this - or else you are potentially opening up the possibility of others downloading your database config (including passwords), model code, etc... Jeremy Thomerson On Tue, Sep 15, 2009 at 3:26 PM, Eno wrote: > > On Tue, 15 Sep 2009, sannaide wrote: >

[symfony-users] Re: Issue with url_for()

2009-09-10 Thread Jeremy Thomerson
Oops - forgot link: [1] - http://www.fileformat.info/info/unicode/char/feff/index.htm On Thu, Sep 10, 2009 at 9:50 PM, Jeremy Thomerson wrote: > Well, it's definitely a non-printable character getting in there somehow. > See [1] below to see what character it is. > > Can you

[symfony-users] Re: Issue with url_for()

2009-09-10 Thread Jeremy Thomerson
). > > Once again, any clues as to whats going on would be appreciated. > > -MrGlass > > On Sep 10, 4:14 pm, Jeremy Thomerson > wrote: > > Strange - I don't see why the unicode character would show up - and I > can't > > see it in the email. Perhaps you

[symfony-users] Re: Issue with url_for()

2009-09-10 Thread Jeremy Thomerson
Strange - I don't see why the unicode character would show up - and I can't see it in the email. Perhaps you could screenshot the generated source so we could see it. But I don't see anything obvious that would stop it from working. Jeremy On Thu, Sep 10, 2009 at 12:10 PM, MrGlass wrote: > >

[symfony-users] Re: Issue with url_for()

2009-09-10 Thread Jeremy Thomerson
Although I haven't had this EXACT error before, I have had similar errors and they were almost always from some bad file encoding or garbage non-printable-characters that somehow ended up in my file. I would suggest copying the contents of the file, pasting into notepad (assuming you're on windows

[symfony-users] Re: how can i customize field error format?

2009-09-09 Thread Jeremy Thomerson
You can render the forms however you want - see the 24 hour tutorial page about forms. Unfortunately, it leaves you rendering all of the forms yourself. But you could use a helper for this. I would recommend just using CSS on the error HTML to style it however you want. That will be the much be

[symfony-users] Re: style only to a form

2009-09-07 Thread Jeremy Thomerson
, Sep 7, 2009 at 1:10 PM, Daniel Echalar wrote: > ok, thanks Jeremy, but how do i set the the id of the form with symfony? i > tried with > //form class > $this->setOption('id','formPublicacion'); but it doesn't works > > 2009/9/7 Jeremy Thomerson

[symfony-users] Re: style only to a form

2009-09-07 Thread Jeremy Thomerson
Give your form an ID and address it in your CSS - like: In your css: #registrationForm a { color: red } On Mon, Sep 7, 2009 at 11:11 AM, Daniel Echalar wrote: > ¿how to use a .css just in one form? > eg: > //newSuccess.php > > > tittle of publicaction form > > $form)) ?> > //end of file

[symfony-users] Re: Debian or Ubuntu or RHEL or centOS or 'nix

2009-09-04 Thread Jeremy Thomerson
I use Ubuntu at home, but we have CentOS production servers. If you must use a RH variant like CentOS, getting PHP 5.2 on it is easy thanks to Jason Litka, who maintains a yum repo with things like this. See http://www.jasonlitka.com/yum-repository/ Jeremy Thomerson On Fri, Sep 4, 2009 at 10

[symfony-users] Re: Primary Key Forgery Attack?

2009-09-02 Thread Jeremy Thomerson
like CSRF protection. It's a basic web attack strategy that could (and I think should) easily be defended against by the framework - making it that much better for the user. And it's not difficult - it only took me a couple hours to create it. Jeremy Thomerson On Wed, Sep 2, 2009 at 3:10 AM,

[symfony-users] Primary Key Forgery Attack?

2009-09-01 Thread Jeremy Thomerson
The only snag is that I can't find an automated way of getting the primary key field name. Is there a way? Thanks, Jeremy Thomerson --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" grou