[symfony-users] Re: Recommended distibution for Symfony

2009-02-12 Thread Johannes Frandsen
I have ben using Gentoo for 2 years now super stable and always up to date with its php versions. Granted it may be a bit difficult as a distribution if you are use to ubuntu, but I guess thats the price of being able to customize. If you need a easy start with gentoo try out Sabayon

[symfony-users] Doctrine admin generator edit resets fields that are not displayed

2009-02-11 Thread Johannes Frandsen
I have this generator config: generator: class: sfDoctrineGenerator param: model_class: Products theme: admin non_verbose_templates: true with_show: false singular: ~ plural:~ route_prefix:

[symfony-users] Re: [SOLVED] Doctrine admin generator edit resets fields that are not displayed

2009-02-11 Thread Johannes Frandsen
Hi Bernhard I could hug you... everything works perfect now. Joe On 11/02/2009, at 10.46, Bernhard Schussek wrote: Hi Joe, Did you unset the other columns in the ProductsForm? Your ProductsForm::configure() method should look something like: public function configure() {

[symfony-users] Problem with doctrine admin generator in 1.2.4

2009-02-11 Thread Johannes Frandsen
I have recently upgraded to 1.2.4 and so far everything has worked quite well. When I tried generate a admin module I ran in to a strange problem though. Having this doctrine schema: Products: columns: id: primary: true autoincrement: true type: integer ean:

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Johannes Frandsen
I have already done that still no dice. any other suggestions? Joe On 04/01/2009, at 23.58, Lee Bolding wrote: cache and log need to be 777 *recursively* chmod -R 777 cache chmod -R 777 log That should fix it :) On 4 Jan 2009, at 19:02, Johannes Frandsen wrote: I get

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Johannes Frandsen
That should fix it :) On 4 Jan 2009, at 19:02, Johannes Frandsen wrote: I get this error when I try to run my symfony project on a shared host: Fatal error: Uncaught exception 'sfCacheException' with message 'Failed to make cache directory /var/www/html/greenoak.dk/cache/ frontend/dev/config

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Johannes Frandsen
The funny thing is. that if the following lines is added to the vhost file: php_admin_flag safe_mode off php_admin_value open_basedir / php_admin_flag allow_url_fopen On The page works. But, somewhat understandingly, I will not be allowed to have these settings

[symfony-users] Re: Symfony on shared host

2009-01-05 Thread Johannes Frandsen
I have tried to freeze my project several times with different versions of symfony but I have never gotten it to work. It always ends of with the script crashing... if i run it with my current version (1.1.6) it crashes with this error: symfony project:freeze /usr/share/php ... ... ...

[symfony-users] Symfony on shared host

2009-01-04 Thread Johannes Frandsen
I get this error when I try to run my symfony project on a shared host: Fatal error: Uncaught exception 'sfCacheException' with message 'Failed to make cache directory /var/www/html/greenoak.dk/cache/ frontend/dev/config while generating cache for configuration file

[symfony-users] SfDoctrineplugin problems

2008-06-03 Thread Johannes Frandsen
Hey I have tried following the guide here: http://trac.symfony-project.com/wiki/sfDoctrinePlugin but although I don't get any errors no model is created, except for the sfGuardDoctrinePlugin model which works fine. Is this guide outdated or? I'm running symfony version 1.1.0-rc1 and latest

[symfony-users] sfGuardDoctrine error - compat_10

2008-05-30 Thread Johannes Frandsen
Hi Im trying to setup sfGuardDoctrine. The frontend part works nice, but when I try to setup the modules in the backend I get this: [sfConfigurationException] You must set compat_10 to true if you want to use this method which is deprecated. stack trace * at () in

[symfony-users] sfGuardDoctrine - how do I check that I'm logged in, in my template

2008-05-08 Thread Johannes Frandsen
Hi I have now installed sfGuardDoctrine and the login feature seems to work. I would however like it to be optional to login, and show you some information based on whether you are logged in or not. How is this accomplished? If i try to access $sf_user-getGuardUser()-getUsername() when I'm

[symfony-users] sfGuardDoctrine and sfDoctrineSimpleCMSPlugin

2008-05-05 Thread Johannes Frandsen
Hey Do anybody have any experience with these plugins (sfGuardDoctrine and sfDoctrineSimpleCMSPlugin) in symfony version 1.1.0-BETA4 I'm planning to give them a going unless someone directly would advise against it. I know they are both in beta and alpha, but I really don't need any

[symfony-users] Re: sfGuardDoctrine and sfDoctrineSimpleCMSPlugin

2008-05-05 Thread Johannes Frandsen
On 5 May 2008, at 09:47, Jonathan Wage wrote: I've been working on these plugins. They all are working pretty well. You can give them a try and let me know any issues you come across and I'll take care of it. - Jon Hey Jon Sounds good... here is the first little hiccup: I tried

[symfony-users] Re: sfGuardDoctrine and sfDoctrineSimpleCMSPlugin

2008-05-05 Thread Johannes Frandsen
Hey Jon I switched to trunk for both plugins and it now seems to work. On http://trac.symfony-project.com/wiki/sfSimpleCMSPlugin it says you can't run this plugin on a sqlite database. Is the same the case for sfDoctrineSimpleCMSPlugin? Joe On 5 May 2008, at 10:47, Jonathan Wage wrote:

[symfony-users] Re: sfDoctrinePlugin on symfony 1.1

2008-04-27 Thread Johannes Frandsen
and sfDoctrine, so I'm not sure if there are any special steps, but I don't think there are. I assume you've cleared your cache so that symfony adds the Doctrine paths to the autoloader? Jay Johannes Frandsen wrote: Hey again I tried checking out from this url: http://svn.symfony

[symfony-users] Re: sfDoctrinePlugin on symfony 1.1

2008-04-27 Thread Johannes Frandsen
and sfDoctrine, so I'm not sure if there are any special steps, but I don't think there are. I assume you've cleared your cache so that symfony adds the Doctrine paths to the autoloader? Jay Johannes Frandsen wrote: Hey again I tried checking out from this url: http://svn.symfony

[symfony-users] Re: sfDoctrinePlugin on symfony 1.1

2008-04-25 Thread Johannes Frandsen
symfony1.1 with doctrine is a bit of a mission, but it certainly has it's benefits. You have to use a special version of sfdoctrineplugin to work with 1.1, i think we used the trunk version from symfony plugins sfDoctrinePlugin via svn. Hopefully that works for ya ;) On Apr 25, 9:37 am, Johannes