[symfony-users] CMS written in Symfony / Call for help

2008-01-11 Thread Piers Warmers

Hi All,

A quick message to announce a project some of us here at my company  
have been working on.

Steer CMS, a light yet powerful content management system we've put  
together - built entirely on Symfony.

I won't divulge into too much detail here - the first post in the news  
section should explain more:

http://www.steercms-project.org/news/blog/2008/01/03/moo-moo-here-we-are

Still in it's infancy - always more to do :) - but I'll throw it out  
there anyway - I think it will be a nice addition to the Symfony  
community.

Anyway, hope you like it and be sure to send us your thoughts and  
comments.

http://www.steercms-project.org

- Piers

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Fatal error: Class DBMySQL

2008-01-11 Thread Haidarah Husain

I got this error when try to open my application di dev environtment
(http://localhost/myapp_dev.php/)

Fatal error: Class DBMySQL contains 2 abstract methods and must
therefore be declared abstract or implement the remaining methods
(DBAdapter::applyLimit, DBAdapter::random) in
F:\www\sia\lib\vendor\propel\adapter\DBMySQL.php on line 133

I'm using symfony 1.0 from svn and sfPropel13Plugin. This is my first
time using sfPropel13Plugin.
This is just testing, so what I've done are making a model
(propel-13-build-schema, propel-13-build-model), then init-project,
init-app,
And I do propel-13-init-admin.

I edit file web\index.php (change line 5 to define('SF_ENVIRONMENT',
'dev');). (I think it has no effect because I open
http://localhost/myapp_dev.php/)  There's no more editing.
I've try to clear cache but I still got a same result.

And now I have no idea what should I do.

-- 
-husain-

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: CMS written in Symfony / Call for help

2008-01-11 Thread Romain

http://www.steercms-project.org/trac/steercms/
http://www.steercms-project.org/trac/steercms/wiki/License

Yes !!

Thanks a lot for sharing your CMS.




On 11 jan, 14:17, Francois Zaninotto [EMAIL PROTECTED]
project.com wrote:
 Hi Piers,

 This looks very promising. Congratulations for your work!

 One question: I found no trace of the License of your CMS. Is it
 open-source?

 François

 2008/1/11, Piers Warmers [EMAIL PROTECTED]:



  Hi All,

  A quick message to announce a project some of us here at my company
  have been working on.

  Steer CMS, a light yet powerful content management system we've put
  together - built entirely on Symfony.

  I won't divulge into too much detail here - the first post in the news
  section should explain more:

 http://www.steercms-project.org/news/blog/2008/01/03/moo-moo-here-we-are

  Still in it's infancy - always more to do :) - but I'll throw it out
  there anyway - I think it will be a nice addition to the Symfony
  community.

  Anyway, hope you like it and be sure to send us your thoughts and
  comments.

 http://www.steercms-project.org

  - Piers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Ultimate development machine :)

2008-01-11 Thread Lee Bolding

Hi guys,

This isn't really Symfony related, but we were having discussions about
development machines and environments a while back.

I thought you may like to see my current dev machine :)

Details are here :
http://www.leesbian.net/2008/01/10/an-ultra-portable-hackbook-pro/

At this time NOT available in the shops ;)


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfDoctrinePlugin doctrine-build-sql throws exception

2008-01-11 Thread Jonathan Wage
Can we see your schema? Have you configured your databases.yml? Can I see
that too?

- Jon

On Jan 10, 2008 11:47 PM, Jonotron [EMAIL PROTECTED] wrote:


 I'm starting a new project and thought I'd give Doctrine a try (having
 built one project on Propel, I like the looks of Doctrine better).

 I've installed the sfDoctrinePlugin 1.0 branch from svn and the
 doctrine-build-model works fine, but when I try to do doctrine-build-
 sql or doctrine-insert-sql I get an exception.  This is the only info
 I am presented:

 [sfException]


  #0 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
 lib/doctrine/Doctrine/Cli.php(88): Doctrine_Cli-_run(Array)
  #1 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
 data/tasks/sfPakeDoctrine.php(716): Doctrine_Cli-run(Array)
  #2 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
 data/tasks/sfPakeDoctrine.php(220): _call_doctrine_cli('generate-sql')
  #3 [internal function]: run_doctrine_build_sql(Object(pakeTask),
 Array, Array)
  #4 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(218):
 call_user_func_array('run_doctrine_bu...', Array)
  #5 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(181):
 pakeTask-execute(Array, Array)
  #6 /usr/share/php/symfony/vendor/pake/pakeApp.class.php(175):
 pakeTask-invoke(Array, Array)
  #7 /usr/share/php/data/symfony/bin/symfony.php(174): pakeApp-
 run(NULL, NULL, false)
  #8 /usr/bin/symfony(39): include('/usr/share/
 php/...')
  #9 {main}


 Can anyone shed some light on this so I can get a little further and
 actually try Doctrine?

 Thanks
 



-- 
Jonathan Wage
http://www.jwage.com
http://www.centresource.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: CMS written in Symfony / Call for help

2008-01-11 Thread Piers Warmers

Hi François,

 This looks very promising. Congratulations for your work!

Thanks, more work to be done, but we're are very happy with it's  
progress, it was real fun to do in Symfony.

As for the license - yes, it's all open source, released under  a  
standard MIT license.

I'd forgotten to add that page, but here it is:

http://www.steercms-project.org/license

- Piers




On 12/01/2008, at 12:17 AM, Francois Zaninotto wrote:

 Hi Piers,

 This looks very promising. Congratulations for your work!

 One question: I found no trace of the License of your CMS. Is it  
 open-source?

 François

 2008/1/11, Piers Warmers  [EMAIL PROTECTED]:

 Hi All,

 A quick message to announce a project some of us here at my company
 have been working on.

 Steer CMS, a light yet powerful content management system we've put
 together - built entirely on Symfony.

 I won't divulge into too much detail here - the first post in the news
 section should explain more:

 http://www.steercms-project.org/news/blog/2008/01/03/moo-moo-here-we-are

 Still in it's infancy - always more to do :) - but I'll throw it out
 there anyway - I think it will be a nice addition to the Symfony
 community.

 Anyway, hope you like it and be sure to send us your thoughts and
 comments.

 http://www.steercms-project.org

 - Piers






 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: CMS written in Symfony / Call for help

2008-01-11 Thread Francois Zaninotto
Hi Piers,

This looks very promising. Congratulations for your work!

One question: I found no trace of the License of your CMS. Is it
open-source?

François

2008/1/11, Piers Warmers [EMAIL PROTECTED]:


 Hi All,

 A quick message to announce a project some of us here at my company
 have been working on.

 Steer CMS, a light yet powerful content management system we've put
 together - built entirely on Symfony.

 I won't divulge into too much detail here - the first post in the news
 section should explain more:

 http://www.steercms-project.org/news/blog/2008/01/03/moo-moo-here-we-are

 Still in it's infancy - always more to do :) - but I'll throw it out
 there anyway - I think it will be a nice addition to the Symfony
 community.

 Anyway, hope you like it and be sure to send us your thoughts and
 comments.

 http://www.steercms-project.org

 - Piers

 



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: CMS written in Symfony / Call for help

2008-01-11 Thread Piers Warmers


Hi Stefen,

Great news - feel free to email any queries to us.

- Piers


On 11/01/2008, at 11:01 PM, Stefan Koopmanschap wrote:


 Hi,

 Interesting project, I'm going to look at it over the coming days I
 think :)

 Stefan

 On Jan 11, 9:03 am, Piers Warmers [EMAIL PROTECTED] wrote:
 Hi All,

 A quick message to announce a project some of us here at my company
 have been working on.

 Steer CMS, a light yet powerful content management system we've put
 together - built entirely on Symfony.

 I won't divulge into too much detail here - the first post in the  
 news
 section should explain more:

 http://www.steercms-project.org/news/blog/2008/01/03/moo-moo-here-we-are

 Still in it's infancy - always more to do :) - but I'll throw it out
 there anyway - I think it will be a nice addition to the Symfony
 community.

 Anyway, hope you like it and be sure to send us your thoughts and
 comments.

 http://www.steercms-project.org

 - Piers
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Symfony doesn't like DateTime

2008-01-11 Thread Nathan Hawks

Aha!  I ran into this this week too, now I know why.  Thanks, all.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfDoctrinePlugin doctrine-build-sql throws exception

2008-01-11 Thread Jonathan Wage
Hmm, I don't see any problems initially. But, currently their is a bug in
the creation of databases and the connection name must be the same as the
name of the database. But this is not related to your problem.

What kind of server are you running this on? Does it have PDO mysql and all
that installed?

- Jon

On Jan 11, 2008 10:57 AM, Jonotron [EMAIL PROTECTED] wrote:


 my databases.yml file:

 dev:
  myproject:
class:  sfDoctrineDatabase
param:
  dsn:  mysql://dev:[EMAIL PROTECTED]/myProject_trunk


 and my doctrine/schema.yml:
 ---
 # Sympathy project main schema file for doctrine
 Person:
  columns:
person_id:
  notnull:true
  primary:true
  autoincrement:  true
  type:   integer(4)
  unsigned:   true
name:
  notnull:true
  type:   string
  length: 255
content:
  type:   clob


 Thanks again

 J

 On Jan 11, 6:41 am, Jonathan Wage [EMAIL PROTECTED] wrote:
  Can we see your schema? Have you configured your databases.yml? Can I
 see
  that too?
 
  - Jon
 
  On Jan 10, 2008 11:47 PM, Jonotron [EMAIL PROTECTED] wrote:
 
 
 
 
 
   I'm starting a new project and thought I'd give Doctrine a try (having
   built one project on Propel, I like the looks of Doctrine better).
 
   I've installed the sfDoctrinePlugin 1.0 branch from svn and the
   doctrine-build-model works fine, but when I try to do doctrine-build-
   sql or doctrine-insert-sql I get an exception.  This is the only info
   I am presented:
 
   [sfException]
 
#0 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
   lib/doctrine/Doctrine/Cli.php(88): Doctrine_Cli-_run(Array)
#1 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
   data/tasks/sfPakeDoctrine.php(716): Doctrine_Cli-run(Array)
#2 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
   data/tasks/sfPakeDoctrine.php(220): _call_doctrine_cli('generate-sql')
#3 [internal function]: run_doctrine_build_sql(Object(pakeTask),
   Array, Array)
#4 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(218):
   call_user_func_array('run_doctrine_bu...', Array)
#5 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(181):
   pakeTask-execute(Array, Array)
#6 /usr/share/php/symfony/vendor/pake/pakeApp.class.php(175):
   pakeTask-invoke(Array, Array)
#7 /usr/share/php/data/symfony/bin/symfony.php(174): pakeApp-
   run(NULL, NULL, false)
#8 /usr/bin/symfony(39): include('/usr/share/
   php/...')
#9 {main}
 
   Can anyone shed some light on this so I can get a little further and
   actually try Doctrine?
 
   Thanks
 
  --
  Jonathan Wagehttp://www.jwage.comhttp://www.centresource.com
 



-- 
Jonathan Wage
http://www.jwage.com
http://www.centresource.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Symfony talk in London - Feb 29th

2008-01-11 Thread Olivier Mansour

Le 10 janv. 08 à 14:27, Tristan Rivoallan a écrit :


 hi,

 On Jan 10, 2008 2:19 PM, Ian P. Christian [EMAIL PROTECTED] wrote:

 Firstly, I will be covering employment of symfony developers - I  
 would
 like to know from companies using symfony, and how many developers  
 they
 employ

 my company - Clever Age (http://www.clever-age.com) - uses symfony  
 a lot.
 we have approx. 60 developers with ~ 15 people using symfony  
 regularly.

Tristan, you count only the french people. You can add 5 from Clever  
Age Poland

Cheers
Olivier


  in exchange your logo will appear on a slide, free publicity!

 yey :)

 ++
 tristan

 



-- 
Olivier MANSOUR   http://www.clever-age.com
Clever Age Lyon - conseil en architecture technique
GSM: +33 6 11 03 23 77  Tél: +33 4 78 89 46 45

Clever Age vous invite à ses petits déjeuners du Jeudi
http://www.clever-age.com/actualites/petits-dejeuners/

Clever Age recrute sur Paris, Lyon et Bordeaux
http://www.clever-age.com/societe/nous-rejoindre/



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] New symfony website

2008-01-11 Thread sameer

Hi All,

Kindly send me the feedback about my new symfony website. Its my web
resume still few modification left.

www.sameerarora.net

cheers,
Sameer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: CMS written in Symfony / Call for help

2008-01-11 Thread Stefan Koopmanschap

Hi,

Interesting project, I'm going to look at it over the coming days I
think :)

Stefan

On Jan 11, 9:03 am, Piers Warmers [EMAIL PROTECTED] wrote:
 Hi All,

 A quick message to announce a project some of us here at my company
 have been working on.

 Steer CMS, a light yet powerful content management system we've put
 together - built entirely on Symfony.

 I won't divulge into too much detail here - the first post in the news
 section should explain more:

 http://www.steercms-project.org/news/blog/2008/01/03/moo-moo-here-we-are

 Still in it's infancy - always more to do :) - but I'll throw it out
 there anyway - I think it will be a nice addition to the Symfony
 community.

 Anyway, hope you like it and be sure to send us your thoughts and
 comments.

 http://www.steercms-project.org

 - Piers
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfDoctrinePlugin doctrine-build-sql throws exception

2008-01-11 Thread Sadri Sahraoui

hmm, I just can suggest to hard clean the cache and log directories,
delete the generated classes inside lib rewrite your schema, delete
and reinstall the sfDoctrinePlugin directory and finally rebuild your
models and re run *-sql

On Jan 11, 2008 8:21 PM, Jonotron [EMAIL PROTECTED] wrote:

 Just ran phpinfo()

 PDO mysql is installed.  (I'm pretty sure debian's php5-mysql package
 installs PDO)

 On Jan 11, 9:08 am, Sadri Sahraoui [EMAIL PROTECTED] wrote:
  I'd the same problem last week check if pdo_mysql is installed or no !
 
  On Jan 11, 2008 8:06 PM, Jonathan Wage [EMAIL PROTECTED] wrote:
 
   Hmm, I don't see any problems initially. But, currently their is a bug in
   the creation of databases and the connection name must be the same as the
   name of the database. But this is not related to your problem.
 
What kind of server are you running this on? Does it have PDO mysql and 
   all
   that installed?
 
   - Jon
 

   On Jan 11, 2008 10:57 AM, Jonotron [EMAIL PROTECTED]  wrote:
 
my databases.yml file:
 
dev:
 myproject:
   class:  sfDoctrineDatabase
   param:
 dsn:  mysql://dev:[EMAIL PROTECTED]/myProject_trunk
 
and my doctrine/schema.yml:
---
# Sympathy project main schema file for doctrine
Person:
 columns:
   person_id:
 notnull:true
 primary:true
 autoincrement:  true
 type:   integer(4)
 unsigned:   true
   name:
 notnull:true
 type:   string
 length: 255
   content:
 type:   clob
 
Thanks again
 
J
 
On Jan 11, 6:41 am, Jonathan Wage  [EMAIL PROTECTED] wrote:
 Can we see your schema? Have you configured your databases.yml? Can I
   see
 that too?
 
 - Jon
 
 On Jan 10, 2008 11:47 PM, Jonotron  [EMAIL PROTECTED] wrote:
 
  I'm starting a new project and thought I'd give Doctrine a try 
  (having
  built one project on Propel, I like the looks of Doctrine better).
 
  I've installed the sfDoctrinePlugin 1.0 branch from svn and the
  doctrine-build-model works fine, but when I try to do 
  doctrine-build-
  sql or doctrine-insert-sql I get an exception.  This is the only 
  info
  I am presented:
 
  [sfException]
 
   #0 
  /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
  lib/doctrine/Doctrine/Cli.php(88): Doctrine_Cli-_run(Array)
   #1 
  /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
  data/tasks/sfPakeDoctrine.php(716): Doctrine_Cli-run(Array)
   #2 
  /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
  data/tasks/sfPakeDoctrine.php(220): 
  _call_doctrine_cli('generate-sql')
   #3 [internal function]: run_doctrine_build_sql(Object(pakeTask),
  Array, Array)
   #4 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(218):
  call_user_func_array('run_doctrine_bu...', Array)
   #5 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(181):
  pakeTask-execute(Array, Array)
   #6 /usr/share/php/symfony/vendor/pake/pakeApp.class.php(175):
  pakeTask-invoke(Array, Array)
   #7 /usr/share/php/data/symfony/bin/symfony.php(174): pakeApp-
  run(NULL, NULL, false)
   #8 /usr/bin/symfony(39): include('/usr/share/
  php/...')
   #9 {main}
 
  Can anyone shed some light on this so I can get a little further and
  actually try Doctrine?
 
  Thanks
 
 --
 Jonathan Wagehttp://www.jwage.comhttp://www.centresource.com
 
   http://www.centresource.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Issue while setting up sfSimpleForum_PayloadFilterChainPlugin

2008-01-11 Thread Cyril Cottet

Hi there,

When it comes to Symfony, I'm a total newbie using this framework.
Therefore, a couple of days ago, I downloaded the current stable
version of it and started to play around with it. However, I'm now
getting to my first show stopper in my short experience :)

I could successfully setup the sfSimpleForumPlugin and make it work on
my prototype application. So I decided to then focus on implementing
the sfSimpleForum_PayloadFilterChainPlugin in order to make it even
better. However, despite I installed all the dependencies and followed
carefully the plugin README info, I cannot make it work. In fact,
after a successful propel-build-all and a clear-cache, the CLI is
raising an error when I try to refresh the whole data set by
triggering the following command :

symfony propel-load-data frontend

Here is the error message I'm getting then :

Fatal error: Class 'sfSimpleForumPostPayload' not found in XXX\plugins
\sfSimpleForum_PayloadFilterChainPlugin\lib
\sfSimpleForumPostPfcHooks.class.php on line 30

After looking through the online documentation for this plugin, I
found out in the changelogs that the sfSimpleForumPostPayload class
has been taken out from sfSimpleForum_PayloadFilterChainPlugin and
should be now shipped with sfSimpleForumPlugin itself.

I then looked through the different available versions of
sfSimpleForumPlugin on the SVN and could not find any including the
missing class code. Maybe I missed a point so I would be very glad if
any of you could help me with this issue.

For information, here is a summary of my dev environment setup :
Apache 2.2.6
PHP 5.2.5
MySQL 5.0.45
Symfony 1.0.10
sfSimpleForumPlugin 0.6.5
sfPayloadFilterChainPlugin 0.1.0
sfPayloadFilterChain_TextTransformationPlugin 0.2.1
sfSimpleForum_PayloadFilterChainPlugin 0.6.0

Thanks in advance for any support you can provide.

Best regards,

Cyril
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfDoctrinePlugin doctrine-build-sql throws exception

2008-01-11 Thread Jonotron

Just ran phpinfo()

PDO mysql is installed.  (I'm pretty sure debian's php5-mysql package
installs PDO)

On Jan 11, 9:08 am, Sadri Sahraoui [EMAIL PROTECTED] wrote:
 I'd the same problem last week check if pdo_mysql is installed or no !

 On Jan 11, 2008 8:06 PM, Jonathan Wage [EMAIL PROTECTED] wrote:

  Hmm, I don't see any problems initially. But, currently their is a bug in
  the creation of databases and the connection name must be the same as the
  name of the database. But this is not related to your problem.

   What kind of server are you running this on? Does it have PDO mysql and all
  that installed?

  - Jon

  On Jan 11, 2008 10:57 AM, Jonotron [EMAIL PROTECTED]  wrote:

   my databases.yml file:

   dev:
myproject:
  class:  sfDoctrineDatabase
  param:
dsn:  mysql://dev:[EMAIL PROTECTED]/myProject_trunk

   and my doctrine/schema.yml:
   ---
   # Sympathy project main schema file for doctrine
   Person:
columns:
  person_id:
notnull:true
primary:true
autoincrement:  true
type:   integer(4)
unsigned:   true
  name:
notnull:true
type:   string
length: 255
  content:
type:   clob

   Thanks again

   J

   On Jan 11, 6:41 am, Jonathan Wage  [EMAIL PROTECTED] wrote:
Can we see your schema? Have you configured your databases.yml? Can I
  see
that too?

- Jon

On Jan 10, 2008 11:47 PM, Jonotron  [EMAIL PROTECTED] wrote:

 I'm starting a new project and thought I'd give Doctrine a try (having
 built one project on Propel, I like the looks of Doctrine better).

 I've installed the sfDoctrinePlugin 1.0 branch from svn and the
 doctrine-build-model works fine, but when I try to do doctrine-build-
 sql or doctrine-insert-sql I get an exception.  This is the only info
 I am presented:

 [sfException]

  #0 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
 lib/doctrine/Doctrine/Cli.php(88): Doctrine_Cli-_run(Array)
  #1 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
 data/tasks/sfPakeDoctrine.php(716): Doctrine_Cli-run(Array)
  #2 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
 data/tasks/sfPakeDoctrine.php(220): _call_doctrine_cli('generate-sql')
  #3 [internal function]: run_doctrine_build_sql(Object(pakeTask),
 Array, Array)
  #4 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(218):
 call_user_func_array('run_doctrine_bu...', Array)
  #5 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(181):
 pakeTask-execute(Array, Array)
  #6 /usr/share/php/symfony/vendor/pake/pakeApp.class.php(175):
 pakeTask-invoke(Array, Array)
  #7 /usr/share/php/data/symfony/bin/symfony.php(174): pakeApp-
 run(NULL, NULL, false)
  #8 /usr/bin/symfony(39): include('/usr/share/
 php/...')
  #9 {main}

 Can anyone shed some light on this so I can get a little further and
 actually try Doctrine?

 Thanks

--
Jonathan Wagehttp://www.jwage.comhttp://www.centresource.com

  http://www.centresource.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfDoctrinePlugin doctrine-build-sql throws exception

2008-01-11 Thread Jonotron

my databases.yml file:

dev:
  myproject:
class:  sfDoctrineDatabase
param:
  dsn:  mysql://dev:[EMAIL PROTECTED]/myProject_trunk


and my doctrine/schema.yml:
---
# Sympathy project main schema file for doctrine
Person:
  columns:
person_id:
  notnull:true
  primary:true
  autoincrement:  true
  type:   integer(4)
  unsigned:   true
name:
  notnull:true
  type:   string
  length: 255
content:
  type:   clob


Thanks again

J

On Jan 11, 6:41 am, Jonathan Wage [EMAIL PROTECTED] wrote:
 Can we see your schema? Have you configured your databases.yml? Can I see
 that too?

 - Jon

 On Jan 10, 2008 11:47 PM, Jonotron [EMAIL PROTECTED] wrote:





  I'm starting a new project and thought I'd give Doctrine a try (having
  built one project on Propel, I like the looks of Doctrine better).

  I've installed the sfDoctrinePlugin 1.0 branch from svn and the
  doctrine-build-model works fine, but when I try to do doctrine-build-
  sql or doctrine-insert-sql I get an exception.  This is the only info
  I am presented:

  [sfException]

   #0 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
  lib/doctrine/Doctrine/Cli.php(88): Doctrine_Cli-_run(Array)
   #1 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
  data/tasks/sfPakeDoctrine.php(716): Doctrine_Cli-run(Array)
   #2 /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
  data/tasks/sfPakeDoctrine.php(220): _call_doctrine_cli('generate-sql')
   #3 [internal function]: run_doctrine_build_sql(Object(pakeTask),
  Array, Array)
   #4 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(218):
  call_user_func_array('run_doctrine_bu...', Array)
   #5 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(181):
  pakeTask-execute(Array, Array)
   #6 /usr/share/php/symfony/vendor/pake/pakeApp.class.php(175):
  pakeTask-invoke(Array, Array)
   #7 /usr/share/php/data/symfony/bin/symfony.php(174): pakeApp-
  run(NULL, NULL, false)
   #8 /usr/bin/symfony(39): include('/usr/share/
  php/...')
   #9 {main}

  Can anyone shed some light on this so I can get a little further and
  actually try Doctrine?

  Thanks

 --
 Jonathan Wagehttp://www.jwage.comhttp://www.centresource.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] sfDoctrine Attributes

2008-01-11 Thread Michael Smith

I wanted my enum fields to use mysql enums so I created the following
doctrine.yml:

all:
  attributes:
#use mysql enums instead of int
use_native_enum:  true

This didn't effect it. I checked out sfDoctrineDatabase and added
print_r($this-_doctrineConnection-getAttributes()); to the end of
the initialize() and get:

[112] = INNODB
[117] = 1
[140] = 7
[107] =
[101] =
[100] = Doctrine_EventListener_Chain Object

Which shows USE_NATIVE_ENUM (117) being set but if I add print_r($this-
conn-getAttributes()); to the enum creation section section in
Doctrine_DataDict_Mysql the attributes set in doctrine.yml's aren't
there. All I get is:

[112] = INNODB

If I manually add $this-setAttribute(Doctrine::ATTR_USE_NATIVE_ENUM,
true); to the Doctrine_Connection_Mysql class it works fine. Anyone
know what I must be doing wrong in the config?

Thanks,
Michael
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfDoctrine Attributes

2008-01-11 Thread Jonathan Wage
Setting attribute from doctrine.yml is semi-broken and quirky currently. It
is in the process of being addressed. Until then please just set attributes
manually at the code level.

Thanks, Jon

On Jan 11, 2008 2:00 PM, Michael Smith [EMAIL PROTECTED] wrote:


 I wanted my enum fields to use mysql enums so I created the following
 doctrine.yml:

 all:
  attributes:
#use mysql enums instead of int
use_native_enum:  true

 This didn't effect it. I checked out sfDoctrineDatabase and added
 print_r($this-_doctrineConnection-getAttributes()); to the end of
 the initialize() and get:

[112] = INNODB
[117] = 1
[140] = 7
[107] =
[101] =
[100] = Doctrine_EventListener_Chain Object

 Which shows USE_NATIVE_ENUM (117) being set but if I add print_r($this-
 conn-getAttributes()); to the enum creation section section in
 Doctrine_DataDict_Mysql the attributes set in doctrine.yml's aren't
 there. All I get is:

[112] = INNODB

 If I manually add $this-setAttribute(Doctrine::ATTR_USE_NATIVE_ENUM,
 true); to the Doctrine_Connection_Mysql class it works fine. Anyone
 know what I must be doing wrong in the config?

 Thanks,
 Michael
 



-- 
Jonathan Wage
http://www.jwage.com
http://www.centresource.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfDoctrine Attributes

2008-01-11 Thread Michael Smith

Ok. Thanks for the reply. I just wanted to make sure I wasn't going
crazy.

Thanks,
Michael

On Jan 11, 2:04 pm, Jonathan Wage [EMAIL PROTECTED] wrote:
 Setting attribute from doctrine.yml is semi-broken and quirky currently. It
 is in the process of being addressed. Until then please just set attributes
 manually at the code level.

 Thanks, Jon

 On Jan 11, 2008 2:00 PM, Michael Smith [EMAIL PROTECTED] wrote:





  I wanted my enum fields to use mysql enums so I created the following
  doctrine.yml:

  all:
   attributes:
 #use mysql enums instead of int
 use_native_enum:  true

  This didn't effect it. I checked out sfDoctrineDatabase and added
  print_r($this-_doctrineConnection-getAttributes()); to the end of
  the initialize() and get:

 [112] = INNODB
 [117] = 1
 [140] = 7
 [107] =
 [101] =
 [100] = Doctrine_EventListener_Chain Object

  Which shows USE_NATIVE_ENUM (117) being set but if I add print_r($this-
  conn-getAttributes()); to the enum creation section section in
  Doctrine_DataDict_Mysql the attributes set in doctrine.yml's aren't
  there. All I get is:

 [112] = INNODB

  If I manually add $this-setAttribute(Doctrine::ATTR_USE_NATIVE_ENUM,
  true); to the Doctrine_Connection_Mysql class it works fine. Anyone
  know what I must be doing wrong in the config?

  Thanks,
  Michael

 --
 Jonathan Wagehttp://www.jwage.comhttp://www.centresource.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] lucene

2008-01-11 Thread Thierry

Hey,

Its been a while since I posted here.
Any advice at how to go in-depth with zend lucene?
Their manual is nice, but just doesn't cover the harder stuff.


Cheers,
Thierry
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: lucene

2008-01-11 Thread Thierry

One thing in particular has been a surprise to me.
On a Text field a search on 42PFL9632D gives:
42PFL9632D and
37PFL9732D as 100% relevant  results

Maybe this has something to do with the query parsing, or is it just a
bug?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: lucene

2008-01-11 Thread Carl Vondrick

Hey,
Check out sfLucene, which integrates Zend Search Lucene into your
symfony application: http://trac.symfony-project.com/wiki/sfLucenePlugin

For your particular problem, you have to tell Zend Search Lucene to
use a number analyzer.  By default, Zend Search Lucene does not index
numbers.

On Jan 11, 3:15 pm, Thierry [EMAIL PROTECTED] wrote:
 One thing in particular has been a surprise to me.
 On a Text field a search on 42PFL9632D gives:
 42PFL9632D and
 37PFL9732D as 100% relevant  results

 Maybe this has something to do with the query parsing, or is it just a
 bug?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
symfony users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: sfDoctrinePlugin doctrine-build-sql throws exception

2008-01-11 Thread Jonotron

Well, I nuked everything, started from scratch again, re-init my
symfony project (1.0.10), used sfDoctrinePlugin from here:
http://svn.symfony-project.com/plugins/sfDoctrinePlugin/branches/1.0,
created a very simple schema:

Person:
  columns:
title:
  type: string(255)

doctrine-build-model works fine.

doctrine-build-sql throws exactly as above.




On Jan 11, 9:32 am, Sadri Sahraoui [EMAIL PROTECTED] wrote:
 hmm, I just can suggest to hard clean the cache and log directories,
 delete the generated classes inside lib rewrite your schema, delete
 and reinstall the sfDoctrinePlugin directory and finally rebuild your
 models and re run *-sql

 On Jan 11, 2008 8:21 PM, Jonotron [EMAIL PROTECTED] wrote:



  Just ran phpinfo()

  PDO mysql is installed.  (I'm pretty sure debian's php5-mysql package
  installs PDO)

  On Jan 11, 9:08 am, Sadri Sahraoui [EMAIL PROTECTED] wrote:
   I'd the same problem last week check if pdo_mysql is installed or no !

   On Jan 11, 2008 8:06 PM, Jonathan Wage [EMAIL PROTECTED] wrote:

Hmm, I don't see any problems initially. But, currently their is a bug 
in
the creation of databases and the connection name must be the same as 
the
name of the database. But this is not related to your problem.

 What kind of server are you running this on? Does it have PDO mysql 
and all
that installed?

- Jon

On Jan 11, 2008 10:57 AM, Jonotron [EMAIL PROTECTED]  wrote:

 my databases.yml file:

 dev:
  myproject:
class:  sfDoctrineDatabase
param:
  dsn:  mysql://dev:[EMAIL PROTECTED]/myProject_trunk

 and my doctrine/schema.yml:
 ---
 # Sympathy project main schema file for doctrine
 Person:
  columns:
person_id:
  notnull:true
  primary:true
  autoincrement:  true
  type:   integer(4)
  unsigned:   true
name:
  notnull:true
  type:   string
  length: 255
content:
  type:   clob

 Thanks again

 J

 On Jan 11, 6:41 am, Jonathan Wage  [EMAIL PROTECTED] wrote:
  Can we see your schema? Have you configured your databases.yml? Can 
  I
see
  that too?

  - Jon

  On Jan 10, 2008 11:47 PM, Jonotron  [EMAIL PROTECTED] wrote:

   I'm starting a new project and thought I'd give Doctrine a try 
   (having
   built one project on Propel, I like the looks of Doctrine better).

   I've installed the sfDoctrinePlugin 1.0 branch from svn and the
   doctrine-build-model works fine, but when I try to do 
   doctrine-build-
   sql or doctrine-insert-sql I get an exception.  This is the only 
   info
   I am presented:

   [sfException]

#0 
   /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
   lib/doctrine/Doctrine/Cli.php(88): Doctrine_Cli-_run(Array)
#1 
   /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
   data/tasks/sfPakeDoctrine.php(716): Doctrine_Cli-run(Array)
#2 
   /home/jonotron/workspace/myProject-trunk/plugins/sfDoctrinePlugin/
   data/tasks/sfPakeDoctrine.php(220): 
   _call_doctrine_cli('generate-sql')
#3 [internal function]: run_doctrine_build_sql(Object(pakeTask),
   Array, Array)
#4 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(218):
   call_user_func_array('run_doctrine_bu...', Array)
#5 /usr/share/php/symfony/vendor/pake/pakeTask.class.php(181):
   pakeTask-execute(Array, Array)
#6 /usr/share/php/symfony/vendor/pake/pakeApp.class.php(175):
   pakeTask-invoke(Array, Array)
#7 /usr/share/php/data/symfony/bin/symfony.php(174): pakeApp-
   run(NULL, NULL, false)
#8 /usr/bin/symfony(39): include('/usr/share/
   php/...')
#9 {main}

   Can anyone shed some light on this so I can get a little further 
   and
   actually try Doctrine?

   Thanks

  --
  Jonathan Wagehttp://www.jwage.comhttp://www.centresource.com

http://www.centresource.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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---