Re: [symfony-users] Request for Symfony 2 installation guide

2011-06-21 Thread seven seven
To get rid of the error with icuuc36.dll missing or required you must copy
from the xampp location to C:\Windows . Do this for all dependencies and
will work.

On Tue, Jun 21, 2011 at 4:40 PM, Jeremiah Dodds jeremiah.do...@gmail.comwrote:



 On Tue, Jun 21, 2011 at 5:00 AM, Vaibhav Rajput rajput...@gmail.comwrote:

 Thanks for giving me quick reply Christophe


  3) intl : with xampp, version of the intl is 3.6 and symfony 2 requires
 4.* .. i have downloaded and configured intl 4.0 and all required dll... 
 but
 than also it's giving error like icuuc36.dll required but it's already
 der...


 My Request is fabien has to prepare good documentation for install of
 symfony2 with full features...


 Unfortunately, there's a lot of possible ways for people to have to set up
 their machines. I could see it being worth adding a few simple notes for
 common things (check your package manager on linux, port or brew or whatever
 on OSX, link to WAMP or whatever is appropriate on Windows), but a
 full-fledged install guide is probably outside of the scope of the symfony2
 docs, as there are an awful lot of edge cases.

  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] [Symfony2] AdminBundle - How to set the translationDomain for SonataUserBundle : UserAdmin ?

2011-06-17 Thread seven seven
Hi everyone,

I am using Sonata UserBundle to manage users and groups in AdminBundle. My
question is how to set the translationDomain to what I need in order to
translations.
I was thinking if there's a way to set this from my app config ... is this
possible ?

I know from the docs about placing the messages file in
app/Resources/translations,
but is there any way to specify a more specific location and domain for my
translations ?

Thanks you in advance !

-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: - [beta3] Empty values on the page that exists in database

2011-06-14 Thread seven seven
Hi,

Just wanted to give a response here ,I solved it, it was because of the
fallback option and the fact I didn't understood properly the
internationalization logic. It is working with the below code:
framework:
translator:
enabled:true
fallback:   ro
Thanks !

On Fri, Jun 10, 2011 at 4:14 PM, seven seven sapt...@gmail.com wrote:

 Hi,

   Sorry to insist on this, but I don't really understand why the empty
 values are appearing on the page. Maybe the reason is that I don't use the
 fallback properly !? This is what I have in my config.yml file:

 framework:
 secret:  %secret%
 charset: UTF-8
 translator: { fallback: ro }

 And in parameters.ini I've set the default locale to ro. I think the
 correct way to set the default locale is ro_RO...
 Anyway I will keep my head up for an advice on this !

 Thanks in advance !


 On Wed, Jun 8, 2011 at 3:25 PM, Christophe COEVOET s...@notk.org wrote:

  Le 08/06/2011 13:58, seven seven a écrit :

 Thanks for your answer !

  Actually I will have to raise this again as I have updated to beta4 and
 still the same issue. It is definitely because of one of the  beta1 release
 and most likely because of the DoctrineCommon 3.0 annotations changes.

  Maybe there is someone here how can give me a hand with this, this is
 why I am posting some clues regarding this issue:

  In my logs there are some lines like :
 [2011-06-08 12:29:20] doctrine.INFO: SELECT e0_.content AS content0,
 e0_.field AS field1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND
 e0_.locale = ? AND e0_.object_class = ?
 ([5,ro,Tock\\TockFlatPagesBundle\\Entity\\TemplateEngine])
 but there is no foreign_key with the id 5 in the *ext_translations* table
 and this is one of the information I have missing on my pages.
 I must mention that the information it is present in the TemplateEngine
 table on id 5 .

  I have printed all my TemplateEngine values and it seems that only the
 onces that are not in ext_translations do not appear on the page.

  BTW I am using Gedmo-doctrine-extensions in my project. I have also
 tested this using the 2.0.x branch of gedmo :
 https://github.com/l3pp4rd/DoctrineExtensions

  Anyone has a clue on this ?

  In the meantime I will try to understand better how gedmo works.

  If the translation is not available in the translation table, it is
 logical that you don't get the value as the translation fallback is disabled
 by default. You need to activate the translation fallback.

 --
 Christophe | Stof

  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




 --
 br
 Cezar




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: - [beta3] Empty values on the page that exists in database

2011-06-10 Thread seven seven
Hi,

  Sorry to insist on this, but I don't really understand why the empty
values are appearing on the page. Maybe the reason is that I don't use the
fallback properly !? This is what I have in my config.yml file:

framework:
secret:  %secret%
charset: UTF-8
translator: { fallback: ro }

And in parameters.ini I've set the default locale to ro. I think the correct
way to set the default locale is ro_RO...
Anyway I will keep my head up for an advice on this !

Thanks in advance !

On Wed, Jun 8, 2011 at 3:25 PM, Christophe COEVOET s...@notk.org wrote:

  Le 08/06/2011 13:58, seven seven a écrit :

 Thanks for your answer !

  Actually I will have to raise this again as I have updated to beta4 and
 still the same issue. It is definitely because of one of the  beta1 release
 and most likely because of the DoctrineCommon 3.0 annotations changes.

  Maybe there is someone here how can give me a hand with this, this is why
 I am posting some clues regarding this issue:

  In my logs there are some lines like :
 [2011-06-08 12:29:20] doctrine.INFO: SELECT e0_.content AS content0,
 e0_.field AS field1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND
 e0_.locale = ? AND e0_.object_class = ?
 ([5,ro,Tock\\TockFlatPagesBundle\\Entity\\TemplateEngine])
 but there is no foreign_key with the id 5 in the *ext_translations* table
 and this is one of the information I have missing on my pages.
 I must mention that the information it is present in the TemplateEngine
 table on id 5 .

  I have printed all my TemplateEngine values and it seems that only the
 onces that are not in ext_translations do not appear on the page.

  BTW I am using Gedmo-doctrine-extensions in my project. I have also
 tested this using the 2.0.x branch of gedmo :
 https://github.com/l3pp4rd/DoctrineExtensions

  Anyone has a clue on this ?

  In the meantime I will try to understand better how gedmo works.

  If the translation is not available in the translation table, it is
 logical that you don't get the value as the translation fallback is disabled
 by default. You need to activate the translation fallback.

 --
 Christophe | Stof

  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: - [beta3] Empty values on the page that exists in database

2011-06-08 Thread seven seven
Thanks for your answer !

Actually I will have to raise this again as I have updated to beta4 and
still the same issue. It is definitely because of one of the  beta1 release
and most likely because of the DoctrineCommon 3.0 annotations changes.

Maybe there is someone here how can give me a hand with this, this is why I
am posting some clues regarding this issue:

In my logs there are some lines like :
[2011-06-08 12:29:20] doctrine.INFO: SELECT e0_.content AS content0,
e0_.field AS field1 FROM ext_translations e0_ WHERE e0_.foreign_key = ? AND
e0_.locale = ? AND e0_.object_class = ?
([5,ro,Tock\\TockFlatPagesBundle\\Entity\\TemplateEngine])
but there is no foreign_key with the id 5 in the *ext_translations* table
and this is one of the information I have missing on my pages.
I must mention that the information it is present in the TemplateEngine
table on id 5 .

I have printed all my TemplateEngine values and it seems that only the onces
that are not in ext_translations do not appear on the page.

BTW I am using Gedmo-doctrine-extensions in my project. I have also tested
this using the 2.0.x branch of gedmo :
https://github.com/l3pp4rd/DoctrineExtensions

Anyone has a clue on this ?

In the meantime I will try to understand better how gedmo works.


On Thu, Jun 2, 2011 at 5:31 PM, Roger Webb webb.ro...@gmail.com wrote:

 Hello,

 Did you follow the update document closely:
 https://github.com/symfony/symfony/blob/master/UPDATE.md

 That's solved most of my update-related issues.

 I know there are some bundles (WebServiceBundle for one) that were
 broken in the last release or two.  So, there could, possibly, be
 bundle-related issues.

 Roger

 On Jun 2, 6:00 am, seven seven sapt...@gmail.com wrote:
  Hi everyone,
 
  I am currently working on a basic CMS based on sf2. After upgrading from
  beta1 to beta3 a strange thing happened , some data doesn't appear on the
  page anymore; same database as in beta1. I must mention that data from
 the
  same entity , some works some does not, but every time I refresh the
  page the same data doesn't appear.
 
  I have also updated gedmo ,DoctrineExtensionsBundle and also DoctrineORM
 to
  master branch. I didn't checked if using the 2.0.x versions same thing
  happens.
 
  Database and data got generate in old sf2 PRs and updated over the time.
 The
  fact is that I need data currently used in beta1 to be imported in beta3
 and
  so on...
 
  Anyone with the issue ?
 
  Thanks in advance !
 
  --
  br
  Cezar

 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] [Symfony2] - [beta3] Empty values on the page that exists in database

2011-06-02 Thread seven seven
Hi everyone,

I am currently working on a basic CMS based on sf2. After upgrading from
beta1 to beta3 a strange thing happened , some data doesn't appear on the
page anymore; same database as in beta1. I must mention that data from the
same entity , some works some does not, but every time I refresh the
page the same data doesn't appear.

I have also updated gedmo ,DoctrineExtensionsBundle and also DoctrineORM to
master branch. I didn't checked if using the 2.0.x versions same thing
happens.

Database and data got generate in old sf2 PRs and updated over the time. The
fact is that I need data currently used in beta1 to be imported in beta3 and
so on...

Anyone with the issue ?

Thanks in advance !

-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Doctrine Extensions in Symfony2 Beta1

2011-05-29 Thread seven seven
Hi Stof,

Yes that is correct ! I did a better debugging and followed the *Update* from
github on symfony2 and some of the problems were gone. But I am still having
some troubles with my repositories . It might be that I didn't follow the
update instructions very well as I am upgrading from beta1 to beta3.


ERROR 
Catchable Fatal Error: Argument 1 passed to
Gedmo\Mapping\MappedEventSubscriber::loadMetadataForObjectClass() must be an
instance of Doctrine\Common\Persistence\ObjectManager, instance of
Doctrine\ORM\EntityManager given, called in
C:\xampp\htdocs\beta3\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\TimestampableListener.php
on line 44 and defined in
C:\xampp\htdocs\beta3\vendor\gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php
line 160



   1. in C:\xampp\htdocs\beta3\app\bootstrap.php.cache at line 382  [image:
   -][image: +] http://beta3.local/web/app_dev.php/#
   1. return false;
  2. }
  3. if (error_reporting()  $level  $this-level  $level) {
  4. throw new \ErrorException(sprintf(
  '%s: %s in %s line %d', isset($this-levels[$level]) ? $this-levels[
  $level] : $level, $message, $file, $line));
  5. }
  6. return false;
  7. }
   2. at *ErrorHandler -handle *('4096', 'Argument 1 passed to
   Gedmo\Mapping\MappedEventSubscriber::loadMetadataForObjectClass() must be an
   instance of Doctrine\Common\Persistence\ObjectManager, instance of
   Doctrine\ORM\EntityManager given, called in
   
C:\xampp\htdocs\beta3\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\TimestampableListener.php
   on line 44 and defined',
   
'C:\xampp\htdocs\beta3\vendor\gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php',
   '160',*array*())
   in
   
C:\xampp\htdocs\beta3\vendor\gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php
   at line 160  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   1.  * @param ClassMetadata $metadata
  2.  * @return void
  3.  */
  4. public function loadMetadataForObjectClass(
  ObjectManager $objectManager, ClassMetadata $metadata)
  5. {
  6. $factory = $this-getExtensionMetadataFactory(
  $objectManager);
  7. $config = $factory-getExtensionMetadata($metadata);
   3. at *MappedEventSubscriber -loadMetadataForObjectClass *(*object*(
   EntityManager), *object*(ClassMetadata))
   in
   
C:\xampp\htdocs\beta3\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\TimestampableListener.php
   at line 44  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   4. at *TimestampableListener -loadClassMetadata *(*object*(
   LoadClassMetadataEventArgs))
   in
   
C:\xampp\htdocs\beta3\vendor\doctrine-common\lib\Doctrine\Common\EventManager.php
   at line 64  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   5. at *EventManager -dispatchEvent *('loadClassMetadata', *object*(
   LoadClassMetadataEventArgs))
   in
   
C:\xampp\htdocs\beta3\vendor\doctrine\lib\Doctrine\ORM\Mapping\ClassMetadataFactory.php
   at line 311  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   6. at *ClassMetadataFactory -loadMetadata *
   ('Tock\TockFlatPagesBundle\Entity\GroupPageEngine')
   in
   
C:\xampp\htdocs\beta3\vendor\doctrine\lib\Doctrine\ORM\Mapping\ClassMetadataFactory.php
   at line 169  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   7. at *ClassMetadataFactory -getMetadataFor *
   ('Tock\TockFlatPagesBundle\Entity\GroupPageEngine')
   in
   C:\xampp\htdocs\beta3\vendor\doctrine\lib\Doctrine\ORM\EntityManager.php at
   line 251  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   8. at *EntityManager -getClassMetadata *
   ('Tock\TockFlatPagesBundle\Entity\GroupPageEngine')
   in
   C:\xampp\htdocs\beta3\vendor\doctrine\lib\Doctrine\ORM\EntityManager.php at
   line 567  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   9. at *EntityManager -getRepository *
   ('Tock\TockFlatPagesBundle\Entity\GroupPageEngine')
   in
   
C:\xampp\htdocs\beta3\src\Tock\TockFlatPagesBundle\Controller\TockFlatPagesController.php
   at line 167  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   10. at *TockFlatPagesController -getPageBySlug *('homepage', *object*(
   EntityManager))
   in
   
C:\xampp\htdocs\beta3\src\Tock\TockFlatPagesBundle\Controller\TockFlatPagesController.php
   at line 92  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   11. at *TockFlatPagesController -getTemplateCriteria *('homepage')
   in
   
C:\xampp\htdocs\beta3\src\Tock\TockFlatPagesBundle\Controller\TockFlatPagesController.php
   at line 33  [image: -][image: +] http://beta3.local/web/app_dev.php/#
   12. at *TockFlatPagesController -indexAction *()
   in at line


On Sat, May 28, 2011 at 5:37 PM, Christophe COEVOET s...@notk.org wrote:

 Le 28/05/2011 16:26, seven seven a écrit :


 Hi ,

 How to inject the new

Re: [symfony-users] Doctrine Extensions in Symfony2 Beta1

2011-05-29 Thread seven seven
Thanks allot ! You really saved my time !
I faced this issue in the past, but at that time I failed to upgrade to a
higher version of Doctrine ORM; now everything is working .

Again thank you for your great help !

On Sun, May 29, 2011 at 2:16 PM, Christophe COEVOET s...@notk.org wrote:

  Le 29/05/2011 13:08, seven seven a écrit :

 Hi Stof,

  Yes that is correct ! I did a better debugging and followed the *Update* from
 github on symfony2 and some of the problems were gone. But I am still having
 some troubles with my repositories . It might be that I didn't follow the
 update instructions very well as I am upgrading from beta1 to beta3.


  ERROR 
  Catchable Fatal Error: Argument 1 passed to
 Gedmo\Mapping\MappedEventSubscriber::loadMetadataForObjectClass() must be an
 instance of Doctrine\Common\Persistence\ObjectManager, instance of
 Doctrine\ORM\EntityManager given, called in
 C:\xampp\htdocs\beta3\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\TimestampableListener.php
 on line 44 and defined in
 C:\xampp\htdocs\beta3\vendor\gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php
 line 160
 

 The master branch of the Gedmo extension requires Doctrine ORM 2.1beta. If
 you use 2.0.5 (provided with the Standard Edition) you need to use the 2.0.x
 branch of the extensions.

 --
 Christophe | Stof

  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Doctrine Extensions in Symfony2 Beta1

2011-05-28 Thread seven seven
Hi ,

How to inject the new annotation reader for doctrine extentions ?
There is a part of code on github regarding annotations which I don't know
where to place.
Thank you in advance !
On Wed, May 11, 2011 at 11:11 AM, Gediminas Morkevicius 
gediminas.morkevic...@gmail.com wrote:

 stof, maybe you can make tags for symfony related versions


 On Tue, May 10, 2011 at 11:40 PM, Juergen Kober j.kober@space5.dewrote:

 Hello Christophe,
 thanks again for your help!
 The commit you mentioned works as expected.
 Best regards
 Jürgen


 Am 09.05.2011 20:36 Uhr schrieb Christophe COEVOET unter s...@notk.org
 :

  Le 09/05/2011 20:15, Jürgen Kober a écrit :
  Hi,
 
  i've been using doctrine extensions in a project i've started with
  Symfony2 PR7.
 
  Now I would like to proceed with Symfony2 Beta1 and everything is
  working fine except for the Doctrine Extensions. I've installed and
  configured DoctrineExtensionsBundle as before (couldn't find any
  change in the documentation).
 
  I don't get any errors, it's just that @gedmo:Sluggable and
  @gedmo:Timestampable don't work any more.
 
  Has there been any change in the configuration?
 
  Best regards
 
  Jürgen
 
  the latest version of the bundle is in sync with the Symfony master
  branch. As there is a change in the way doctrine listeners are
  registered for beta2, you need to get an older version of the bundle.
  The commit working for beta1 is 403d36243ff62b628f1a0dde935708a7c1c3b62b


 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en


  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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 can I disable it ?
Simply by commenting all assetic lines from config.yml ?

On Tue, May 17, 2011 at 7:09 PM, badllama77 badllam...@gmail.com wrote:

 I am thinking that this is from the assetic bundle which uses yui
 compressor.
 You could probably disable assetic, or change your open_basedir setting.

 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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
to : error_reporting = E_ALL  ~E_NOTICE.

Hope this helps anyone else !

On Wed, May 25, 2011 at 12:52 PM, seven seven sapt...@gmail.com wrote:

 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 can I disable it ?
 Simply by commenting all assetic lines from config.yml ?

 On Tue, May 17, 2011 at 7:09 PM, badllama77 badllam...@gmail.com wrote:

 I am thinking that this is from the assetic bundle which uses yui
 compressor.
 You could probably disable assetic, or change your open_basedir setting.

 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




 --
 br
 Cezar




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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

2011-05-17 Thread seven seven
Hi again,

Pretty please ...!!!.. An advice will be welcome ! I am trying to
fix/understand all that I can before moving forward with SF2.
 Thanks in advance !

On Mon, May 16, 2011 at 12:34 PM, seven seven sapt...@gmail.com wrote:

 Hi all,

   I will get to the point very fast... :P. In the past I did had few shared
 hosting accounts and I wasn't happy with the configuration so far, so I
 ended up with a VPS server which I installed and configured myself. Anyway I
 ended with the following warnings when I am trying to access the
 configurator.

 Warning: is_file(): open_basedir restriction in effect. File(/sbin/java) is
 not within the allowed path(s):
 (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/
 tock.ro/web:/srv/www/tock.ro/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin)
 in
 /var/www/clients/client2/web2/web/beta1/vendor/symfony/src/Symfony/Component/Process/ExecutableFinder.php
 on line 48 Warning: is_file(): open_basedir restriction in effect.
 File(/usr/sbin/java) is not within the allowed path(s):
 (/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/
 tock.ro/web:/srv/www/tock.ro/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin)
 in
 /var/www/clients/client2/web2/web/beta1/vendor/symfony/src/Symfony/Component/Process/ExecutableFinder.php
 on line 48 Warning: is_file(): open_basedir restriction in effect.
 File(/bin/java) is not within the allowed path(s):

 I have ISPConfig 3 installed , php 5.3.6 and everything that the config.php
 tells to install/enable .

 So anyone that managed to fix this ? Or should I ignore it ?

 Thank you !

 --
 br
 Cezar




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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

2011-05-16 Thread seven seven
Hi all,

  I will get to the point very fast... :P. In the past I did had few shared
hosting accounts and I wasn't happy with the configuration so far, so I
ended up with a VPS server which I installed and configured myself. Anyway I
ended with the following warnings when I am trying to access the
configurator.

Warning: is_file(): open_basedir restriction in effect. File(/sbin/java) is
not within the allowed path(s):
(/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/
tock.ro/web:/srv/www/tock.ro/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin)
in
/var/www/clients/client2/web2/web/beta1/vendor/symfony/src/Symfony/Component/Process/ExecutableFinder.php
on line 48 Warning: is_file(): open_basedir restriction in effect.
File(/usr/sbin/java) is not within the allowed path(s):
(/var/www/clients/client2/web2/web:/var/www/clients/client2/web2/tmp:/var/www/
tock.ro/web:/srv/www/tock.ro/web:/usr/share/php5:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin)
in
/var/www/clients/client2/web2/web/beta1/vendor/symfony/src/Symfony/Component/Process/ExecutableFinder.php
on line 48 Warning: is_file(): open_basedir restriction in effect.
File(/bin/java) is not within the allowed path(s):

I have ISPConfig 3 installed , php 5.3.6 and everything that the config.php
tells to install/enable .

So anyone that managed to fix this ? Or should I ignore it ?

Thank you !

-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: [Symfony2] - Trouble with MenuBundle in beta1 - cannot override renderLink() from MyCustomMenuItem

2011-05-05 Thread seven seven
Anyone !?  :)
Added some comments to my code bellow .

On Wed, May 4, 2011 at 5:04 PM, seven seven sapt...@gmail.com wrote:

 Hi everyone,

 Let me be short. I have a class MainMenu and I want to override the 
 *renderLink()
 *from MenuItem in *MyCustomMenuItem *class, but something is not working
 because I have nothing in my output html but the default output.

 *In MainMenu extends Menu:*
   parent::__construct(array('class' = 'menu'),
 'Tock\TockFlatPagesBundle\Menu\MyCustomMenuItem');

 *$this-setCurrentUri($request-getRequestUri());*
* $this-addChild('Home2', $router-generate('_welcome'));*
I also tried with :  $this-addChild(new MyCustomMenuItem('Home2',
$router-generate('_welcome')));


 *In MyCustomMenuItem extends MenuItem :*
   public function renderLink() {
 //parent::renderLink();

 $label = $this-renderLabel();
 $uri = $this-getUri();
 //$this-setAttribute('id', 'back_to_homepage');

 if (!$uri) {
 return $label;
 }
 // class=level1 active current
 return sprintf('a href=%sspan%s/spanTEST/a', $uri,
 $label);
 }

 *In my layout.html.twig:*
{{ menu_get('main').render|raw }}
and I did tried with:
   {{ menu('main') }}
but no results.

 Anyone has an idea why this is not working ?
 --
 br
 Cezar




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] [Symfony2] - Fatal error on post for contact form

2011-05-05 Thread seven seven
Hi there,

I am receiving this error when I am trying to submit data from a contact
form :
*Fatal error*: Call to undefined function
Symfony\Component\Form\Extension\Core\DataTransformer\intl_is_failure() in*
/home/tock/public_html/beta1/vendor/symfony/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php
* on line *100*

I don;t use any data from the form at this moment to send over email , I am
just using at this moment a fictive *test* body.

Please advise !
Thanks in advance !
-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] [Symfony2] - Fatal error on post for contact form

2011-05-05 Thread seven seven
No , I don't have it . Isn't there another option , without the intl
extension ?

On Thu, May 5, 2011 at 3:03 PM, Don Pinkster d...@pinkster.eu wrote:

 It seems like you dont have the PHP intl extension installed.

 http://nl.php.net/intl

 On Thu, May 5, 2011 at 1:52 PM, seven seven sapt...@gmail.com wrote:
  Hi there,
  I am receiving this error when I am trying to submit data from a contact
  form :
  Fatal error: Call to undefined function
  Symfony\Component\Form\Extension\Core\DataTransformer\intl_is_failure()
 
 in/home/tock/public_html/beta1/vendor/symfony/src/Symfony/Component/Form/Extension/Core/DataTransformer/NumberToLocalizedStringTransformer.php
  on
  line 100
  I don;t use any data from the form at this moment to send over email , I
 am
  just using at this moment a fictive test body.
  Please advise !
  Thanks in advance !
  --
  br
  Cezar
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 

 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] [Symfony2] - Trouble with MenuBundle in beta1 - cannot override renderLink() from MyCustomMenuItem

2011-05-04 Thread seven seven
Hi everyone,

Let me be short. I have a class MainMenu and I want to override the
*renderLink()
*from MenuItem in *MyCustomMenuItem *class, but something is not working
because I have nothing in my output html but the default output.

*In MainMenu extends Menu:*
  parent::__construct(array('class' = 'menu'),
'Tock\TockFlatPagesBundle\Menu\MyCustomMenuItem');

*In MyCustomMenuItem extends MenuItem :*
  public function renderLink() {
//parent::renderLink();

$label = $this-renderLabel();
$uri = $this-getUri();
//$this-setAttribute('id', 'back_to_homepage');

if (!$uri) {
return $label;
}
// class=level1 active current
return sprintf('a href=%sspan%s/spanTEST/a', $uri,
$label);
}

*In my layout.html.twig:*
   {{ menu_get('main').render|raw }}
   and I did tried with:
  {{ menu('main') }}
   but no results.

Anyone has an idea why this is not working ?
-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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

2011-05-02 Thread seven seven
Hi everyone,

I am currently facing one annoying issue . Everytime I insert something into
mysql DB using *AdminBundle *I have a quote escape (  ' or / becoming \ \'
\/ ) . I suspect this is because my provider has *magic_quotes_gpc = on* and
he don't want to set it to off. The question I have , is there any way to
set it to off ? Even if this requires root access I will tell my provider
the steps to accomplish this ...

Thanks for your responses !

-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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

2011-05-02 Thread seven seven
Thanks for your quick reply !

Yes I tried this already but it seems that the settings are not meant to
work this way, it troughs a 500 internal error.
I know there is a config available to put a php.ini file with
magic_quotes_gpc = off , but this being a by folder setup it means I should
put this in all my folders ? And I don't know if this will work for sf2
anyway ...
Is this the only way ?

Thanks !

On Mon, May 2, 2011 at 4:10 PM, Carl carl.par...@gmail.com wrote:

 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.

 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


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

2011-05-02 Thread seven seven
Hi Carl,

Thanks for your response ! Actually the magic_quotes_gpc cannot be changed
with init_set after 4.2.3 because is a PHP_INI_PERDIR according to this
post
http://stackoverflow.com/questions/517008/how-to-turn-off-magic-quotes-on-shared-hosting
and
php.net . Again on to the same post I found an workaround solution ( PHP 5.3
and above ) and I am posting here for the others to search for this:

if (get_magic_quotes_gpc() === 1)
{
$_GET = json_decode(stripslashes(json_encode($_GET, JSON_HEX_APOS)),
true);
$_POST = json_decode(stripslashes(json_encode($_POST, JSON_HEX_APOS)),
true);
$_COOKIE = json_decode(stripslashes(json_encode($_COOKIE,
JSON_HEX_APOS)), true);
$_REQUEST = json_decode(stripslashes(json_encode($_REQUEST,
JSON_HEX_APOS)), true);
}

Thanks ! You gave me the idea to place a script @ beginning of *app.php* and
*app_dev.php* ! :)


On Mon, May 2, 2011 at 5:27 PM, Carl carl.par...@gmail.com wrote:

 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? If it's shared hosting they generally can't easily disable
 something like that without impacting everyone else on the server. If it
 absolutely cannot be disabled via the php.ini file (for whatever reason),
 then try adding the following to your app.php and app_dev.php files:

 ini_set ('magic_quotes_gpc', 0);

 Put this on the first line (before any includes) in both of those.

 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Bundle does not contain any mapped entities.

2011-04-20 Thread seven seven
Hi,

You should use php app/console doctrine:schema:create assuming that you have
already created your database ( you can do this with
doctrine:database:create ). generate:entities is used when you have defined
your entity in .yml or .xml file(s).

I am new to symfony , so someone please correct me if I am wrong !

On Tue, Apr 19, 2011 at 4:07 PM, absdv arnob...@sdv.fr wrote:

 Hi,

 I want to run this command in PR11 :
 $ php app/console doctrine:generate:entities SdvSuiviBundle
 And I get : Bundle SdvSuiviBundle does not contain any mapped
 entities.

 In config.yml, I have :
 # Doctrine Configuration
 doctrine:
dbal:
default_connection: default
connections:
default:
driver:   %database_driver%
host: %database_host%
dbname:   %database_name%
user: %database_user%
password: %database_password%

orm:
auto_generate_proxy_classes: %kernel.debug%
default_entity_manager: default
entity_managers:
default:
mappings:
SdvSuiviBundle: ~






 In src/Sdv/SuiviBundle/Entity/Mail.php, I have this :

 ?php

 namespace Sdv\SdvSuiviBundle\Entity;

 /**
  * @orm:Entity
  */
 class Mail
 {
/**
 * @orm:Id
 * @orm:Column(type=integer)
 * @orm:GeneratedValue(strategy=AUTO)
 */
protected $id;

/**
 * @orm:Column(type=string, length=255)
 */
protected $key;

/**
 * @orm:Column(type=text)
 */
protected $object;

/**
 * @orm:Column(type=text)
 */
protected $from;

/**
 * @orm:Column(type=text)
 */
protected $header;

/**
 * @orm:Column(type=text)
 */
protected $body;

/**
 * @orm:Column(type=text)
 */
protected $raw;

/**
 * @orm:Column(type=datetime, name=created_at)
 */
protected $createdAt;

/**
 * @orm:Column(type=datetime, name=updated_at)
 */
protected $updatedAt;



public function __construct()
{
$this-createdAt = new \DateTime();
$this-updatedAt = new \DateTime();
}

 }



 Please, help me. I'm begenning with Symfony 2. It's a huge step for me
 coming from Symfony 1.0.x

 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-11 Thread seven seven
You mean like this :
arguments: [null, TockTockFlatPagesBundle:GroupPageEngineAdmin]
?
I am in dev mode, ah I was referring that no fields are present, the Admin
template is there on the page, like there is no entity attached


On Mon, Apr 11, 2011 at 12:51 PM, Thomas Rabaix thomas.rab...@gmail.comwrote:

 The arguments signature has changed. You must add null as first argument.

 The white page is not normal, if you are in dev mode you should see an
 error stack



 On 11 avr. 2011, at 11:34, seven seven wrote:

  On my side the problem is that I don't receive any error. I am getting an
  empty admin page when accessing /admin/dashboard. I have this defined in
 my
  config.yml file:
 
  services:
 tock.tockflatpages.admin.grouppageengine:
 class: Tock\TockFlatPagesBundle\Admin\GroupPageEngineAdmin
 tags:
   - { name: tock.admin, manager_type: orm, group: tock_flatpages,
  label: flatpages }
 arguments: [Tock\TockFlatPagesBundle\Entity\GroupPageEngine,
  TockTockFlatPagesBundle:GroupPageEngineAdmin]
 
  Also I am using gedmo doctrineExtensions for my entity, could that be the
  cause ?
 
 
  On Mon, Apr 11, 2011 at 1:07 AM, Christophe COEVOET s...@notk.org
 wrote:
 
  Le 10/04/2011 23:49, Malc a écrit :
 
  Basically it's working, but I always get some of the following
  error's:
 
  Catchable fatal error: Object of class  could not be converted to
  string in src\web\vendor\symfony\src\Symfony\Component\Form
  \EntityChoiceField.php on line 243.
 
  Can anybody tell me , how to fix that ? Did I forget something to
  configure ? Should I convert the objects to strings ?
 
  thx,
  Malc
 
  You have to choice:
  - say to your EntityChoiceField to use a given property of the entity
  - implement __toString to make your class castable as string
  Read the doc about the EntityChoiceField:
  http://symfony.com/doc/2.0/book/doctrine/orm/form.html
 
  --
  Christophe | Stof
 
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
 
 
 
  --
  br
  Cezar
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en

 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-11 Thread seven seven
Thanks !
That push me into a different area. I get an exception :
RuntimeException: Please define a default `baseRouteName` value for the
admin class `Tock\TockFlatPagesBundle\Admin\GroupPageEngineAdmin
and also an error :
FileLoaderImportException: Cannot import resource
'C:\\xampp\\htdocs\\mc1\\app/config\\.' from
'C:\\xampp\\htdocs\\mc1\\app/config\\routing.yml'
and if I define a baseRootName and baseRoutePattern in my
GroupPageEngineAdmin class I can see my Entity on the list from dashboard,
but when I click on create or list I get the following exception:
The service tock\tockflatpagesbundle\entity\grouppageengine does not
exist.


On Mon, Apr 11, 2011 at 1:12 PM, Thomas Rabaix thomas.rab...@gmail.comwrote:

 The tag name is not valid.

 And it is how you should declare the arguments :
  arguments: [null, Tock\TockFlatPagesBundle\Entity\GroupPageEngine,
  TockTockFlatPagesBundle:GroupPageEngineAdmin]


 On 11 avr. 2011, at 11:56, seven seven wrote:

  You mean like this :
  arguments: [null, TockTockFlatPagesBundle:GroupPageEngineAdmin]
  ?
  I am in dev mode, ah I was referring that no fields are present, the
 Admin
  template is there on the page, like there is no entity attached
 
 
  On Mon, Apr 11, 2011 at 12:51 PM, Thomas Rabaix thomas.rab...@gmail.com
 wrote:
 
  The arguments signature has changed. You must add null as first
 argument.
 
  The white page is not normal, if you are in dev mode you should see an
  error stack
 
 
 
  On 11 avr. 2011, at 11:34, seven seven wrote:
 
  On my side the problem is that I don't receive any error. I am getting
 an
  empty admin page when accessing /admin/dashboard. I have this defined
 in
  my
  config.yml file:
 
  services:
tock.tockflatpages.admin.grouppageengine:
class: Tock\TockFlatPagesBundle\Admin\GroupPageEngineAdmin
tags:
  - { name: tock.admin, manager_type: orm, group: tock_flatpages,
  label: flatpages }
arguments: [Tock\TockFlatPagesBundle\Entity\GroupPageEngine,
  TockTockFlatPagesBundle:GroupPageEngineAdmin]
 
  Also I am using gedmo doctrineExtensions for my entity, could that be
 the
  cause ?
 
 
  On Mon, Apr 11, 2011 at 1:07 AM, Christophe COEVOET s...@notk.org
  wrote:
 
  Le 10/04/2011 23:49, Malc a écrit :
 
  Basically it's working, but I always get some of the following
  error's:
 
  Catchable fatal error: Object of class  could not be converted to
  string in src\web\vendor\symfony\src\Symfony\Component\Form
  \EntityChoiceField.php on line 243.
 
  Can anybody tell me , how to fix that ? Did I forget something to
  configure ? Should I convert the objects to strings ?
 
  thx,
  Malc
 
  You have to choice:
  - say to your EntityChoiceField to use a given property of the entity
  - implement __toString to make your class castable as string
  Read the doc about the EntityChoiceField:
  http://symfony.com/doc/2.0/book/doctrine/orm/form.html
 
  --
  Christophe | Stof
 
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
 
 
 
  --
  br
  Cezar
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
 
 
 
  --
  br
  Cezar
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en

 --
 If you want to report a vulnerability issue on symfony, please send it to
 security at symfony

Re: [symfony-users] Re: AdminBundle - not able to make it work in PR10

2011-04-11 Thread seven seven
Ok I'm stuck :(

I didn't figure out why it does not find my entity .
It only have my Entity classes manually written including my getters and
setters , without running the doctrine:generate:entities command. I am
asking if is there absolutely necessary of having XML or YML mapping of my
entities in order to work with AdminBundle ? It shouldn't work that way but
I am asking ...

On Mon, Apr 11, 2011 at 2:17 PM, seven seven sapt...@gmail.com wrote:

 Thanks !
 That push me into a different area. I get an exception :
 RuntimeException: Please define a default `baseRouteName` value for the
 admin class `Tock\TockFlatPagesBundle\Admin\GroupPageEngineAdmin
 and also an error :
 FileLoaderImportException: Cannot import resource
 'C:\\xampp\\htdocs\\mc1\\app/config\\.' from
 'C:\\xampp\\htdocs\\mc1\\app/config\\routing.yml'
 and if I define a baseRootName and baseRoutePattern in my
 GroupPageEngineAdmin class I can see my Entity on the list from dashboard,
 but when I click on create or list I get the following exception:
 The service tock\tockflatpagesbundle\entity\grouppageengine does not
 exist.


 On Mon, Apr 11, 2011 at 1:12 PM, Thomas Rabaix thomas.rab...@gmail.comwrote:

 The tag name is not valid.

 And it is how you should declare the arguments :
  arguments: [null, Tock\TockFlatPagesBundle\Entity\GroupPageEngine,
  TockTockFlatPagesBundle:GroupPageEngineAdmin]


 On 11 avr. 2011, at 11:56, seven seven wrote:

  You mean like this :
  arguments: [null, TockTockFlatPagesBundle:GroupPageEngineAdmin]
  ?
  I am in dev mode, ah I was referring that no fields are present, the
 Admin
  template is there on the page, like there is no entity attached
 
 
  On Mon, Apr 11, 2011 at 12:51 PM, Thomas Rabaix 
 thomas.rab...@gmail.comwrote:
 
  The arguments signature has changed. You must add null as first
 argument.
 
  The white page is not normal, if you are in dev mode you should see an
  error stack
 
 
 
  On 11 avr. 2011, at 11:34, seven seven wrote:
 
  On my side the problem is that I don't receive any error. I am getting
 an
  empty admin page when accessing /admin/dashboard. I have this defined
 in
  my
  config.yml file:
 
  services:
tock.tockflatpages.admin.grouppageengine:
class: Tock\TockFlatPagesBundle\Admin\GroupPageEngineAdmin
tags:
  - { name: tock.admin, manager_type: orm, group:
 tock_flatpages,
  label: flatpages }
arguments: [Tock\TockFlatPagesBundle\Entity\GroupPageEngine,
  TockTockFlatPagesBundle:GroupPageEngineAdmin]
 
  Also I am using gedmo doctrineExtensions for my entity, could that be
 the
  cause ?
 
 
  On Mon, Apr 11, 2011 at 1:07 AM, Christophe COEVOET s...@notk.org
  wrote:
 
  Le 10/04/2011 23:49, Malc a écrit :
 
  Basically it's working, but I always get some of the following
  error's:
 
  Catchable fatal error: Object of class  could not be converted
 to
  string in src\web\vendor\symfony\src\Symfony\Component\Form
  \EntityChoiceField.php on line 243.
 
  Can anybody tell me , how to fix that ? Did I forget something to
  configure ? Should I convert the objects to strings ?
 
  thx,
  Malc
 
  You have to choice:
  - say to your EntityChoiceField to use a given property of the entity
  - implement __toString to make your class castable as string
  Read the doc about the EntityChoiceField:
  http://symfony.com/doc/2.0/book/doctrine/orm/form.html
 
  --
  Christophe | Stof
 
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
 
 
 
  --
  br
  Cezar
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
  --
  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 unsubscribe from this group, send email to
  symfony-users+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/symfony-users?hl=en
 
 
 
 
  --
  br
  Cezar
 
  --
  If you want to report a vulnerability issue on symfony, please send it
 to security at symfony

[symfony-users] [symfony2] AdminBundle - not able to make it work in PR10

2011-04-10 Thread seven seven
Hi everyone,

   Is AdminBundle working in PR10 ? I am not able to make it work at all ...
I followed the instructions from the Resources/doc .


-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-07 Thread seven seven
Here is the code I am using in my controller to insert the data :

$group = new GroupPageEngine();
$group-setInternalName('HomePage');
$group-setTitle('HomePageT');
  $em = $this-get('doctrine.orm.entity_manager');
$em-persist($group);
$em-flush();
Anything wrong here ?

On Thu, Apr 7, 2011 at 5:27 PM, seven seven sapt...@gmail.com wrote:

 I have returned !
 First let me thank you for your answer ! After some experimental work I
 finally managed to make this work and also generate my DB tables.

 The reason I wanted to write back is that I cannot manage to insert
 anything in my DB based on the tree obj relation. The error I get is :
 * SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'lft'
 cannot be null
 500 Internal Server Error - PDOException
 *

 It seems that the lft column is not automatically managed .
 BTW I have decided to use the 2.0 release due to some errors.

 Thanks again for your answer !

 On Tue, Apr 5, 2011 at 11:24 PM, Christophe COEVOET s...@notk.org wrote:

  Le 05/04/2011 21:22, seven seven a écrit :

 Hi again !

  Well everything worked great till I tried to run *php app/console
 doctrine:schema:create* and it gives the following error:

  *$ ../../php/php.exe app/console doctrine:schema:create*
 *PHP Catchable fatal error:  Argument 1 passed to
 Gedmo\Mapping\MappedEventSubscr*
 *iber::loadMetadataForObjectClass() must be an instance of
 Doctrine\Common\Persis*
 *tence\ObjectManager, instance of Doctrine\ORM\EntityManager given,
 called in C:\*
 *
 xampp\htdocs\mcchipdkr\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\
 *
 *TimestampableListener.php on line 44 and defined in
 C:\xampp\htdocs\mcchipdkr\ve*
 *ndor\gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php
 on li*
 *ne 124*
 *
 *
 *Catchable fatal error: Argument 1 passed to
 Gedmo\Mapping\MappedEventSubscriber:*
 *:loadMetadataForObjectClass() must be an instance of
 Doctrine\Common\Persistence*
 *\ObjectManager, instance of Doctrine\ORM\EntityManager given, called in
 C:\xampp*
 *
 \htdocs\mcchipdkr\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\Times
 *
 *tampableListener.php on line 44 and defined in
 C:\xampp\htdocs\mcchipdkr\vendor\*
 *gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php on
 line 12*
 *4*

  Seems that I did a mistake in my Entity , annotations ? or is something
 related to doctrine-common ?

 Read the README file of DoctrineExtensions: you need to use the master
 branch of Doctrine\common is you want to use the master branch of the
 extensions.
 If you prefer using the 2.0 release, use the 2.0.x branch of the
 DoctrineExtensions repository. Note that this branch will likely not receive
 new features anymore.

 --
 Christophe | Stof

  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




 --
 br
 Cezar




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-07 Thread seven seven
Here is what I have in my app/config/config.yml :

doctrine:
dbal:
default_connection: default
connections:
default:
driver:   %database_driver%
host: %database_host%
dbname:   %database_name%
user: %database_user%
password: %database_password%

orm:
auto_generate_proxy_classes: %kernel.debug%
default_entity_manager: default
entity_managers:
default:
mappings:
StofDoctrineExtensionsBundle: ~
MyBundle: ~

stof_doctrine_extensions:
#default_locale: en_US
orm:
default: ~

And here is what I have in my Entity file named *GroupPageEngine.php*

namespace My\MyBundle\Entity;

/**
 * @orm:gedmo:Tree(type=nested)
 * @orm:Table(name=GroupPageEngines)
 *
@orm:Entity(repositoryClass=Gedmo\Tree\Entity\Repository\NestedTreeRepository)
 */
Class GroupPageEngine {

/**
 * @orm:Id
 * @orm:Column(type=integer)
 * @orm:GeneratedValue(strategy=AUTO)
 */
private $id;
 /**
 * @orm:Column(type=string, length=255)
 */
private $internal_name;

/**
 * @orm:gedmo:TreeLeft
 * @orm:Column(name=lft, type=integer)
 */
private $lft;
 /**
 * @orm:gedmo:TreeLevel
 * @orm:Column(name=lvl, type=integer)
 */
private $lvl;

/**
 * @orm:gedmo:TreeRight
 * @orm:Column(name=rgt, type=integer)
 */
private $rgt;
 /**
 * @orm:gedmo:TreeRoot
 * @orm:Column(name=root, type=integer)
 */
private $root;

/**
 * @orm:gedmo:TreeParent
 * @orm:ManyToOne(targetEntity=GroupPageEngine, inversedBy=children)
 */
private $parent;

/**
 * @orm:OneToMany(targetEntity=GroupPageEngine, mappedBy=parent)
 * @orm:OrderBy({lft = ASC})
 */
private $children;

public function getId() { return $this-id; }

public function setParent(GroupPageEngine $parent){ $this-parent =
$parent; }
public function getParent(){ return $this-parent; }
public function getInternalName() { return $this-internal_name; }
public function setInternalName($internal_name) { $this-internal_name =
$internal_name; }
public function __toString() { return $this-internal_name; }

I also have more fields that are similar to internal_name which I didn't
post here .


On Thu, Apr 7, 2011 at 7:11 PM, Christophe COEVOET s...@notk.org wrote:

  Le 07/04/2011 18:01, seven seven a écrit :

 Here is the code I am using in my controller to insert the data :

  $group = new GroupPageEngine();
 $group-setInternalName('HomePage');
  $group-setTitle('HomePageT');
$em = $this-get('doctrine.orm.entity_manager');
 $em-persist($group);
 $em-flush();
  Anything wrong here ?

  did you activate the Tree extension in your config ? and did you mapped
 the lft field with the good mapping ?

 --
 Christophe | Stof

  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-05 Thread seven seven
Hello again,

I have migrated to SF2 PR9 and the error I have is the same is this:
*Fatal error*: Declaration of
Stof\DoctrineExtensionsBundle\Listener\LoggableListener::getLogEntryClass()
must be compatible with that of
Gedmo\Loggable\AbstractLoggableListener::getLogEntryClass() in*
C:\xampp\htdocs\mcchipdkr\vendor\bundles\Stof\DoctrineExtensionsBundle\Listener\LoggableListener.php
* on line *17*
*
*
***Also I did tried to use Doctrine master branch and the error was the same
as above .*
*
*
*Any thoughts about solving this ?
*
On Tue, Apr 5, 2011 at 11:10 AM, seven seven sapt...@gmail.com wrote:

 Hi all,

 I have a question related to the DoctrineExtensions... I was trying to use
 DoctrineExtensionsBundle in sf2 PR8 and I get some errors when I try
  schema:create.
 It seems that the Doctrine 2.0.x will not work with
 DoctrineExtensionsBundle ? Am I correct ? I should put the Doctrine 2.0 ?
 Anyway is there a way to implement the DoctrineExtensions without changing
 the SF2 (version  PR8) with vendors structure ?

 P.S.: I need DoctrineExtensions to implement NestedSet as it is not in the
 Doctrine Core.

 --
 br
 Cezar




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-05 Thread seven seven
Hi all,

I have a question related to the DoctrineExtensions... I was trying to use
DoctrineExtensionsBundle in sf2 PR8 and I get some errors when I try
 schema:create.
It seems that the Doctrine 2.0.x will not work with DoctrineExtensionsBundle
? Am I correct ? I should put the Doctrine 2.0 ?
Anyway is there a way to implement the DoctrineExtensions without changing
the SF2 (version  PR8) with vendors structure ?

P.S.: I need DoctrineExtensions to implement NestedSet as it is not in the
Doctrine Core.

-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-05 Thread seven seven
Ok, that was weird, because my DoctrineExtensions wasn't up to date and I
know that yesterday I had downloaded it from github. Anyway that fixed the
issue .
And I am using SF2 - PR10.

Thanks allot !

On Tue, Apr 5, 2011 at 7:29 PM, Christophe COEVOET s...@notk.org wrote:

  Le 05/04/2011 17:09, seven seven a écrit :

 Hello again,

  I have migrated to SF2 PR9 and the error I have is the same is this:
 *Fatal error*: Declaration of
 Stof\DoctrineExtensionsBundle\Listener\LoggableListener::getLogEntryClass()
 must be compatible with that of
 Gedmo\Loggable\AbstractLoggableListener::getLogEntryClass() in*
 C:\xampp\htdocs\mcchipdkr\vendor\bundles\Stof\DoctrineExtensionsBundle\Listener\LoggableListener.php
 * on line *17*
 *
 *
 *Also I did tried to use Doctrine master branch and the error was the same
 as above .*
 *
 *
 *Any thoughts about solving this ?
 *
 On Tue, Apr 5, 2011 at 11:10 AM, seven seven sapt...@gmail.com wrote:

 Hi all,

  I have a question related to the DoctrineExtensions... I was trying to
 use DoctrineExtensionsBundle in sf2 PR8 and I get some errors when I try
  schema:create.
 It seems that the Doctrine 2.0.x will not work with
 DoctrineExtensionsBundle ? Am I correct ? I should put the Doctrine 2.0 ?
 Anyway is there a way to implement the DoctrineExtensions without changing
 the SF2 (version  PR8) with vendors structure ?

  P.S.: I need DoctrineExtensions to implement NestedSet as it is not in
 the Doctrine Core.

   The lastest version of the bundle is meant to be used with the current
 master branch (so it should work with PR10 but might be broken on PR9) and
 with the current state of the DoctrineExtensions repository. Are they all
 up-to-date ?

 --
 Christophe | Stof

  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] Re: [Symfony2] DoctrineExtensionsBundle - works with Doctrine 2.0.3 ?

2011-04-05 Thread seven seven
Hi again !

Well everything worked great till I tried to run *php app/console
doctrine:schema:create* and it gives the following error:

*$ ../../php/php.exe app/console doctrine:schema:create*
*PHP Catchable fatal error:  Argument 1 passed to
Gedmo\Mapping\MappedEventSubscr*
*iber::loadMetadataForObjectClass() must be an instance of
Doctrine\Common\Persis*
*tence\ObjectManager, instance of Doctrine\ORM\EntityManager given, called
in C:\*
*
xampp\htdocs\mcchipdkr\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\
*
*TimestampableListener.php on line 44 and defined in
C:\xampp\htdocs\mcchipdkr\ve*
*ndor\gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php
on li*
*ne 124*
*
*
*Catchable fatal error: Argument 1 passed to
Gedmo\Mapping\MappedEventSubscriber:*
*:loadMetadataForObjectClass() must be an instance of
Doctrine\Common\Persistence*
*\ObjectManager, instance of Doctrine\ORM\EntityManager given, called in
C:\xampp*
*
\htdocs\mcchipdkr\vendor\gedmo-doctrine-extensions\lib\Gedmo\Timestampable\Times
*
*tampableListener.php on line 44 and defined in
C:\xampp\htdocs\mcchipdkr\vendor\*
*gedmo-doctrine-extensions\lib\Gedmo\Mapping\MappedEventSubscriber.php on
line 12*
*4*

Seems that I did a mistake in my Entity , annotations ? or is something
related to doctrine-common ?


On Tue, Apr 5, 2011 at 7:40 PM, seven seven sapt...@gmail.com wrote:

 Ok, that was weird, because my DoctrineExtensions wasn't up to date and I
 know that yesterday I had downloaded it from github. Anyway that fixed the
 issue .
 And I am using SF2 - PR10.

 Thanks allot !


 On Tue, Apr 5, 2011 at 7:29 PM, Christophe COEVOET s...@notk.org wrote:

  Le 05/04/2011 17:09, seven seven a écrit :

 Hello again,

  I have migrated to SF2 PR9 and the error I have is the same is this:
 *Fatal error*: Declaration of
 Stof\DoctrineExtensionsBundle\Listener\LoggableListener::getLogEntryClass()
 must be compatible with that of
 Gedmo\Loggable\AbstractLoggableListener::getLogEntryClass() in*
 C:\xampp\htdocs\mcchipdkr\vendor\bundles\Stof\DoctrineExtensionsBundle\Listener\LoggableListener.php
 * on line *17*
 *
 *
 *Also I did tried to use Doctrine master branch and the error was the
 same as above .*
 *
 *
 *Any thoughts about solving this ?
 *
 On Tue, Apr 5, 2011 at 11:10 AM, seven seven sapt...@gmail.com wrote:

 Hi all,

  I have a question related to the DoctrineExtensions... I was trying to
 use DoctrineExtensionsBundle in sf2 PR8 and I get some errors when I try
  schema:create.
 It seems that the Doctrine 2.0.x will not work with
 DoctrineExtensionsBundle ? Am I correct ? I should put the Doctrine 2.0 ?
 Anyway is there a way to implement the DoctrineExtensions without
 changing the SF2 (version  PR8) with vendors structure ?

  P.S.: I need DoctrineExtensions to implement NestedSet as it is not in
 the Doctrine Core.

   The lastest version of the bundle is meant to be used with the current
 master branch (so it should work with PR10 but might be broken on PR9) and
 with the current state of the DoctrineExtensions repository. Are they all
 up-to-date ?

 --
 Christophe | Stof

  --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




 --
 br
 Cezar




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] [symfony2] MediaBundle installation

2011-03-28 Thread seven seven
Hello everyone,

I must say that this might be a stupid question, but I am stuck with
installing MediaBundle in Symfony2. I am using xampp on windows7 and Cygwin
as command line console.
According to the documentation on installation I must run this command *php
kooqit/console Sonata:easy-extends:generate* in order to generate the domain
objects in an ``Application`` namespace, but this is not working and is
giving me: *Could not open input file: kooqit/console*
I am running  this command : *../../php/php.exe kooqit/console
Sonata:easy-extends:generate*
and everything is ok with my php as if I run *../../php/php.exe -v* I get
the output:
*$ ../../php/php.exe -v*
*PHP 5.3.5 (cli) (built: Jan  6 2011 17:54:09)*
*Copyright (c) 1997-2010 The PHP Group*
*Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies*

What is kooqit anyway as I am new in using Symfony, especially Symfony2 :)
?

Please excuse me if I am asking a stupid question !

Thanks in advance !

-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] [symfony2] framework requirements - PHP accelerator not detected ?

2011-03-28 Thread seven seven
Hello,

I am currently setting up my production server in order to support sf2
framework. My question is regarding the PHP accelerators, I have already
installed *eaccelerator *(http://eaccelerator.net/) on my server but I still
get the *Install and enable a PHP accelerator like APC (highly recommended).
*when checking configuration . Is that the eaccelerator in not supported by
sf2 ?
Please advise !

Thanks in advance !

-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] [symfony2] framework requirements - PHP accelerator not detected ?

2011-03-28 Thread seven seven
Thanks !
Good to know !
I will check everything and install APC if still not working ...

On Mon, Mar 28, 2011 at 6:04 PM, Jordi Boggiano j.boggi...@seld.be wrote:

 On 28.03.2011 16:56, seven seven wrote:
  Hello,
 
  I am currently setting up my production server in order to support sf2
  framework. My question is regarding the PHP accelerators, I have already
  installed *eaccelerator *(http://eaccelerator.net/) on my server but I
  still get the /Install and enable a *PHP accelerator* like APC (highly
  recommended). /when checking configuration . Is that the eaccelerator in
  not supported by sf2 ?
  Please advise !

 If you have the latest version - 0.9.6.1 - of eAccelerator, it should
 support PHP 5.3, so it should be alright. Symfony itself does not
 require any bytecode cache, but running a site in production without one
 is a bit sad, because they all provide a free boost in performance, just
 by being present.

 APC is only the recommended one.

 Cheers

 --
 Jordi Boggiano
 @seldaek :: http://seld.be/

 --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


Re: [symfony-users] [symfony2] framework requirements - PHP accelerator not detected ?

2011-03-28 Thread seven seven
OK thanks ! Hmmm so far I was developing/testing all my projects with APC on
my localhost, but when moving to my current production server I had already
installed the eAccelerator (used for an old project) and I was about to make
an update.
Thanks allot for letting me know, as I don't have to go through the all of
the painful way myself :)


On Mon, Mar 28, 2011 at 6:14 PM, Juergen Kober j.kober@space5.dewrote:

  Hi,

 I’ve started using symfony 2 with eaccelerator and ran in some very time
 consuming trouble with Doctrine 2 using annotations.
 You’ll find more info at:
 http://wildlyinaccurate.com/eaccelerator-and-doctrine-2/

 So eaccelerator didn’t work out for me – I deinstalled eaccelerator  and
 installed APC.

 Regards
 Jürgen

 Am 28.03.2011 16:56 Uhr schrieb seven seven unter sapt...@gmail.com:

 Hello,

 I am currently setting up my production server in order to support sf2
 framework. My question is regarding the PHP accelerators, I have already
 installed *eaccelerator *(http://eaccelerator.net/) on my server but I
 still get the *Install and enable a PHP accelerator like APC (highly
 recommended). *when checking configuration . Is that the eaccelerator in
 not supported by sf2 ?
 Please advise !

 Thanks in advance !


   --
 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 unsubscribe from this group, send email to
 symfony-users+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/symfony-users?hl=en




-- 
br
Cezar

-- 
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 unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en