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

2011-06-09 Thread Matt Robinson
It seems fine to me the way it is, but if it's really bothering some people then I think it'd be better to move Symfony 1.4 to a symfony-legacy mailing list, so that discussion of the latest always happens on symfony-users. Then when 3.0 comes out in the age of jet-packs and food pills, we

Re: [symfony-users] Why does Symfony2 change config file formats - why not standardize?

2011-06-08 Thread Matt Robinson
I agree that it makes things a little more fractured. It's certainly not my preference either. My two cents is that having multiple formats forces coders to learn all the formats just to be able to debug or learn the framework and third party bundles properly. But it's an issue that's been

Re: [symfony-users] [symfony2:beta4] where has gone doctrine:generate:repositories ?

2011-06-08 Thread Matt Robinson
It's now built-in to the doctrine:generate:entities command - as long as you declare the repository class name in your @orm\entity declaration, generate:entities will also generate the repository. On 8 Jun 2011, at 12:05, spider wrote: Hello, I just upgraded to BETA4 and tried to generate

Re: [symfony-users] Limit results with Doctrine

2011-06-08 Thread Matt Robinson
Generate your own repository, then create a method in it that contains the DQL. In your entity definition (if you're using annotations): /* * @orm\Table(name=thing) * @orm\Entity(repositoryClass=Me\MyBundle\Repositories\ThingRepository) */ Then re-run app/console doctrine:generate:entities

Re: [symfony-users] [S2] Project configuration onn a Shared hosting.

2011-05-26 Thread Matt Robinson
On 26 May 2011, at 06:37, oscar balladares wrote: I'm having troubles getting Symfony2 to work on a Shared Hosting enviroment. […] My .htaccess file reads as follow: IfModule mod_rewrite.c RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$

Re: [symfony-users] [sf1.4] Display a captcha in a form, not everytime

2011-05-24 Thread Matt Robinson
On 24 May 2011, at 10:00, Manu wrote: Hi all, I have a blog coded in sf1.4; and I use recaptcha in the form for comments. Some users have complained about the captcha, but I don't want to remove it completely. Is it possible to, for instance, remove the captcha, but turn it on for a few

Re: [symfony-users] [Symfony2] ReflectionException: Class Doctrine\Common\Annotations\FileCacheReader does not exist

2011-05-24 Thread Matt Robinson
Try disabling the JMSSecurityExtraBundle unless you're using it (comment it out in config.yml and AppKernel.php) and see if the problem goes away. I think it might be a bit behind (or ahead of) the main standard edition. On 24 May 2011, at 22:06, Carl wrote: I just recently updated to the

[symfony-users] Re: @extra annotations - what is the new format?

2011-05-23 Thread Matt Robinson
Try these: use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; use Sensio\Bundle\FrameworkExtraBundle\Configuration\ParamConverter; /** * @Route(/, name=home) * @Template() */ and * @ParamConverter(id,

Re: [symfony-users] Re: @extra annotations - what is the new format?

2011-05-23 Thread Matt Robinson
Really? Odd, works for me without the as. Oh well, if it breaks, I'll know what to do. Ta. :) On 23 May 2011, at 18:39, keymaster wrote: Actually the correct form of the uses is (so you can use the shorted @Route instead of the long pathname): use

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

2011-05-12 Thread Matt Robinson
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 \Extension\Core\DataTransformer\intl_get_error_code() in /var/www2/

Re: [symfony-users] symfony2 batch script

2011-05-10 Thread Matt Robinson
On 10 May 2011, at 11:23, spider wrote: Hello I was starting a project with symfony 1.4 but in the meantime symfony2 gone beta. My project is still in very early development so I'm evaluating to start over with Symfony2, which I'd have to do anyway at some point. I have some scripts

[symfony-users] Sf2: the right way to start a project

2011-05-04 Thread Matt Robinson
I've been playing with the PRs for a while, but now that the beta is out, I want to start a real project (a rewrite of http://directors.mapofpower.com/ ). Is there a best practice way of doing this, and if so, is it worth making a cookbook entry for it? Or am I the only one who doesn't know what

Re: [symfony-users] Symfony Production

2011-05-04 Thread Matt Robinson
On 4 May 2011, at 21:55, Laxmi wrote: I recently completed the web application on my laptop. Now I need to push it on production server. [...] but my question is how can i create instances of my application like development, staging, production. My advice is to set up Apache VHosts on either

Re: [symfony-users] Re: Symfony Production

2011-05-04 Thread Matt Robinson
On 4 May 2011, at 23:39, Laxmi wrote: Thanks Matt for your reply, I successfully completed the web application on my laptop. Now I am pushing it on server. What are the changes i need to do so that my application runs smoothly on server. You linked to the Jobeet page on deploying - that

Re: [symfony-users] Dealing with VERY complex query

2011-05-04 Thread Matt Robinson
On 4 May 2011, at 23:57, Michał Piotrowski wrote: 2011/5/4 Marco Pivetta ocram...@gmail.com: SQL is way faster than PHP processing. I would really go for a filtered join. That's what SQL is there for :) Just be sure to filter by index and to return a limited resultset. Sequential scan in

[symfony-users] Re: Use compenents from symfony 2.0 in symfony 1.4

2011-02-09 Thread Matt Robinson
On Feb 9, 9:01 am, soulfly yelena...@gmail.com wrote: I just try to know if it possible to take one component - Routing and use it in project on sf 1.4. May be it's enough to take folder with routes and pu it in folder in symfony 1.4. But may be I should write smth in factories or elsewhere.

[symfony-users] Re: [Symfony2] How to create Forms in PR6?

2011-02-09 Thread Matt Robinson
On Feb 8, 6:33 pm, Dennis Jacobfeuerborn djacobfeuerb...@gmail.com wrote: I figured something like that would be the case but wasn't sure because the documentation doesn't mention a required name parameter:http://docs.symfony-reloaded.org/master/guides/forms/overview.html This should probably

[symfony-users] Re: How to let my users edit their password/profile ? [sfDoctrineGuardPlugin]

2011-02-07 Thread Matt Robinson
I'd recommend using $this-useFields() instead of unsetting the fields you don't want. It protects you from accidentally blanking new fields if you forget to unset them across all forms for that object, and as a bonus you can pass an argument to it to set the order that the widgets appear. On Feb

[symfony-users] Re: Avoiding the damn Can't connect to local MySQL server through socket '/tmp/mysql.sock error

2011-01-26 Thread Matt Robinson
I use Zend Server CE too and it's true that its defaults don't match, say, Debian. But be careful about symlinking like that - the contents of /tmp might not survive a reboot. It's a bit of a kludge. Similarly, forcing a TCP/IP connection introduces unnecessary overhead, IIRC. You could instead

[symfony-users] Re: Error when checking out Symfony 2.0 SVN code

2010-02-19 Thread Matt Robinson
On Feb 18, 5:22 am, brent960 brent.willia...@gmail.com wrote: I've just tried unsuccessfully to checkout the latest Symfony 2.0 code from the Subversion mirror. [...] It appears that the YAML subdirectory is rendered in all caps in one place, and it first-letter cap-only on another. And

[symfony-users] Re: Memory Leak using Doctrine in Tasks?

2010-02-08 Thread Matt Robinson
On Feb 2, 7:59 pm, Brandon Turner btur...@bltweb.net wrote: In the meantime, you could set up a new environment and disable the profiler in that environment.  This can be done in your databases.yml by adding param: profiler: false.   Great tip Brandon. I've modified it slightly - I set

[symfony-users] Re: Discount Code for Symfony Users - Perq - A Symfony Powered Website

2009-12-18 Thread Matt Robinson
On Dec 17, 6:30 pm, CA calt...@matterco.com wrote: The application, which is for small business people to track employee paid time off, may or may not be right for you, but I wanted to give back some way I could. Use SYMFONY50 and receive 50% off for six months. I've got a question - what's

[symfony-users] Re: Improve plugin:install method to not use PEAR

2009-12-14 Thread Matt Robinson
On Dec 13, 3:10 pm, Simon Cast simon.c...@gmail.com wrote: Hi, Installing plugins via the plugin:install method seems to require more time battling PEAR than it should. [...] The biggest problem I see with using SVN is possible conflicts between the developers SVN for his project and the SVN

[symfony-users] Re: Doctrine alterntive for sfWidgetFormPropelJQueryAutocompleter?

2009-10-16 Thread Matt Robinson
On Oct 15, 10:09 pm, Lukas Kahwe Smith m...@pooteeweet.org wrote: Just wondering if anyone has looked into porting   sfWidgetFormPropelJQueryAutocompleter to Doctrine or if there is a   widget that makes it easy to replace a standard drop down inside the   admin generator with a livesearch

[symfony-users] Re: Doctrine alterntive for sfWidgetFormPropelJQueryAutocompleter?

2009-10-16 Thread Matt Robinson
Ah, one gotcha is that my quick bodge assumes that your primary key is called id, which is pretty poor. I think you can just use Find() instead of FindOneById(), and it should be fine. --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[symfony-users] Re: sfGuard passwords get corrupted with doctrine:data-dump/load

2009-10-14 Thread Matt Robinson
On Oct 13, 3:13 pm, Pablo Godel pgo...@gmail.com wrote: I am using sfDoctrineGuard plugin. When I run doctrine:data-dump and then data-load the passwords which are encripted by default with sha1 get corrupted. As others have said, sfGuard's setPassword method is called by the data-load task,

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

2009-09-24 Thread Matt Robinson
On Sep 23, 12:29 pm, bghost bggho...@gmail.com wrote: First: [..] So you complicate some tasks in the Symfony framework that already was simple and good. Well, that's certainly an opinion. Second: Almost 90% of the code that generates the Symfony framework developer need to modify or

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

2009-09-24 Thread Matt Robinson
On Sep 24, 10:20 pm, bghost bggho...@gmail.com wrote: And where is the problem guys? I think the problem is that you obviously do not suffer any criticism. That's right, that's why we're all secretly using symfony 0.6, which is perfect. Don't let the door hit you on the way out.

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

2009-09-20 Thread Matt Robinson
On Sep 18, 5:09 pm, bghost bggho...@gmail.com wrote: No, the crux of what I wanted to say is: Users should not spend more time to learn how some Web Framework works but they need to learn a programming language. I'm struggling to understand this statement. If you're saying that it's bad for

[symfony-users] Re: Getting DB connection details

2007-12-21 Thread Matt Robinson
On Dec 20, 10:57 am, Bayarsaikhan [Singleton LLC] [EMAIL PROTECTED] wrote: YOu should be looking for this snippet. // YAML Parser - Spyc require_once(dirname(__FILE__)./../lib/Symfony/Util/Spyc.class.php); [snip] Really? 1. Using sfYaml::load would make more sense, because it'll use Syck if

[symfony-users] Re: symfony sync X go

2007-12-17 Thread Matt Robinson
On Dec 16, 5:19 pm, Haris Zukanović [EMAIL PROTECTED] wrote: Sometimes the sync command hangs without giving any signs of activity.. Where in the code is the rsync command constructed - I wish to add some rsync options to see better what happens to debug this situation It's in

[symfony-users] Re: Symfony hangs !?

2007-11-24 Thread Matt Robinson
better figures than battering your poor browser. Run a proper test with a bunch of concurrent connections and requests and see if the problem's still occurring. -- Matt Robinson http://lazycat.org/ --~--~-~--~~~---~--~~ You received this message because you