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 Christophe COEVOET
Le 24/05/2011 10:10, polonese a écrit : Hey, i tried to use camelCase table names in entities like: -- /** * @ORM\Table(name=postalCodes) * @ORM\Entity */ class PostalCode{}

[symfony-users] Generating model layer from REST methods

2011-05-25 Thread Simon Cast
Hi, We are building an API layer as the interface to all the data in our platform. This would extend to the web site using this API to fetch data. Symfony currently builds model files by looking at the DB schema. Is there a way to generate model files in a similar manner using API methods?

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] Re: [sf1.4] Display a captcha in a form, not everytime

2011-05-25 Thread Manu
I have a friend that was able to send lots of comments to my blog using javascript. I'd like to prevent people from posting comments too fast. -- 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] SF2 BETA2 | Console command doctrine:schema:update throws exception

2011-05-25 Thread Valeriy
Hello, I'm getting the following output when trying to execute doctrine:schema:update console command (doctrine:schema:create works fine). Any hints on if it's a DoctrineBundle issue or I need to tweak some settings locally? D:\netbeans-projects\myprojectd:\wamp\bin\php\php5.3.5\php app \console

Re: [symfony-users] SF2 BETA2 | Console command doctrine:schema:update throws exception

2011-05-25 Thread Christophe COEVOET
Le 25/05/2011 11:10, Valeriy a écrit : Hello, I'm getting the following output when trying to execute doctrine:schema:update console command (doctrine:schema:create works fine). Any hints on if it's a DoctrineBundle issue or I need to tweak some settings locally?

Re: [symfony-users] Re: Re : Symfony2 Object Route like in Symfony 1

2011-05-25 Thread Ben Bieker
On 24.05.2011 17:18, Christophe COEVOET wrote: The syntax for routing placeholders is /{id}/ in Symfony2, not /:id/ so it is totally normal. -- Christophe | Stof Hi, thanks, finally got it to work! The Documentation should be updated as well, so that other people won't get confused the

Re: [symfony-users] SF2 BETA2 | Console command doctrine:schema:update throws exception

2011-05-25 Thread Valera
Right, I just did not upgrade the bundle properly, it works fine now. Sorry for confusion. --- WBR, Valera On Wed, May 25, 2011 at 12:16, Christophe COEVOET s...@notk.org wrote: setApplicationEntityManager -- If you want to report a vulnerability issue on symfony, please send it to

Re: [symfony-users] Re: [Symfony2] Server configuration - Warning: is_file(): open_basedir restriction in effect

2011-05-25 Thread seven seven
Thanks ! I have found this : http://bugs.php.net/bug.php?id=41518 But I am not sure how to fix it. The problem now I have modified my apc.ini memory to 64M and it works on one domain but not on the other . Still I am not fully understand it . If this have anything to do with the assetic , how

Re: [symfony-users] Re: Need Help to Install Symfony

2011-05-25 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 this sounds like you messed up your apache configuration - or you have some other server running on 8080 already. this has nothing to do with symfony. you should check the setup of your machine. just to try out, you can also try some other port

Re: [symfony-users] Consuming RSS feeds in a Symfony2 project?

2011-05-25 Thread David Buchmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi alex, what did you do, did you try out some bundles or write your own? i would be interested in this too :-) cheers,david Am 18.05.2011 17:55, schrieb Alex Gilbert: Hey folks! With symfony 1.4, I used sfFeed2Plugin quite a bit. With

[symfony-users] sfTCPDFPlugin: enable pdf creation from html containing images in CLI

2011-05-25 Thread r...@donax.ch
Hi, I recently experienced problems when creating pdf files from html content using the CLI. My goal would be to create pdf with a cron job (within a task) and to test my application. I have found a solution and I tried to post it to symfony TRAC, but there is no section dedicated to the plugin.

[symfony-users] Aw: Re: [Symfony2 BETA2] Can't get MongoDB working

2011-05-25 Thread Conrad
I don't. Need this working as well. Thanks for finding this ticket :) -- 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

[symfony-users] [Symfony2] Mixing Locale Strings for URL only

2011-05-25 Thread Conrad
I'm using the DoctrineExtensionshttps://github.com/l3pp4rd/DoctrineExtensionsto translate some of my Database contents using the IETF language code en_US, fr_FR and so on. Everything is working very nice so far and I can switch the languages instantly. Now my customer would like to have some

[symfony-users] Custom user authorization

2011-05-25 Thread umpirsky
I want to implement simple user authorization via hash url. I see there is support for in memmory auth, simple HTTP auth and login form. Is there any way to implement custom authorization, in my case via hash url? Ofc, I will implement auth algorithm, but I want Symfony to handle the rest:

Re: [symfony-users] Custom user authorization

2011-05-25 Thread Christophe COEVOET
Le 25/05/2011 14:25, umpirsky a écrit : I want to implement simple user authorization via hash url. I see there is support for in memmory auth, simple HTTP auth and login form. Is there any way to implement custom authorization, in my case via hash url? Ofc, I will implement auth algorithm, but

[symfony-users] Re: FOSFacebookBundle

2011-05-25 Thread Stephan Petzl
my firewall configuration looks like this: firewalls: wdt: pattern: ^/_wdt security: false login: pattern: ^/login$ anonymous: true profiler: pattern: ^/_profiler security: false

[symfony-users] Re: Mixing Locale Strings for URL only

2011-05-25 Thread stfalcon
You can use short lang code with DoctrineExtensions On 25 Тра, 14:44, Conrad conrad.barthel...@googlemail.com wrote: I'm using the DoctrineExtensionshttps://github.com/l3pp4rd/DoctrineExtensionsto translate some of my Database contents using the IETF language code en_US, fr_FR and so on.

[symfony-users] Aw: Re: Mixing Locale Strings for URL only

2011-05-25 Thread Conrad
thanks for your reply! But wouldn't it then be necessary to change all saved translation locales to the shorter ones as well? And I guess it is neccessary to change some working parts in the programm as well.. It would be nice if I could put a filter between the routing analysis for the

[symfony-users] code on all requests #sf2

2011-05-25 Thread Michael Holm
Hi, In symfony2, if i want to request some code on all page requests.. how can i do that in symfony 2? It was quite easy in sf1, just create a filter.. But, how can i do that in symfony2? Are there anything that i can do in order to lets say: insert a query in a database on every single page

Re: [symfony-users] code on all requests #sf2

2011-05-25 Thread Christophe COEVOET
Le 25/05/2011 15:45, Michael Holm a écrit : Hi, In symfony2, if i want to request some code on all page requests.. how can i do that in symfony 2? It was quite easy in sf1, just create a filter.. But, how can i do that in symfony2? Are there anything that i can do in order to lets say: insert

Re: [symfony-users] code on all requests #sf2

2011-05-25 Thread Michael Holm
Hi Stof, Oh, ofcaurse.. thanks a lot. Best regards, Michael Holm On Wed, May 25, 2011 at 3:46 PM, Christophe COEVOET s...@notk.org wrote: Le 25/05/2011 15:45, Michael Holm a écrit : Hi, In symfony2, if i want to request some code on all page requests.. how can i do that in symfony 2? It

Re: [symfony-users] Re: [Symfony2] Server configuration - Warning: is_file(): open_basedir restriction in effect

2011-05-25 Thread seven seven
I just manged to fix this ! Finally ! I had 2 problems : a) APC was version 3.1.6 and I did an update to version 3.1.9 = this solved some weird issues with my code ; b) in php.ini I had this line enabled error_reporting = E_ALL ~E_NOTICE | E_DEPRECATED and I converted

Re: [symfony-users] Re: app.php in prod generates blank page

2011-05-25 Thread Marco Roello
Ricardo Thanks but, as I said in the first post, but I'm testing on a windows environment 2011/5/24 Ricardo Oliveira ricardol...@gmail.com It seems you haven't changed the permissions on the log folder to 777, and the same for cache folder. On May 23, 10:55 am, abunet

[symfony-users] Trying to generate entities (doctrine)

2011-05-25 Thread Javier Garcia
Hi, I'm using this command: php app/console doctrine:generate:entities ClanderBundle and I'm getting this error: [ErrorException] Notice: Undefined index: Jander\ClanderBundle\Entity\Jander \ClanderBundle\Entity\User in /home/me/Symfony/vendor/doctrine/lib/

Re: [symfony-users] Trying to generate entities (doctrine)

2011-05-25 Thread Christophe COEVOET
Le 25/05/2011 17:15, Javier Garcia a écrit : Hi, I'm using this command: php app/console doctrine:generate:entities ClanderBundle and I'm getting this error: [ErrorException] Notice: Undefined index: Jander\ClanderBundle\Entity\Jander \ClanderBundle\Entity\User in

[symfony-users] Re: FOSFacebookBundle

2011-05-25 Thread Stephan Petzl
By the way: after upgrading to BETA2 yesterday, authentication does not work anymore. I think there is some issue with the oAuth conversion of the facebook API... On May 25, 3:09 pm, Stephan Petzl stephan.pe...@gmail.com wrote: my firewall configuration looks like this:     firewalls:        

[symfony-users] Re: app.php in prod generates blank page

2011-05-25 Thread Roger Webb
Then you should be able to modify the permissions using the properties of the folder. On May 25, 9:54 am, Marco Roello marco.roe...@gmail.com wrote: Ricardo Thanks but, as I said in the first post, but I'm testing on a windows environment 2011/5/24 Ricardo Oliveira ricardol...@gmail.com

[symfony-users] Re: Trying to generate entities (doctrine)

2011-05-25 Thread Javier Garcia
Thanks Christophe but now I'm getting this: Namespace ClanderBundle does not contain any mapped entities. This is my what I have in /src/Jander/ClanderBundle/Resources/config/ doctrine/User.orm.yml Jander\ClanderBundle\Entity\User: type: entity table: user id: id:

Re: [symfony-users] Re: FOSFacebookBundle

2011-05-25 Thread Christophe COEVOET
Le 25/05/2011 17:18, Stephan Petzl a écrit : By the way: after upgrading to BETA2 yesterday, authentication does not work anymore. I think there is some issue with the oAuth conversion of the facebook API... Did you update your facebook sdk to the v3 ? this would be an issue because the bundle

[symfony-users] Re: Reduce coupling in entities

2011-05-25 Thread Problematic
Thanks, I had considered using a mapped superclass, but it still doesn't seem to be within the scope of a messenger bundle to require the application's user entity to extend a specific class. Is there no way dynamically set the entity type of a OneToMany or ManyToMany relationship, via

[symfony-users] Problems passing params to route

2011-05-25 Thread coviex
Hi, Here is my route: my_route: url: /bla/:slug/bla-:param1/bla-:param2/ param: { module: my_module, action: show } Please suggest how to pass param1 and param2 to some standard url helper assuming that only route name, param1 and param2 are known. Regards, Kostia -- If you want

[symfony-users] Re: Custom user authorization

2011-05-25 Thread umpirsky
Thank you for your answer, really appriciate it. So, I was going the wrong way. I have implemented UserProviderInterface, which is, now I see only used to retreive available users. If you can tell me what interface should I nimplement and how to enable it via security.yml config, that would

[symfony-users] [Symfony 2] Custom Authentication

2011-05-25 Thread Filipe La Ruina
Hello Guys, Well, looks like my efforts on testing the authentication with users taken from a database will not be used. The scenario has changed. I won't be using databases at all in my application and will by fully using an API. Well, the thing is, I have to authenticate the user doing an xhr

[symfony-users] Re: Trying to generate entities (doctrine)

2011-05-25 Thread Pierre
I bet the following will result in a could not guess where to put the classes in error: php app/console doctrine:generate:entities Jander\\CalendarBundle But this should work right now: php app/console doctrine:generate:entities --path=src Jander\\CalendarBundle -- If you want to

Re: [symfony-users] Re: Need Help to Install Symfony

2011-05-25 Thread Erkhembayar Gantulga
Hi. Chinthaka Rukshan Weerakkody you can create configuration file in /etc/apache2/sites-available/YourDomain.lo.conf and enable it sudo ln -s /etc/apache2/sites-available/YourDomain.lo.conf YourDomain.lo.conf Then add YourDomain in /etc/hosts file. Finally restart apache sudo

Re: [symfony-users] Re: app.php in prod generates blank page

2011-05-25 Thread Geoff G
You need to make the file readable by PHP. -- 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] Needed experienced for Customization services

2011-05-25 Thread Délsio Cabá
Hi, We need an experienced programmer for customize a Symfony based web application to use as a SaaS. We are open for any programmer interested in taking part of the project. We intend to use Siwapp ou MyClientBase for the task. Anyone interested please reply to me. Regards -- If you want to

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

2011-05-25 Thread oscar balladares
Hi Symfony family. I'm having troubles getting Symfony2 to work on a Shared Hosting enviroment. I would appreciate if you can point me how to set up a S2 application to be deployed on a shared hosting. If this helps in any way, this is what I have done so far without success: On my local box,