[symfony-users] Re: Out of memory error

2008-11-14 Thread Sumedh
Thanks James... I am not using Propel... You think I should even not use Creole? will this be resolved then? On Nov 14, 11:22 am, James <[EMAIL PROTECTED]> wrote: > Like I said, it's a php garbage collection problem, i was getting one   > record at a time, and when I got up to 15,000 itterations

[symfony-users] Dynamic configurable fields/columns

2008-11-14 Thread Vincent
Hi Basically, I want to build a distributable application, and one of the most important feature is Dynamic configurable profile fields/columns by Admin user (the application customer) Let say site XXX is about business, so the site owner (Admin) would probably config user profile fields to have

[symfony-users] Exclude some countries

2008-11-14 Thread Mohammed
Good morning ! I want to exclude some countries when I use select_country_tag method in symfony , could I ? --~--~-~--~~~---~--~~ 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] Re: Symfony on Joyent

2008-11-14 Thread Kiril Angov
yes, it is. On Mon, Nov 10, 2008 at 6:04 PM, Eno <[EMAIL PROTECTED]> wrote: > > On Nov 6, 3:17 pm, "Kiril Angov" <[EMAIL PROTECTED]> wrote: > >> Yes, works like a charm, run a facebook app there for a while when >> they had it free. Good service and they teamed up with Dell to give >> some goo pr

[symfony-users] Re: Autoloading problem

2008-11-14 Thread Kiril Angov
Make sure you are using the right name for your file myClass.class.php and MyClass.class.php are different on a case sensitive sistem and I think that is your problem. PHP classes and functions are not case sensitive (as far as I know) and if one time you call your class $something = new myClass()

[symfony-users] Re: timestamp default value

2008-11-14 Thread Kiril Angov
Are you defining this table in your schema.yml or it is pre-created and you are just using it for the session storage. Give some more details and I am sure we will be able to help... and save one life :) FYI, the default attribute in schema isn't meant to support SQL functions like CURRENT_TIME.

[symfony-users] Re: Optionnal foreign key with propel 1.3 & SF 1.2 ?

2008-11-14 Thread Kiril Angov
In your schema just do: page_id: ~ By default this would make it required: false and it would behave as expected. Try it. On Fri, Nov 14, 2008 at 4:11 PM, Sylvain - Com-Océan <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a schema where "node" table is link to "page". > => "a node can be linked

[symfony-users] forms 1.2 fieldsets

2008-11-14 Thread ken
How can I group specific fields into fieldset? via forms api and does field grouping is handled automatically by configuration.yml? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to t

[symfony-users] timestamp default value

2008-11-14 Thread [EMAIL PROTECTED]
Hi guys, I have the following problem. I specified a 'sessions' table with some fields, one of them is called sess_time. I tried to set it's default value as NOW(), i tried CURRENT_TIMESTAMP, with braces and without them, with qutations and without them - I tried almost everything one can ever im

[symfony-users] "save and next" action on admin generator edit page

2008-11-14 Thread rosbif
Hi, I'm trying to add a "Save and go to next" action on the edit page of the admin generator. Currently its difficult to bulk edit entries via the admin interface. >From the list page, you click on an item, edit it, save it, then have to click back twice before clicking on the next item. I'd li

[symfony-users] Re: sfValidatorSchemaCompare

2008-11-14 Thread Jonathan Wage
Take a look at the sfGuardDoctrinePlugin, it uses this functionality. http://svn.symfony-project.com/plugins/sfDoctrineGuardPlugin/trunk/lib/form/doctrine/base/BasesfGuardUserAdminForm.class.php - Jon On Thu, Nov 13, 2008 at 3:30 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>wrote: > > no one knows

[symfony-users] Re: Symfony 1.2 sfDoctrineGuardPlugin Validation Error

2008-11-14 Thread Jonathan Wage
Can we see the data being posted? - Jon On Thu, Nov 13, 2008 at 1:18 PM, kayoone <[EMAIL PROTECTED]> wrote: > > so i upgraded to sf 1.2 today and have this register form that worked > in 1.1 but in 1.2 it gives me the following error that doesnt say > much: > > 500 | Internal Server Error | Doct

[symfony-users] Re: Optionnal foreign key with propel 1.3 & SF 1.2 ?

2008-11-14 Thread Michael Steinboeck
2008/11/14 Sylvain - Com-Océan <[EMAIL PROTECTED]>: ... > The link between the 2 tables is optionnal because a node can have no > page and in this case page_id foreign key is null. Maybe you should think of it as having a page: the null-page, which is to be defined. LG, Michael Steinböck --~--~-

[symfony-users] Re: Using 1.0-style forms and form helpers in Symfony 1.2

2008-11-14 Thread Fabien Potencier
Hi Tom, Tom Boutell wrote: > Like most people I have a lot of code that uses FormHelper calls like > textarea_tag and form_tag and the old methods of fetching form > parameters when submitted and so forth (getRequestParameter etc). > > To my surprise this code is working in 1.2, apart from stuff

[symfony-users] Optionnal foreign key with propel 1.3 & SF 1.2 ?

2008-11-14 Thread Sylvain - Com-Océan
Hi, I have a schema where "node" table is link to "page". => "a node can be linked to a page... or not" Then my "node" schema has a foreign key : "page_id", in schema.yml it give : > page_id: > type: INTEGER > required: false > foreignTable: sf_dynamic_cms_page > fore

[symfony-users] Re: retrieveByPks() changes IDs order

2008-11-14 Thread starting
Ok great, I'll take a look. Thx for helping --~--~-~--~~~---~--~~ 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, se

[symfony-users] Re: Select count(*) query giving problem

2008-11-14 Thread Sumedh
Shucks... I had forgotten to put rs->next(); :) Extremely sorry... On Nov 14, 11:03 am, Sumedh <[EMAIL PROTECTED]> wrote: > @Eno: I said I suppose because I wasn't sure how would I know if it's > returning the number...if I run the query from the log on mysql prompt > it runs fine...and there