[symfony-users] [Symfony2] ComwaysFormExtraBundle is no more?

2011-06-16 Thread Carl
I recently started using the excellent ComwaysFormExtraBundle and discovered today after coming back from a short vacation that it's apparently been deleted from Github. Does anyone know if there are plans to add some of the form extensions found in this bundle to another bundle or if

[symfony-users] Re: [Symfony2] ComwaysFormExtraBundle is no more?

2011-06-16 Thread Carl
Oops. It looks like it's just moved and will probably be getting renamed... https://github.com/simplethings/FormExtraBundle Ok, done panicking now. ;) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

[symfony-users] Re: Is there demand for a Symfony2 Eclipse Plugin?

2011-06-06 Thread Carl
Very cool indeed! :D I currently use Netbeans for development (mainly for the Twig plugin and better UI) but a Symfony2 plugin for Eclipse may get me to switch back to using that. I'm watching this as well. Thank you! -- If you want to report a vulnerability issue on symfony, please send it

[symfony-users] Re: Aw: Re: [sf2] form_rest won't render repeated?

2011-05-31 Thread Carl
The good news is that this is a known issue: https://github.com/symfony/symfony/issues/1051 https://github.com/symfony/symfony/issues/1115 The bad news is it isn't fixed yet. What I've done as a temporary solution is I manually render all of my hidden fields and just avoid using form_rest()

[symfony-users] Re: getting a fatal error using swiftmailer

2011-05-31 Thread Carl
Which version of Swiftmailer are you using? -- 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 group. To post to this group, send email to

[symfony-users] Re: FOS\UserBundle\ - \Entity\User does not exist and could not be loaded

2011-05-28 Thread Carl
Which version of Symfony2 are you using? -- 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 group. To post to this group, send email to

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

2011-05-25 Thread Carl
Hi Matt, For some reason your post just showed up. I didn't mean to ignore you. The problem in my first post definitely went away by disabling JMSSecurityExtraBundle but a related problem just showed up to replace it. It was definitely an issue with Doctrine Common not being updated. I'm not

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

2011-05-25 Thread Carl
It looks like this has been fixed (don't think it's been merged yet): https://github.com/symfony/symfony/issues/1081 Thanks for fixing this so quickly, Fabien! :) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

Re: [symfony-users] [Symfony2 - Beta2] Using camelCase table names in entities

2011-05-25 Thread Carl
If you want to ensure that table names remain constant in Windows and Linux and not have to worry about the case of table names (e.g., you develop on a Windows machine but your production server runs Linux), you can set lower_case_table_names to 1 in the global my.cnf config file (Linux):

[symfony-users] Re: [sf2] form_rest won't render repeated?

2011-05-25 Thread Carl
I'm not having a problem with form_rest not rendering repeated fields but I am having an issue with it. If I manually render a form and then call form_rest, the entire form is output again despite the fact that I've already manually rendered it. And since this is how you manually render the

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

2011-05-24 Thread Carl
I just recently updated to the latest master of Symfony2 and now I'm getting the above exception error. I've made sure to update my entities to match the new way that annotations work but I'm still having problems. I'm sure it's probably something simple but I'm having difficulty tracking it

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

2011-05-24 Thread Carl
Yeah, I'm using the latest master from Github. I've run the latest version of vendors.php too. I'm going to try wiping all of the vendors and then try adding them again. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

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

2011-05-24 Thread Carl
Well, it looks like the error means exactly what it says it means. There really isn't such a class called FileCacheReader as part of Doctrine Common. The only classes that exist in that namespace are Annotation, AnnotationException, AnnotationReader, Lexer, and Parser. FileCacheReader doesn't

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

2011-05-24 Thread Carl
I thought of that but it worked before the recent update to annotations. @Assert\True works with the True constraint that comes with Symfony2. It looks like Doctrine is trying to parse all annotations regardless of whether they're relevant to Doctrine. Unless @Assert\True is built into

[symfony-users] Re: ACL How to check if user can create object without object itself?

2011-05-17 Thread Carl
I think isGranted() requires that there be an entry for the object in the database for it to work properly. Otherwise how would it know whether someone has the right permissions to access the object? I'm pretty sure that what you have there will always fail since there isn't an entry in the

Re: [symfony-users] Re: FOS/UserBundle usernameCanonical field problem

2011-05-14 Thread Carl
In that case, that's probably the problem right there. The schema metadata files have been renamed for beta2 and the latest version of UserBundle has been updated accordingly. Not only have the files been renamed, but their location has changed as well. So the mapping for the base User entity

Re: [symfony-users] [Symfony2] NotFoundHttpException no longer caught/handled in prod environment?

2011-05-14 Thread Carl
I've fixed this. Basically, it was a security context issue. In case someone runs into a similar problem, here is the problem and my solution. A Twig_Error_Runtime exception was getting thrown due to there not being an authentication token set. This gets triggered when attempting to render my

Re: [symfony-users] [Symfony2] NotFoundHttpException no longer caught/handled in prod environment?

2011-05-14 Thread Carl
While I'm spamming my own thread (sorry about that...), is there a way to alter my firewall configuration so that exceptions are included in same security context as the rest of my site? The problem is that if a user is logged in and an exception is thrown, it appears to log them out due to the

[symfony-users] Re: Highlighting menu based on controller called

2011-05-13 Thread Carl
That's perfect! Thanks. :D -- 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 group. To post to this group, send email to

[symfony-users] [Symfony2] NotFoundHttpException no longer caught/handled in prod environment?

2011-05-13 Thread Carl
This probably isn't incredibly new behavior but I just recently updated to the latest master of Symfony2 and I noticed that NotFoundHttpException is no longer caught when it's thrown unless I use the dev environment.. I just get a blank white page instead. I've tried to keep up with the changes

Re: [symfony-users] [Symfony2] NotFoundHttpException no longer caught/handled in prod environment?

2011-05-13 Thread Carl
I'm using the current master branch. Until I added the init() function found in the SE to my AppKernel class, the raw PHP error was being displayed instead of the exception being intercepted, which is rather troubling in a production environment. I've made certain to clear my cache, rebuild my

Re: [symfony-users] [Symfony2] NotFoundHttpException no longer caught/handled in prod environment?

2011-05-13 Thread Carl
It looks like the MethodNotAllowedException (I think that's the name) is affected as well. If I try to access a route that requires the method to be POST via the GET method, I just get a blank white page. If I enable error handling, a raw PHP error message is displayed saying that the exception

[symfony-users] Re: FOS/UserBundle usernameCanonical field problem

2011-05-13 Thread Carl
Does your User entity extend the User entity that comes with the UserBundle? Also, have you configured UserBundle to use your User entity in config.yml? fos_user: db_driver: orm firewall_name: main class: model: user: CFP\Bundle\MyBundle\Entity\User -- If you

Re: [symfony-users] Re: FOS/UserBundle usernameCanonical field problem

2011-05-13 Thread Carl
Ok, I guess the other questions I'd ask are: which version of Symfony2 are you using and which version of UserBundle are you using? Are both completely up-to-date? From the configuration you posted on Stackoverflow it looks like you're probably using a fairly recent version of each but it can't

[symfony-users] Re: [Symfony2 and Doctrine2] Unable to Persist Entities

2011-05-12 Thread Carl
I finally fixed this. I can't believe it took me half a week to solve this but it was simply a matter of Doctrine being unable to convert a date string to a DateTime object. That's it. I have no idea why this error wasn't showing up in custom PHP error functions or why PDO wouldn't at least

[symfony-users] Re: [Symfony2] Highlighting menu based on controller called

2011-05-12 Thread Carl
I've been looking for a way to do something similar. I want to highlight a menu item if the user is in a particular category on the site. I use the Knplabs MenuBundle for menus on my site but it uses the full URL for checking to see if it should highlight a particular menu item. Without adding

Re: [symfony-users] How do I check roles in the controller?

2011-05-11 Thread Carl
Speaking of roles, is there a way to update the list of roles a user has in the token after a user has logged in? For example, lets say a user is given a ROLE_MEMBER role after subscribing to a portion of a website. The user is updated and persisted in a database. However, the list of roles

[symfony-users] Re: [Symfony2 and Doctrine2] Unable to Persist Entities

2011-05-11 Thread Carl
Interestingly, the following code works without trouble: public function saveSubscription(SubscriptionInterface $subscription, SignupInterface $signup, $flush = true) { $handle = \fopen('/home/lwprods/new/errors', 'w'); //$this-em-persist($subscription); //

[symfony-users] Re: [Symfony2 and Doctrine2] Unable to Persist Entities

2011-05-11 Thread Carl
And for completeness, here's the quick and dirty PDO version of the above (minus the insert for my Subscription object): public function saveSubscription(SubscriptionInterface $subscription, SignupInterface $signup, $flush = true) { $handle = \fopen('/home/lwprods/new/errors',

[symfony-users] [Symfony2] Event Never Dispatched?

2011-05-09 Thread Carl
Hello, I've been trying to figure out an issue with an event in one of my controllers for a few days now and I'm a bit stuck. First of all, this event is triggered just fine on my local system in both my dev and prod environments. But I can't get the event to trigger on my server. The event

[symfony-users] [Symfony2] Updating Roles in Authenticated Token

2011-05-07 Thread Carl
Hello, Basically, what I'm looking to do is simply update the list of roles in the currently authenticated token without forcing users to log in again. Is there a way to do this? Or is this not possible? I can force users to log in again if absolutely necessary but I'd prefer to avoid having

[symfony-users] Re: Re : Re: EWZRecaptchaBundle

2011-05-06 Thread Carl
Hey all, As just a quick update, I finally got this working. The solution was to add the recaptcha field to a validation group: /** * @assert:Type(type=CFP\Bundle\RecaptchaBundle\Model\Recaptcha) * @recaptcha:True(groups=Registration) */ protected $recaptcha; This isn't

[symfony-users] Re: [symfony2] set magic_quotes_gpc to off on home level ?

2011-05-02 Thread Carl
Try putting this in your .htaccess file: php_value magic_quotes_gpc off This may or may not work on your host. It depends on how things are setup. But it can't hurt to try. If you get an internal server error after adding that, then it's something that will need to be changed in php.ini. --

Re: [symfony-users] Re: [symfony2] set magic_quotes_gpc to off on home level ?

2011-05-02 Thread Carl
Dang, that's a shame that disabling it in your .htaccess file doesn't do the trick. I was hoping it would work since that's the quickest and easiest solution without editing php.ini. And it's guaranteed to shut it off. I assume that your web host can't/won't disable this option on your account?

Re: [symfony-users] Re: [symfony2] set magic_quotes_gpc to off on home level ?

2011-05-02 Thread Carl
Good point... -- 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 group. To post to this group, send email to symfony-users@googlegroups.com To

[symfony-users] [Symfony2] Embedded forms and validation

2011-04-30 Thread Carl
Hello, I've been attempting to add a ReCAPTCHA to a user registration form (I'm using FOSUserBundle to manage users/logins) and while everything seems to work fine, I can't get Symfony2 to call the custom validator associated with the ReCAPTCHA. I'm using EWZRecaptchaBundle render and validate

[symfony-users] Re : Re: EWZRecaptchaBundle

2011-04-30 Thread Carl
I'm having the same issue. I'm going to be contacting the author about it again. I can't get the inValid() function to be called when submitting a form. Custom validation definitely works as it's working in other bundles. -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] Re: Re : Re: EWZRecaptchaBundle

2011-04-30 Thread Carl
I've forked this bundle and made some changes to it in order to get it to work: https://github.com/NeuralClone/EWZRecaptchaBundle Make sure to look at the new README that explains how to use it with the changes I made. I don't think I missed anything but this was a pretty quick patch and

[symfony-users] Re: Re : Re: EWZRecaptchaBundle

2011-04-30 Thread Carl
I agree that my method should be unnecessary. It seems redundant. But it's the only way I've been able to get validation to trigger for this and I've been trying for the past week to get it working. I'm still working on getting it to work using the default bundle settings. For now though, my

[symfony-users] Re: EWZRecaptchaBundle

2011-04-29 Thread Carl
Hi, The documentation actually needs updating. The section about calling setScriptURLs() is no longer valid. Those values are now set automatically. You shouldn't need to put anything in your controller anymore. All you should need to do is add a 'recaptcha' field in your buildForm() function

[symfony-users] [Symfony2] AccessDeniedException = 500 internal server error?

2011-04-27 Thread Carl
Hello, I'm currently working with the security component and I'm trying to find a way to render a specialized error message when a user doesn't have access to a certain part of my site. Right now, an AccessDeniedException triggers an internal server error. While this makes sense from a

[symfony-users] Re: Aw: [Symfony2] AccessDeniedException = 500 internal server error?

2011-04-27 Thread Carl
Hmm, good point... lol It doesn't look like the exception is uncaught but it's super late and I may be missing something obvious. Either way, I'll give that a try. :) -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

[symfony-users] Re: Aw: [Symfony2] AccessDeniedException = 500 internal server error?

2011-04-27 Thread Carl
Ok, I guess I just didn't dig deep enough, and now I feel silly. There are two security parameters that can be set under your firewall definition: access_denied_handler access_denied_url The solution was so simple that it was incredibly easy for me to miss. :)

Re: [symfony-users] [Symfony2] Doctrine2 Associated Entities as Id Fields issue

2011-04-24 Thread Carl
It sounds like you have an entity without a primary/foreign key defined for it. If you're certain that your entities have the correct annotations, make sure any database tables match them. Every entity must have a primary/foreign key or it won't work with Doctrine. It's kind of annoying since

Re: [symfony-users] [Symfony2] Doctrine2 Associated Entities as Id Fields issue

2011-04-24 Thread Carl
It sounds like you have an entity without a primary/foreign key defined for it. If you're certain that your entities have the correct annotations, make sure any database tables match them. Every entity must have a primary/foreign key or it won't work with Doctrine. It's kind of annoying since

Re: [symfony-users] Re: [Symfony2] Overriding Services

2011-04-23 Thread Carl
Just as a quick follow-up, I managed to get this working. I overrode the necessary FOSUserBundle services by creating services with the same names and by loading them after that bundle gets initialized. So, the method you mentioned, Ryan, does indeed work. Thanks again! :) I tried to use the

[symfony-users] Re: [Symfony2] Overriding Services

2011-04-22 Thread Carl
No one has any idea how to do this or if this is possible? -- 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 group. To post to this group, send

Re: [symfony-users] Re: [Symfony2] Overriding Services

2011-04-22 Thread Carl
Hi Ryan, Thank you for your response! That's pretty much exactly what I was looking for. And it's more or less what I figured I'd have to do (it's the way Symfony2 seems to approach overriding other stuff) but I wanted to make sure I was doing it right and using means intended by developing

Re: [symfony-users] Re: [Symfony2] Overriding Services

2011-04-22 Thread Carl
Oops, I meant... and using the means intended by those developing the framework. -- 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 group. To post

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

2011-04-21 Thread Carl
It looks like you're missing an entry for firewall_name under fos_user. That's required and can't be left blank. If you look at FOS\UserBundle\DependencyInjection\Configuration.php, it has the following: $rootNode -children()

[symfony-users] [Symfony2] Overriding Services

2011-04-21 Thread Carl
Hello, I'm currently working on extending FOSUserBundle and I've run into a few issues. My first issue is that I need to override the default encoder with my own. My site needs to integrate with phpBB3. Therefore I need to use their methods for encoding passwords. Unfortunately, this bundle

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

2011-04-21 Thread Carl
I'm really not sure which version of UserBundle you're using but that definitely isn't the latest version. In the latest master, the Configuration class looks like this: https://github.com/FriendsOfSymfony/UserBundle/blob/master/DependencyInjection/Configuration.php -- If you want to report a

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

2011-04-21 Thread Carl
Ah, I see. You're using the old Knplabs version: https://github.com/knplabs/UserBundle/blob/master/DependencyInjection/Configuration.php That version isn't maintained anymore and the project has moved to here: https://github.com/FriendsOfSymfony/UserBundle -- If you want to report a

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

2011-04-21 Thread Carl
It'd be helpful if you'd post your firewall and your configuration for UserBundle. Otherwise, I'm kind of in the dark and just guessing. :) Also, do you have the latest version of UserBundle? Or are you using an older version? How did you install it? Do you have the same problem when you

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

2011-04-21 Thread Carl
One more thing. If you enable UserBundle and don't configure it, it will fail to initialize and prevent your application from working. db_driver and firewall_name *must* be configured. There are other required options as well. -- If you want to report a vulnerability issue on symfony, please

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

2011-04-21 Thread Carl
I'm glad you got the other problem fixed. :) As for your configuration, two things immediately jump out at me. Firstly, provider_key is no longer a valid configuration option. It's now firewall_name. And secondly, the group configuration has changed as well. It's now its own category:

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

2011-04-21 Thread Carl
I learned the hard way too. Paying close attention to the repositories on Github is a good way to keep up to date on stuff. You don't need to read that stuff constantly, but absolutely take a look at the update files, the latest commits, and pull requests before upgrading anything. If in doubt,

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

2011-04-20 Thread Carl
I haven't had any issues getting that particular bundle to work in PR12 (although I've had my own issues with it). Have you run bin/build_bootstrap.php? This needs to be done after framework upgrades. I'd also make sure your Symfony cache has been completely cleared as well. I've had the dev

[symfony-users] Re: Recaptcha validation in symfony 2

2011-04-20 Thread Carl
Nice! Thanks for posting this. I had pretty much given up on that bundle and started to implement my own ReCAPTCHA system. I may give this a try again. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

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

2011-04-20 Thread Carl
Hmm, ok, can you post the firewall you're having it use (from security.yml) as well as everything under fos_user in config.yml? -- 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

[symfony-users] Re: Strange distribution problem (PR10, PR11)

2011-04-18 Thread Carl
Very bizarre. I use 7-Zip exclusively in Windows 7 and I didn't have any issues unpacking the tar.gz version. Maybe it's a WinRAR issue? -- 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

[symfony-users] Re: [Symfony2] PR11, DemoBundle error 'The controller must return a response ([array]() given)'

2011-04-18 Thread Carl
I can safely say that it isn't supposed to be returning an array, unless it's intended to show that you can't do that kind of thing. All actions have to return a response. And an array isn't a valid response. If you change that to return statement to return new Response(''); it should work. It

[symfony-users] Re: Recaptcha validation in symfony 2

2011-04-17 Thread Carl
Hi, I'm having the same exact problem. Everything works except the actual validation part. I've checked and re-checked how this bundle handles validation and it looks like everything should be loading ok. The form renders just fine and the images can be changed. But the validator service for

[symfony-users] Re: JQuery Menu

2011-04-16 Thread Carl
Hello, I've been using this jQuery menu for a while now and like it quite a bit: http://javascript-array.com/scripts/jquery_simple_drop_down_menu/ It's pretty simple and easy to use. I'm not sure if it's fancy enough for your needs but it's worth taking a look at. :) -- If you want to report

[symfony-users] [Symfony2] FOS\UserBundle and role hierarchies

2011-04-15 Thread Carl
I'm currently working on configuring the FOSUserBundle to work with my access control rules and I seem to have run into an issue with role hierarchies. Here's the relevant portion of my security.yml file: == role_hierarchy:

[symfony-users] Re: Error in Insert

2011-04-15 Thread Carl
What do you have set as the default value for user_id in your database schema (i.e., in your actual database)? It sounds like your user_id column might not be set to AUTO_INCREMENT or it has a NOT NULL constraint. So when you try to add a new user, it expects a value for user_id other than

Re: [symfony-users] Re: Error in Insert

2011-04-15 Thread Carl
That error can still happen even if it's only an integer though. If it doesn't contain a default value in the database and/or it has a NOT NULL constraint, then when you do an insert without assigning it a value, the insert will fail. It looks you're assigning it a value properly. So the

Re: [symfony-users] Re: Error in Insert

2011-04-15 Thread Carl
Hmm, I'll have to think about this some more then. Hopefully someone who's more familiar with Doctrine will post something that works. Sorry I couldn't be more helpful. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received

[symfony-users] Re: [symfony2] How to use bundles?

2011-04-15 Thread Carl
Typically, bundles perform tasks that are all related. For example, your blog would be a bundle. You'd include everything needed to manage your blog in that bundle. Default views, services, configuration, routing, etc. Depending on how big the rest of your site is and on the functionality you

[symfony-users] Re: Aw: riddle me this

2011-04-15 Thread Carl
If you're planning on using Symfony2 for a project, I definitely recommend trying to keep your project up-to-date with the latest preview releases. That way when it does become stable, you won't have to change as much in your project. There have been quite a few changes between PR6 and PR11.

[symfony-users] Re: Symfony2 dir conventions for forms

2011-04-15 Thread Carl
In all of the third party bundles I've looked at, all forms for the bundle seem to go in SomeVendor\Bundle\BundleName\Form. That's how I've been organizing my own forms as well since it makes them easy to find and the namespace makes sense. Personally, I tend to organize classes based on their

[symfony-users] Re: [Symfony2] FOS\UserBundle and role hierarchies

2011-04-15 Thread Carl
feel silly. :) You have to explicitly add roles to each user and then store them in the database. For example, to add the ROLE_MEMBER role to Carl: $userManager = $this-container-get('fos_user.user_manager'); $user = $userManager-findUserBy(array('username' = 'Carl')); $user-addRole('ROLE_MEMBER

[symfony-users] [Symfony2] Upgrade to PR11 = white screen of death in prod environment

2011-04-13 Thread Carl
Hey all, I recently upgraded to PR11 and now I'm getting a white screen of death in my production environment. I've rebuilt the bootstrap, cleared my cache, checked log files, and even checked my Apache log files. Nothing is showing up. It just...dies. Everything was working fine before the

[symfony-users] Re: [Symfony2] Upgrade to PR11 = white screen of death in prod environment

2011-04-13 Thread Carl
I don't mean to keep spamming my own thread but this is pretty significant. The production cache isn't being generated. Exactly two empty directories show up: security and inside that, SecurityProxies. Nothing else. -- If you want to report a vulnerability issue on symfony, please send it to

[symfony-users] Re: [Symfony2] Upgrade to PR11 = white screen of death in prod environment

2011-04-13 Thread Carl
Well then. I guess I should have just waited 20 minutes before posting anything. It looks like the configuration for Monolog changed slightly. Now instead of fingerscrossed, it's fingers_crossed. Hopefully this will help someone else. :) -- If you want to report a vulnerability issue on

Re: [symfony-users] Re: [Symfony2] Upgrade to PR11 = white screen of death in prod environment

2011-04-13 Thread Carl
No problem at all. These things happen, especially when something isn't fully stable yet. I'm definitely aware of the risks. :) I'm just thankful it was something so simple (and that I double-checked the config_prod.yml file...). -- If you want to report a vulnerability issue on symfony,

[symfony-users] Re: Upload file in symfony2

2011-04-13 Thread Carl
I'm not aware of anything built-in that takes care of file uploads but it probably wouldn't be too difficult to incorporate the HTTP_Upload PEAR package into your project: http://pear.php.net/package/HTTP_Upload Unfortunately, it's no longer maintained (at the moment anyway), but I've never

Re: [symfony-users] Symfony2 and Netbeans

2011-04-08 Thread Carl
I've been using Netbeans for a Symfony2 project for the past month or so and it works great. I also created a regular PHP project and didn't tell it that it's a Symfony project. The Netbeans Twig Plugin is quite nice too. It's pretty stable for an unstable, unfinished plug-in. Highly

[symfony-users] Re: Overriding Bundle Templates doesn't work

2011-04-08 Thread Carl
This is definitely working in PR10. I've overridden the error template for the FrameworkBundle, as well as templates in several other bundles. The location I used is the one in the documentation that weaverryan linked to above. The bug seemed to exist in both PR7 and PR8. I think it was fixed

[symfony-users] Re: Which is the official Symfony2 users forum?

2011-04-08 Thread Carl
As far as I know, they're both considered official. I think it makes sense to have both the forum and the mailing-list. The forum is more convenient for some people. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this

[symfony-users] Re: Symfony2 and Netbeans

2011-04-08 Thread Carl
Oooh, thanks for that, Roman. I'll check it out! :D -- 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 group. To post to this group, send email to

Re: [symfony-users] [Symfony2] Access a service from a entity

2011-04-05 Thread Carl
Conceptually it's bad practice because entities are just meant to *store*data. The only methods they should have are simple set and get methods. Nothing more. If you start adding other logic to them, then you're changing the purpose of entities and it can start to make your code more difficult

[symfony-users] Re: [Symfony 2] Problem with a very simple thing

2011-04-05 Thread Carl
Hi Antonio, Which version of Symfony2 are you using? Also, how do you reference your bundles? There was a recent change to the codebase that removed the word Bundle when referencing bundles internally: https://github.com/symfony/symfony/commit/ade83e2e80a605ec4a23bed1d3862cf5adebd33e However,

[symfony-users] Re: Symfony2 Doctrine2 cheat sheets Released

2011-03-28 Thread Carl
Wow, this is fantastic! Outstanding work! :D -- 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 group. To post to this group, send email to

[symfony-users] Re: Upgrade from sf 1.3 to sf 1.4: Fatal error: Class 'sfMessageSource' not found

2011-03-28 Thread Carl
Have you verified that sfMessageSource.class.php exists in your install? It should be located in lib/vendor/symfony/lib/i18n/. This is an abstract class that all of the other sfMessageSource_* classes inherit from either directly or indirectly. So if that's missing it would generate an error

[symfony-users] Re: Overriding Error Templates

2011-03-28 Thread Carl
Thanks for this! I've been trying to get this to work for a while now and I kept getting the default error page. Unfortunately, the app/Resources/FrameworkBundle/views/Exception/ error.html.twig location doesn't seem to work for me either. Nor does app/views/FrameworkBundle/Exception/

[symfony-users] Re: Overriding Error Templates

2011-03-28 Thread Carl
Thanks for this! I've been having trouble with this very problem for days and figured it was a bug. I've tried placing the template in both locations mentioned and neither of them seem to do the trick. I've made certain to clear my app/cache directory too. I'm using PR8 at the moment. (My

[symfony-users] Re: Overriding Error Templates

2011-03-28 Thread Carl
That did the trick. Huge thanks! :D And duly noted about the correct path going forward after PR8. -- 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: Upgrade from sf 1.3 to sf 1.4: Fatal error: Class 'sfMessageSource' not found

2011-03-28 Thread Carl
Very odd indeed. Whatever it was, I'm glad the problem vanished on its own. :) -- 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 group. To post to

[symfony-users] Re: Overriding Error Templates

2011-03-28 Thread Carl
I've experienced the same problem. It simply refuses to use template in the app/views/FrameworkBundle/Exception directory. I've done all of the things you've done as well and the problem persists. My guess is that this is a bug, they've changed the location that Symfony2 is looking for the

[symfony-users] Re: sfLucene indexing problems

2008-08-21 Thread Carl Vondrick
sfLucene only rebuilds if you call the rebuild task. Rebuilding can be very intensive, so it is not done by default. Carl On Aug 20, 11:28 pm, alessandro cinelli [EMAIL PROTECTED] wrote: On Thu, Aug 21, 2008 at 5:39 AM, Carl Vondrick [EMAIL PROTECTED] wrote: sfLucene should not create

[symfony-users] Re: sfLucene indexing problems

2008-08-20 Thread Carl Vondrick
sfLucene should not create a a new index every time. An index is like a database. So, this is likely the problem. Can you post your directory layout on the production server? On Aug 20, 4:29 pm, alessandro cinelli [EMAIL PROTECTED] wrote: Hi, i use sfLucene, last version for symfony 1.0,  

[symfony-users] Re: Error doing svn update for plugins/sfPropelSearchPlugin

2008-08-19 Thread Carl Vondrick
The new path is now: http://trac.symfony-project.org/browser/plugins/sfSearchPlugin/trunk/propel On Aug 19, 10:57 am, David at Artefactual [EMAIL PROTECTED] wrote: Hi all, I thought I'd post this to help anybody else that is getting this error when doing an 'svn up' against the

[symfony-users] Re: sfLucenePlugin Dead Slow

2008-07-02 Thread Carl Vondrick
); } } } On Jun 30, 2008, at 6:01 PM, Carl Vondrick wrote: On Mon, Jun 30, 2008 at 02:39:48PM -0700, Cristiano wrote: I installed the sfLucenePlugin and added the Propel behaviours as described in the manual. Everything works (I can create an index on the command

[symfony-users] Re: Symfony 1.1, as a transition release...

2008-06-30 Thread Carl Vondrick
, you will just be effectively upgrading to 1.1 and then 1.2 in one step. I recommend upgrading to 1.1 now and then 1.2 once its out. The transition from 1.0 -- 1.1 is bigger than 1.1 -- 1.2. Good luck, Carl --~--~-~--~~~---~--~~ You received this message

[symfony-users] Re: sfLucenePlugin Dead Slow

2008-06-30 Thread Carl Vondrick
? Carl --~--~-~--~~~---~--~~ 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.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more

[symfony-users] Re: sfLucenePlugin Dead Slow

2008-06-30 Thread Carl Vondrick
On Mon, Jun 30, 2008 at 04:31:33PM -0700, Cristiano wrote: On Jul 1, 1:29 am, Cristiano [EMAIL PROTECTED] wrote: On Jul 1, 12:01 am, Carl Vondrick [EMAIL PROTECTED] wrote: On Mon, Jun 30, 2008 at 02:39:48PM -0700, Cristiano wrote: I installed the sfLucenePlugin and added

[symfony-users] Re: sfLucene is sbeing slow.

2008-06-29 Thread Carl Vondrick
to the index, which eliminates this issue. Carl --~--~-~--~~~---~--~~ 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.com To unsubscribe from this group

[symfony-users] Re: Having sfSearchPlugin work...

2008-06-28 Thread Carl Vondrick
index and then will be grouped together by a... group. Carl --~--~-~--~~~---~--~~ 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.com To unsubscribe

[symfony-users] Re: sfLucene and Lucene questions

2008-06-18 Thread Carl Vondrick
tried). The follow-up search plugin for symfony 1.1 called sfSearch will eventually able to do this, however. Carl --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group. To post to this group, send

  1   2   >