[symfony-users] Need help for symfony eclipse editor plugin. How to configure.

2009-04-06 Thread parekhjp

Hi,

I come to know that eclipse editor is supporting symfony framework. So
it is very useful tool for developer. As we can debug at same time.
But I need help to configure symfony plugin in eclipse editor. So if
anyone has idea about it. Please reply.

Thanks in advance
--~--~-~--~~~---~--~~
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: sym1.2 Admin Generator Issue with Form Filter not found

2009-04-06 Thread Arnold Ispan
You're welcome , glad that i've helped you ;)

--~--~-~--~~~---~--~~
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: Column type VARCHAR BINARY

2009-04-06 Thread andreas

Thanks, it works.

Yes, it breaks portability, but it does so with or without propel... and 
it's changed with one line of code, if necessary.

Cheers,
Andreas

FÁSI Gábor schrieb:
 You can use sqlType in your schema, but you may lose portability this way.
 
 On Fri, Apr 3, 2009 at 11:31, andreas inputrequi...@googlemail.com wrote:
 Hi all,

 unfortunately, MySQL VARCHAR columns are not case-sensitive by default.
 To make them case-sensitive, columns need to be defined like this:

 'mycolumns' VARCHAR(16) BINARY

 I couldn't find a way to define this in my schema. Is there any way at
 all to define VARCHAR columns like this in Propel, or do I need to edit
 my generated SQL and insert it manually? Is there an option to do this
 in Doctrine?

 Thanks,
 Andreas

 
  

--~--~-~--~~~---~--~~
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] AJAX drag-and-drop issue

2009-04-06 Thread Gareth McCumskey
Hi guys,

I have a small problem with an app we are making. i need to make a draggable
area that can recieve items dragged from elsewhere on the page. The problem
is that the area that can be dropped into needs to scroll with the page and
therefore has been set in the CSS as position: fixed to allow it to move
down the page as the user scrolls. Unfortuantely it seems that the
drop_receiving_element() helper that sets a div to recieve drops doesn't
take this into account and if I scroll down and try dropping on one region
another region that woul dhave recieved the drop had I not scrolled recieves
it instead.

A better way to describe it is like this:

- Imagine three droppable regions stacked under each other. If I drag and
drop into one the correct one gets updated no problem
- I scroll down a small distance so that the droppable region for region 2
is now sitting where region 3 used to be before scrolling because of
position: fixed in the CSS
- I drag and attempt to drop into region 2
- Region 3 gets updated with the content dropped instead of region 2 as
intended.
- If I scroll a bit further down so that none of the regions overlap the
original page area they covered before any scrolling and drag drop results
in nothing happening

Hope someone can help as I am trying to figure this out with no luck

Gareth

--~--~-~--~~~---~--~~
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: Need help for symfony eclipse editor plugin. How to configure.

2009-04-06 Thread Orkan

are you talking about (outdated) symfoclipse plugin?

PS. you can check this out:
http://trac.symfony-project.org/wiki/SymfonyWithEclipseBasedEditors
http://tohenk.wordpress.com/2008/10/13/integrating-symfony-into-eclipse-pdt/

On Apr 6, 8:35 am, parekhjp parek...@gmail.com wrote:
 Hi,

 I come to know that eclipse editor is supporting symfony framework. So
 it is very useful tool for developer. As we can debug at same time.
 But I need help to configure symfony plugin in eclipse editor. So if
 anyone has idea about it. Please reply.

 Thanks in advance
--~--~-~--~~~---~--~~
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] Stack overflow at line: 1800

2009-04-06 Thread DeepakBhatia

Hi,

When I include the Javascript calender

?php echo input_date_tag('enddate', $today, array('rich' =true)) ?

I get the error Stack overflow at line: 1800.

Kindly help me in resolving this error.

Regards

Deepak Bhatia
--~--~-~--~~~---~--~~
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: Default values sfWidgetFormPropelChoiceMany

2009-04-06 Thread cancausecancer

On Mar 18, 11:18 am, HAUSa
jeroen_heeft_behoefte_aan_r...@hotmail.com wrote:
 How can I set default values in a sfWidgetFormPropelChoiceMany form
 widget? For some reason, setDefaults() doesn't work. I don't get an
 error message, the default values are just nog checked.

To do it I created a class to extend sfWidgetFormPropelChoiceMany and
changed the render() method to use an array of id's to decide which to
flag as checked, then in the new sfWidgetForm...() I pass an array of
[id] = 1's to say which I want checked.
--~--~-~--~~~---~--~~
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: Symfony on Windows - cache write permission

2009-04-06 Thread Tomasz Ignatiuk

I deinstalled wamp server 2.0c and installed new one, 2.0g and it
works. I don't know what was the problem :(
--~--~-~--~~~---~--~~
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] Filter not executing...

2009-04-06 Thread Mark Smith

Hi,

I am having a problem with a custom filter not executing. It works on
my dev machine, but after deploying to another machine I am getting
exceptions thrown. The problem seems to be that one of my custom
filters is not being executed.

The filter is defined correctly in apps\frontend\config\filters.yml
The cache has been cleared, yet when i set a breakpoint on the execute
method of my filter on the other pc it never stops.

The template is being rendered, so my understanding is that it must be
breaking somewhere after my filter *should* have executed.

Any ideas for where I can start looking as to why my filter is not
being triggered on the other pc?

(The environments are both XP, PHP 5.2.8. Apache 2.2.)

Thanks for any help.


--~--~-~--~~~---~--~~
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: Filter not executing...

2009-04-06 Thread Lee Bolding

Without knowing what your filter does, it's pretty difficult to  
diagnose.

I'd start by adding a log method into your filter, and logging at the  
beginning of all of it's methods. You should then be able to see in  
the log messages in the web debug toolbar if the filter ever get  
instantiated.

However, this does sound like a pretty basic error - are you sure you  
copied the filter to the second machine?

On 6 Apr 2009, at 11:09, Mark Smith wrote:


 Hi,

 I am having a problem with a custom filter not executing. It works on
 my dev machine, but after deploying to another machine I am getting
 exceptions thrown. The problem seems to be that one of my custom
 filters is not being executed.

 The filter is defined correctly in apps\frontend\config\filters.yml
 The cache has been cleared, yet when i set a breakpoint on the execute
 method of my filter on the other pc it never stops.

 The template is being rendered, so my understanding is that it must be
 breaking somewhere after my filter *should* have executed.

 Any ideas for where I can start looking as to why my filter is not
 being triggered on the other pc?

 (The environments are both XP, PHP 5.2.8. Apache 2.2.)

 Thanks for any help.


 


--~--~-~--~~~---~--~~
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] Problem in firefox

2009-04-06 Thread Pooja

Hi all
the code below works fine in IE but doesnot work in Firefox.Plz help
fix it
script
document.getElementById(login).style.display=none;
document.getElementById(welcomemsg).style.visibility=hidden;
/script

--~--~-~--~~~---~--~~
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: Problem in firefox

2009-04-06 Thread Gareth McCumskey
Why not use Protoype and let it worry about the browser compliancy issues?

Element.hide('login');Element.hide('welcomemsg');

On Mon, Apr 6, 2009 at 2:32 PM, Pooja poojau...@gmail.com wrote:


 Hi all
 the code below works fine in IE but doesnot work in Firefox.Plz help
 fix it
 script
document.getElementById(login).style.display=none;
document.getElementById(welcomemsg).style.visibility=hidden;
 /script

 


--~--~-~--~~~---~--~~
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: Problem in firefox

2009-04-06 Thread Pooja

hi Gareth,
I tried the code but it is still not working in Firefox.

Regards
Pooja


On Apr 6, 5:43 pm, Gareth McCumskey gmccums...@gmail.com wrote:
 Why not use Protoype and let it worry about the browser compliancy issues?

 Element.hide('login');Element.hide('welcomemsg');

 On Mon, Apr 6, 2009 at 2:32 PM, Pooja poojau...@gmail.com wrote:

  Hi all
  the code below works fine in IE but doesnot work in Firefox.Plz help
  fix it
  script
         document.getElementById(login).style.display=none;
         document.getElementById(welcomemsg).style.visibility=hidden;
  /script
--~--~-~--~~~---~--~~
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] has anyone used shared hosting with PDO compiled as shared lib ever used sym1.2 in CLI ?

2009-04-06 Thread xhe

I found, my hosting provider compiled php with PDO as shared library,
maybe that is why backend CLI can not find the PDO class.

In web environment, if I include these:
extension=pdo.so in my php.ini, PDO class can be easily imported and
used in the website.
But in CLI, this line can not import PDO class and script can not find
it at all.

Please, anyone if using shared hosting service with PDO compiled as
shared library, can you use symfony 1.2 task in CLI environment? If
so, how do you use it?

Thanks
--~--~-~--~~~---~--~~
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: Problem in firefox

2009-04-06 Thread Gareth McCumskey
Do you use the prototype.js library in your symfony application?

On Mon, Apr 6, 2009 at 2:53 PM, Pooja poojau...@gmail.com wrote:


 hi Gareth,
 I tried the code but it is still not working in Firefox.

 Regards
 Pooja


 On Apr 6, 5:43 pm, Gareth McCumskey gmccums...@gmail.com wrote:
  Why not use Protoype and let it worry about the browser compliancy
 issues?
 
  Element.hide('login');Element.hide('welcomemsg');
 
  On Mon, Apr 6, 2009 at 2:32 PM, Pooja poojau...@gmail.com wrote:
 
   Hi all
   the code below works fine in IE but doesnot work in Firefox.Plz help
   fix it
   script
  document.getElementById(login).style.display=none;
  document.getElementById(welcomemsg).style.visibility=hidden;
   /script
 


--~--~-~--~~~---~--~~
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: Filter not executing...

2009-04-06 Thread Mark Smith

Yes it's definitely copied.

The filter is fairly simple, it just copies some common data onto the
current context.

Actually. I've just noticed that the config files are not being
rebuild under: \cache\frontend\prod\config

However the symfony paths are correct, because it IS able to render
some pages ok, and the php symfony cc command completes without
error...

On Apr 6, 1:37 pm, Lee Bolding l...@leesbian.net wrote:
 Without knowing what your filter does, it's pretty difficult to  
 diagnose.

 I'd start by adding a log method into your filter, and logging at the  
 beginning of all of it's methods. You should then be able to see in  
 the log messages in the web debug toolbar if the filter ever get  
 instantiated.

 However, this does sound like a pretty basic error - are you sure you  
 copied the filter to the second machine?

 On 6 Apr 2009, at 11:09, Mark Smith wrote:



  Hi,

  I am having a problem with a custom filter not executing. It works on
  my dev machine, but after deploying to another machine I am getting
  exceptions thrown. The problem seems to be that one of my custom
  filters is not being executed.

  The filter is defined correctly in apps\frontend\config\filters.yml
  The cache has been cleared, yet when i set a breakpoint on the execute
  method of my filter on the other pc it never stops.

  The template is being rendered, so my understanding is that it must be
  breaking somewhere after my filter *should* have executed.

  Any ideas for where I can start looking as to why my filter is not
  being triggered on the other pc?

  (The environments are both XP, PHP 5.2.8. Apache 2.2.)

  Thanks for any help.
--~--~-~--~~~---~--~~
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: Problem in firefox

2009-04-06 Thread Jérome Vandenende
It's just me or this doesn't concern Symfony at all?
Pooja, if you search on Google, you'll find this:
http://forums.digitalpoint.com/showthread.php?t=543418

On Mon, Apr 6, 2009 at 2:32 PM, Pooja poojau...@gmail.com wrote:


 Hi all
 the code below works fine in IE but doesnot work in Firefox.Plz help
 fix it
 script
document.getElementById(login).style.display=none;
document.getElementById(welcomemsg).style.visibility=hidden;
 /script

 


--~--~-~--~~~---~--~~
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] SfPropelRoute and I18n

2009-04-06 Thread Yoni Alhadeff

Hello everybody,

I get a small question about SfPropelRoute and I18n

I don't succeed to create a route like that

activity_show:
  url: /activity/:title
  class:   sfPropelRoute
  options: { model: EtActivity, type: object, method_for_criteria:
doSelectWithI18n}
  param:   { module: activities, action: show }



but so there is nothing criteria title='%s'

so I tried to do like this

  options: { model: EtActivity, type: object, 


instead of

  options: { model: EtActivityI18n, type: object, 



but so I get the following error.
Unable to find the EtActivityI18nPeer object with the following parameters
array ( 'title' = 'Salsa',)).


I want to get the url
Quote:

if it's en site/activity/race
if it's fr site/activity/course


is it possible ? someone has an idea, or guidelines ?

Thanks for your help

Yoni


--~--~-~--~~~---~--~~
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: Stack overflow at line: 1800

2009-04-06 Thread Gareth McCumskey
Is there perchance an answer here that helps?
http://www.google.co.za/search?hl=enclient=firefox-arls=com.ubuntu%3Aen-US%3Aunofficialhs=kjUq=javascript+calendar+%22Stack+overflow%22btnG=Searchmeta=

On Mon, Apr 6, 2009 at 11:22 AM, DeepakBhatia toreachdee...@gmail.comwrote:


 Hi,

 When I include the Javascript calender

 ?php echo input_date_tag('enddate', $today, array('rich' =true)) ?

 I get the error Stack overflow at line: 1800.

 Kindly help me in resolving this error.

 Regards

 Deepak Bhatia
 


--~--~-~--~~~---~--~~
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: Symfony CMS Plugins

2009-04-06 Thread Stefan Koopmanschap

This may be a stupid question, but since I've mentioned this at
SymfonyCamp last year as well... ;)

why not use DbFinderPlugin for this?

On Tue, Mar 31, 2009 at 4:40 AM, Jonathan Wage jonw...@gmail.com wrote:
 I won't develop a version for Propel but someone is welcome to form my
 version and convert it for Propel.

 - Jon

 On Mon, Mar 30, 2009 at 9:25 PM, Daniel Tang tang_cheew...@hotmail.com
 wrote:

 Hi,

 Will there be a version of http://www.sympalphp.org/ for Propel be out
 soon?

 I think there are many CMS system out there, the greatest challenge is
 to understand how to use them seamless with the framework. best to
 have a book or documentation similar to Jobeet...

 Symfony go for it!

 Thanks

 On Mar 30, 4:49 pm, Jonathan Wage jonw...@gmail.com wrote:
  I filled out sfSympalPlugin a while back.
 
  You can check out a demo of sympal here:http://www.sympalphp.org/
 
  - Jon
 
  On Wed, Mar 11, 2009 at 12:43 AM, isleshocky77
  sost...@sowebdesigns.comwrote:
 
 
 
 
 
 
 
   So I've been noticing more and more CMS Plugins popup for symfony. I
   was wondering if anyone knew enough about all of them to make a chart
   in the wiki comparing all the different implementations.
 
  http://trac.symfony-project.org/wiki/CMSPlugins
 
   I decided to start the page and see if anyone could add to it. I don't
   know a lot about any of them accept sfDoctrineCMSPlugin which I've
   work a little with.
 
   Thanks in advance for anyone who can help out with this.
 
   --
   Stephen Ostrow sost...@sowebdesigns.com
 
  --
  Jonathan H. Wage
  Open Source Software Developer 
  Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://www.symfony-project.org-
  Hide quoted text -
 
  - Show quoted text -





 --
 Jonathan H. Wage
 Open Source Software Developer  Evangelist
 http://www.jwage.com
 http://www.doctrine-project.org
 http://www.symfony-project.org

 


--~--~-~--~~~---~--~~
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: Symfony CMS Plugins

2009-04-06 Thread Lee Bolding

+1

what he said.

On 6 Apr 2009, at 14:54, Stefan Koopmanschap wrote:


 This may be a stupid question, but since I've mentioned this at
 SymfonyCamp last year as well... ;)

 why not use DbFinderPlugin for this?

 On Tue, Mar 31, 2009 at 4:40 AM, Jonathan Wage jonw...@gmail.com  
 wrote:
 I won't develop a version for Propel but someone is welcome to form  
 my
 version and convert it for Propel.

 - Jon

 On Mon, Mar 30, 2009 at 9:25 PM, Daniel Tang tang_cheew...@hotmail.com 
 
 wrote:

 Hi,

 Will there be a version of http://www.sympalphp.org/ for Propel be  
 out
 soon?

 I think there are many CMS system out there, the greatest  
 challenge is
 to understand how to use them seamless with the framework. best to
 have a book or documentation similar to Jobeet...

 Symfony go for it!

 Thanks

 On Mar 30, 4:49 pm, Jonathan Wage jonw...@gmail.com wrote:
 I filled out sfSympalPlugin a while back.

 You can check out a demo of sympal here:http://www.sympalphp.org/

 - Jon

 On Wed, Mar 11, 2009 at 12:43 AM, isleshocky77
 sost...@sowebdesigns.comwrote:







 So I've been noticing more and more CMS Plugins popup for  
 symfony. I
 was wondering if anyone knew enough about all of them to make a  
 chart
 in the wiki comparing all the different implementations.

 http://trac.symfony-project.org/wiki/CMSPlugins

 I decided to start the page and see if anyone could add to it. I  
 don't
 know a lot about any of them accept sfDoctrineCMSPlugin which I've
 work a little with.

 Thanks in advance for anyone who can help out with this.

 --
 Stephen Ostrow sost...@sowebdesigns.com

 --
 Jonathan H. Wage
 Open Source Software Developer 
 Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://www.symfony-project.org
  
 -
 Hide quoted text -

 - Show quoted text -





 --
 Jonathan H. Wage
 Open Source Software Developer  Evangelist
 http://www.jwage.com
 http://www.doctrine-project.org
 http://www.symfony-project.org




 


--~--~-~--~~~---~--~~
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: Symfony CMS Plugins

2009-04-06 Thread Thomas Rabaix
Methods signatures and features from Doctrine are not compatible with
Propel.


On Mon, Apr 6, 2009 at 4:36 PM, Lee Bolding l...@leesbian.net wrote:


 +1

 what he said.

 On 6 Apr 2009, at 14:54, Stefan Koopmanschap wrote:

 
  This may be a stupid question, but since I've mentioned this at
  SymfonyCamp last year as well... ;)
 
  why not use DbFinderPlugin for this?
 
  On Tue, Mar 31, 2009 at 4:40 AM, Jonathan Wage jonw...@gmail.com
  wrote:
  I won't develop a version for Propel but someone is welcome to form
  my
  version and convert it for Propel.
 
  - Jon
 
  On Mon, Mar 30, 2009 at 9:25 PM, Daniel Tang tang_cheew...@hotmail.com
  
  wrote:
 
  Hi,
 
  Will there be a version of http://www.sympalphp.org/ for Propel be
  out
  soon?
 
  I think there are many CMS system out there, the greatest
  challenge is
  to understand how to use them seamless with the framework. best to
  have a book or documentation similar to Jobeet...
 
  Symfony go for it!
 
  Thanks
 
  On Mar 30, 4:49 pm, Jonathan Wage jonw...@gmail.com wrote:
  I filled out sfSympalPlugin a while back.
 
  You can check out a demo of sympal here:http://www.sympalphp.org/
 
  - Jon
 
  On Wed, Mar 11, 2009 at 12:43 AM, isleshocky77
  sost...@sowebdesigns.comwrote:
 
 
 
 
 
 
 
  So I've been noticing more and more CMS Plugins popup for
  symfony. I
  was wondering if anyone knew enough about all of them to make a
  chart
  in the wiki comparing all the different implementations.
 
  http://trac.symfony-project.org/wiki/CMSPlugins
 
  I decided to start the page and see if anyone could add to it. I
  don't
  know a lot about any of them accept sfDoctrineCMSPlugin which I've
  work a little with.
 
  Thanks in advance for anyone who can help out with this.
 
  --
  Stephen Ostrow sost...@sowebdesigns.com
 
  --
  Jonathan H. Wage
  Open Source Software Developer 
  Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://
 www.symfony-project.org
  -
  Hide quoted text -
 
  - Show quoted text -
 
 
 
 
 
  --
  Jonathan H. Wage
  Open Source Software Developer  Evangelist
  http://www.jwage.com
  http://www.doctrine-project.org
  http://www.symfony-project.org
 
 
 
 
  


 



-- 
Thomas Rabaix
http://rabaix.net

--~--~-~--~~~---~--~~
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] Are there anyway to avoid using PDO in symfony1.2

2009-04-06 Thread xhe

I wondered if there are any possibility to avoid using PDO in
symfony1.2? Any configuration setting that can change this? Like the
database access in symfony1.0.
I asked this because my provider does not allow me to use PDO in CLI,
so I want to downgrade to previous DB connection method.
Thanks for your help
--~--~-~--~~~---~--~~
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: Are there anyway to avoid using PDO in symfony1.2

2009-04-06 Thread Eno

On Apr 6, 12:12 pm, xhe hexuf...@gmail.com wrote:

 I wondered if there are any possibility to avoid using PDO in
 symfony1.2? Any configuration setting that can change this? Like the
 database access in symfony1.0.

I think both Propel and Doctrine use PDO (this is why you need PHP
5.2.4 or higher).


--


--~--~-~--~~~---~--~~
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: Symfony CMS Plugins

2009-04-06 Thread Thomas Rabaix
DbFinderPlugin finds object ;) so the finder will return Doctrine_Record
or BasePropel object.

On Mon, Apr 6, 2009 at 6:18 PM, Lee Bolding l...@leesbian.net wrote:


 Isn't that the whole point of DbFinderPlugin?

 On 6 Apr 2009, at 15:48, Thomas Rabaix wrote:

  Methods signatures and features from Doctrine are not compatible
  with Propel.
 
 
  On Mon, Apr 6, 2009 at 4:36 PM, Lee Bolding l...@leesbian.net wrote:
 
  +1
 
  what he said.
 
  On 6 Apr 2009, at 14:54, Stefan Koopmanschap wrote:
 
  
   This may be a stupid question, but since I've mentioned this at
   SymfonyCamp last year as well... ;)
  
   why not use DbFinderPlugin for this?

 



-- 
Thomas Rabaix
http://rabaix.net

--~--~-~--~~~---~--~~
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] 1.0-1.1-1.2

2009-04-06 Thread Eno

Im working on upgrading 1.0 project to 1.2. So far I have upgraded to
1.1 and ran into a large brick wall:

Fatal error: Uncaught exception 'sfException' with message 'The
default context does not exist.' in /usr/local/lib/php/symfony/util/
sfContext.class.php:115

I have disabled all my plugins.

Not sure how to go about debugging this?

Also, is it best to get the application working in 1.1 before
upgrading to 1.2 or should I make the jump to 1.2 now and start
debugging there?


--~--~-~--~~~---~--~~
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] Connecting DB2 with Symfony

2009-04-06 Thread Guilherme

Hi everyone!
I'm having some problems to use symfony + DB2 + Doctrine

When i run the following comand:
   symfony doctrine-build-schema

This error message appers:
 SQLSTATE[42S02]: Base table or view not found: -204 [IBM][CLI Driver][DB2/LINU
 SQL0204N  DB2INST1.SYSOBJECTS is an undefined name.  SQLSTATE=42704
 (SQLExecute[-204] at ext\pdo_odbc\odbc_stmt.c:133)

I search and discovered that the table SYSOBJECTS is for the Microsoft
SQL Server, and the
IBM DB2 don't have it.

Can someone help me, please?
Thank you very much

--~--~-~--~~~---~--~~
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: Symfony CMS Plugins

2009-04-06 Thread Lee Bolding

It does more than just find - read the docs ;)

http://www.symfony-project.org/plugins/DbFinderPlugin/1_1_0?tab=plugin_readme

On 6 Apr 2009, at 17:26, Thomas Rabaix wrote:

 DbFinderPlugin finds object ;) so the finder will return  
 Doctrine_Record or BasePropel object.

 On Mon, Apr 6, 2009 at 6:18 PM, Lee Bolding l...@leesbian.net wrote:

 Isn't that the whole point of DbFinderPlugin?

 On 6 Apr 2009, at 15:48, Thomas Rabaix wrote:

  Methods signatures and features from Doctrine are not compatible
  with Propel.
 
 
  On Mon, Apr 6, 2009 at 4:36 PM, Lee Bolding l...@leesbian.net  
 wrote:
 
  +1
 
  what he said.
 
  On 6 Apr 2009, at 14:54, Stefan Koopmanschap wrote:
 
  
   This may be a stupid question, but since I've mentioned this at
   SymfonyCamp last year as well... ;)
  
   why not use DbFinderPlugin for this?





 -- 
 Thomas Rabaix
 http://rabaix.net

 


--~--~-~--~~~---~--~~
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: Symfony CMS Plugins

2009-04-06 Thread Thomas Rabaix
The idea behind this plugin is to write queries to retrieve model objects
through an ORM, but fast

On Mon, Apr 6, 2009 at 6:47 PM, Lee Bolding l...@leesbian.net wrote:


 It does more than just find - read the docs ;)


 http://www.symfony-project.org/plugins/DbFinderPlugin/1_1_0?tab=plugin_readme

 On 6 Apr 2009, at 17:26, Thomas Rabaix wrote:

  DbFinderPlugin finds object ;) so the finder will return
  Doctrine_Record or BasePropel object.
 
  On Mon, Apr 6, 2009 at 6:18 PM, Lee Bolding l...@leesbian.net wrote:
 
  Isn't that the whole point of DbFinderPlugin?
 
  On 6 Apr 2009, at 15:48, Thomas Rabaix wrote:
 
   Methods signatures and features from Doctrine are not compatible
   with Propel.
  
  
   On Mon, Apr 6, 2009 at 4:36 PM, Lee Bolding l...@leesbian.net
  wrote:
  
   +1
  
   what he said.
  
   On 6 Apr 2009, at 14:54, Stefan Koopmanschap wrote:
  
   
This may be a stupid question, but since I've mentioned this at
SymfonyCamp last year as well... ;)
   
why not use DbFinderPlugin for this?
 
 
 
 
 
  --
  Thomas Rabaix
  http://rabaix.net
 
  


 



-- 
Thomas Rabaix
http://rabaix.net

--~--~-~--~~~---~--~~
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] Connecting DB2 with Symfony

2009-04-06 Thread Guilherme

Hi everyone!
I'm having some problems to use symfony + DB2 + Doctrine

When i run the following comand:
   symfony doctrine-build-schema

This error message appers:
 SQLSTATE[42S02]: Base table or view not found: -204 [IBM][CLI Driver][DB2/LINU
 SQL0204N  DB2INST1.SYSOBJECTS is an undefined name.  SQLSTATE=42704
 (SQLExecute[-204] at ext\pdo_odbc\odbc_stmt.c:133)

I search and discovered that the table SYSOBJECTS is for the Microsoft
SQL Server, and the
IBM DB2 don't have it.

Can someone help me, please?
Thank you very much

--~--~-~--~~~---~--~~
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] Global constants

2009-04-06 Thread Eno

Im working on upgrading a 1.0 project where defines are being used in
config.php to create constants available globally to all apps and
plugins. Now I could throw all those defines into the setup() method
of the ProjectConfiguration class but Im wondering if there is a
better way - what are the best practices for these kinds of situations?
--~--~-~--~~~---~--~~
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: Symfony CMS Plugins

2009-04-06 Thread Lee Bolding

Sorry, I should have been clearer.

DbFinder returns objects of type Doctrine_Record or BasePropel object  
as you said - which have common methods, such as save() etc

DbFinder eliminates the need for ORM specific queries.

There are many features in each that are NOT common, but there's  
absolutely no reason that a plugin cannot be created that is  
compatible with BOTH Doctrine AND Propel using DbFinder.

The SimpleBlogPlugin is based on DbFinder, as are several other plugins.

I don't see any reason the plugin couldn't use DbFinder.

On 6 Apr 2009, at 17:42, Thomas Rabaix wrote:

 The idea behind this plugin is to write queries to retrieve model  
 objects through an ORM, but fast

 On Mon, Apr 6, 2009 at 6:47 PM, Lee Bolding l...@leesbian.net wrote:

 It does more than just find - read the docs ;)

 http://www.symfony-project.org/plugins/DbFinderPlugin/1_1_0?tab=plugin_readme

 On 6 Apr 2009, at 17:26, Thomas Rabaix wrote:

  DbFinderPlugin finds object ;) so the finder will return
  Doctrine_Record or BasePropel object.
 
  On Mon, Apr 6, 2009 at 6:18 PM, Lee Bolding l...@leesbian.net  
 wrote:
 
  Isn't that the whole point of DbFinderPlugin?
 
  On 6 Apr 2009, at 15:48, Thomas Rabaix wrote:
 
   Methods signatures and features from Doctrine are not compatible
   with Propel.
  
  
   On Mon, Apr 6, 2009 at 4:36 PM, Lee Bolding l...@leesbian.net
  wrote:
  
   +1
  
   what he said.
  
   On 6 Apr 2009, at 14:54, Stefan Koopmanschap wrote:
  
   
This may be a stupid question, but since I've mentioned this at
SymfonyCamp last year as well... ;)
   
why not use DbFinderPlugin for this?
 
 
 
 
 
  --
  Thomas Rabaix
  http://rabaix.net
 
  






 -- 
 Thomas Rabaix
 http://rabaix.net

 


--~--~-~--~~~---~--~~
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: Symfony CMS Plugins

2009-04-06 Thread Tom Boutell

The dbfinderplugin just isn't going to cut it for this. The different
ORMs have different strengths and weaknesses. dbfinderplugin will not
put an efficient nested set implementation into Propel 1.3 (the one
that's there can't efficiently figure out what the parent of an object
is). And the code duplication and extra layers introduced by dbfinder
just don't make sense.

Stop the madness. Pick an ORM, work within it, advocate it. As for
which ORM... sympal was written by the man who wrote Doctrine, and
pkcontextcms, an entirely separate CMS,  is also written in Doctrine.
That might give you a hint as to what people like to code for. (:

-- 
Tom Boutell
P'unk Avenue
215 755 1330
punkave.com
window.punkave.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] Propel cascading update causes integrity violation

2009-04-06 Thread Steve the Canuck

Hi,

I'm not sure why this is failing.

If I do the following in one of my OM classes:

// Set the reference to the reservation provider
$this-setReservProvider($reservProvider);
...
$this-save();

I get an integrity violation.  It seems like all the fields get
updated in the subsequent update statement as follows:

Apr 06 14:57:00 symfony [debug] {sfPropelLogger} prepare: UPDATE
reservation SET `FACILITY_ID`=:p1, `LEVEL_ID`=:p2,
`EVENT_GENDER_ID`=:p3, `EVENT_CATEGORY_ID`=:p4, `EVENT_TYPE_ID`=:p5,
`UPDATED_AT`=:p6 WHERE reservation.ID=:p7
Apr 06 14:57:00 symfony [debug] {sfPropelLogger} Binding 325 at
position :p1 w/ PDO type PDO::PARAM_INT
Apr 06 14:57:00 symfony [debug] {sfPropelLogger} Binding 2 at
position :p2 w/ PDO type PDO::PARAM_INT
Apr 06 14:57:00 symfony [debug] {sfPropelLogger} Binding NULL at
position :p3 w/ PDO type PDO::PARAM_NULL
Apr 06 14:57:00 symfony [debug] {sfPropelLogger} Binding 1 at
position :p4 w/ PDO type PDO::PARAM_INT
Apr 06 14:57:00 symfony [debug] {sfPropelLogger} Binding 1 at
position :p5 w/ PDO type PDO::PARAM_INT
Apr 06 14:57:00 symfony [debug] {sfPropelLogger} Binding '2009-04-06
14:56:59' at position :p6 w/ PDO type PDO::PARAM_STR
Apr 06 14:57:00 symfony [debug] {sfPropelLogger} Binding 1 at
position :p7 w/ PDO type PDO::PARAM_INT
Apr 06 14:57:00 symfony [err] {sfPropelLogger} SQLSTATE[23000]:
Integrity constraint violation: 1048 Column 'event_gender_id' cannot
be null

However, if I just set the id, as follows:

// Set the reference to the reservation provider
$this-setReservProviderId($reservProvider-getId());
...
$this-save();

It seems to work:

Apr 06 15:03:21 symfony [debug] {sfPropelLogger} prepare: UPDATE
reservation SET `RESERV_PROVIDER_ID`=:p1, `UPDATED_AT`=:p2 WHERE
reservation.ID=:p3
Apr 06 15:03:21 symfony [debug] {sfPropelLogger} Binding 1 at
position :p1 w/ PDO type PDO::PARAM_INT
Apr 06 15:03:21 symfony [debug] {sfPropelLogger} Binding '2009-04-06
15:03:21' at position :p2 w/ PDO type PDO::PARAM_STR
Apr 06 15:03:21 symfony [debug] {sfPropelLogger} Binding 1 at
position :p3 w/ PDO type PDO::PARAM_INT


What I don't like about this, of course, is that I have made changes
to the ReservProvider, so when I do my save(), these changes are not
being propagated via the relationship.

I'm not sure if there is something special I need to do - I'd
certainly like to avoid having to call save() individually on each
object within my graph?  I would have thought that if I set the object
reference for my Reservation, rather than just the ID of the object,
it would have worked.

Regards,
Steve
--~--~-~--~~~---~--~~
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] SfPropelRoute and I18n

2009-04-06 Thread elyotech_yoni

Hello everybody,

I get a small question about SfPropelRoute and I18n

I don't succeed to create a route like that

activity_show:
  url: /activity/:title
  class:   sfPropelRoute
  options: { model: EtActivity, type: object, method_for_criteria:
doSelectWithI18n}
  param:   { module: activities, action: show }

but so there is nothing criteria title='%s'

so I tried to do like this

  options: { model: EtActivity, type: object,

instead of

  options: { model: EtActivityI18n, type: object,

but so I get the following error.
Unable to find the EtActivityI18nPeer object with the following
parameters
array ( 'title' = 'Salsa',)).

I want to get the url
Quote:

if it's en site/activity/race
if it's fr site/activity/course

is it possible ? someone has an idea, or guidelines ?

Thanks for your help

Yoni
--~--~-~--~~~---~--~~
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] sfDoctrineRouteCollection and non integer primary keys

2009-04-06 Thread NachoCual

Hello. This is my first message in the list, as I'm taking my first
steps with symfony. I searched for an answer both in google and in
this list, but I couldn't find anything. Anyway, sorry if it has been
already asked, or if a too silly question.

I'm trying to make a doctrine admin module for a class, and there's
some error in the automatic generated routing (the homepage route
works fine, the sfDoctrineRouteCollection is what's giving me
trouble). My guess is it's because the class doesn't have an integer
key, but a string one, because it worked fine when I was doing the
Jobeet tutorial and I can't find any differences besides this. Am I
correct? Or should I look somewhere else?

Thanks!

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---