[symfony-users] Re: why do the objects take so long to dump to screen?

2009-07-27 Thread Gareth McCumskey
XDebug is also great to use to try and determine where bottlenecks in your code may be as you can setup it up to do function tracing and dump the data to a file which can be read by various log analysis programs and includes execution times for various functions. On Sun, Jul 26, 2009 at 9:45 PM,

[symfony-users] comparing values between embedded forms

2009-07-27 Thread septem
How can I compare and validate that the user has not chose one language several times? Each language is embedded in a languages form, which is embedded in the main form. Language has columns 'member_id' (which is unset) and 'language_id'. I need to compare and validate 'language_id'. $lang_forms

[symfony-users] Re: String Variable to ClassName

2009-07-27 Thread Amo__
Is this faster than $classname::myFunction() ? On Jul 27, 10:01 am, Davide Borsatto lloy...@gmail.com wrote: If I understood the problem... You just need to use call_user_func/call_user_func_array $class = 'ArticlePeer'; $articles = call_user_func_array(array($class, 'doSelect'), array

[symfony-users] Re: More form widgets, ajax live search in input field?

2009-07-27 Thread Tommaso D'Argenio
Hi, thanks for the reply. I've reviewed the plugin documentation and I still don't understand how this can solve my problem. If you use this plugin could you give me more insights? thanks T. 2009/7/25 Melchior Anarchion melchior.anarch...@gmail.com Hum sorry for late response but with

[symfony-users] Re: String Variable to ClassName

2009-07-27 Thread Bernhard Schussek
No, but contrary to $classname::myFunction() it works :-) Bernhard --~--~-~--~~~---~--~~ 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

[symfony-users] Re: sfLucene update

2009-07-27 Thread Olivier Revollat
Thanks for your work ... :) Do you know where can I find the last documentation ? 2009/2/9 Thomas Rabaix thomas.rab...@gmail.com Hello, I have updated the sfLucene plugin with new tasks : - rebuild-index : index only one index - update-model : index one model for one index (doctrine

[symfony-users] Error - You must specify a moduleName

2009-07-27 Thread xhe
Today I suddenly meet an error for my syfmony project, this is symfony 1.0 project, the error message is as follows: *** [sfParseException] You must specify a moduleName stack trace * at () in SF_ROOT_DIR\lib\symfony\generator\sfCrudGenerator.class.php line 52 ...

[symfony-users] Re: Error - You must specify a moduleName

2009-07-27 Thread Alexandru-Emil Lupu
hmmmz... maybe if you would CC you cache ... check if you have registrations module... i haven't meet this error before ... also, you might wanna check your config/generator.yml file ... there you might find some answers ... Alecs On Mon, Jul 27, 2009 at 4:46 PM, xhe hexuf...@gmail.com wrote:

[symfony-users] Re: sfLucene update

2009-07-27 Thread Olivier Revollat
When I try to rebuild the index I get this error (see below) . I am using symfony 1.2.9-DEV .. $ ./symfony lucene:rebuild frontend Processing MyIndex/en now... LuceneRebuilding index... Fatal error: Call to undefined method sfConfigCache::getinstance() in C:\workspa

[symfony-users] Dynamic edition of a yaml configuration file

2009-07-27 Thread Ahmed
Hi all, i need to change a config value in the app.yml file i use this : sfConfig::set('app_max_news_permited', $request-getParameter('config [max_news_permited]')) but it change the value in the runtime configuration not in the file it self i don't found any solution to do this .. Thanks for any

[symfony-users] Re: Error - You must specify a moduleName

2009-07-27 Thread Frank He
the strange thing is even if I delete everthing and do this: 1. symfony init-app backend 2. symfony propel-init-admin backend article Article the exactly same error happened! Perhaps this is because my php? On Mon, Jul 27, 2009 at 9:52 AM, Alexandru-Emil Lupu gang.al...@gmail.comwrote:

[symfony-users] Re: dynamic input fields

2009-07-27 Thread Mo Mughrabi
It might be a little complicated, first you need to do a regular static form just so you can understand the methods you need to use. As for the table structure you are proposing, it is too simple to be used, you must also have information about field types, sfValidations..etc idfield_name

[symfony-users] Re: sfLucene update

2009-07-27 Thread Thomas Rabaix
The action indexation has not been ported to 1.1 and 1.2. I will try to fix that this week shoot me an email if not ;) On Mon, Jul 27, 2009 at 3:54 PM, Olivier Revollat revol...@gmail.comwrote: When I try to rebuild the index I get this error (see below) . I am using symfony 1.2.9-DEV ..

[symfony-users] Re: sfLucene update

2009-07-27 Thread Olivier Revollat
Ok that explain why I have sevral error with this ... I have replace include(sfConfigCache::getInstance()-checkConfig($config)); With include(sfContext::getInstance()-getConfigCache()-checkConfig($config)); Now this line of code work, but I still have problems loading actions name ... As you

[symfony-users] Symfony y Javascript -- Help me!!!

2009-07-27 Thread Germana Oliveira
Hi! I have been reading tha 'ajax integration' chapter from symfony book, but i haven't figured out how to make it work. The thing is: I want that when i select something in a combo box (1st. combo) the options in the 2th. combo change. Until now i have this. First i have de form:

[symfony-users] Re: sfLucene update

2009-07-27 Thread Thomas Rabaix
If you feel confident of doing this you can write a patch, I will included it into the trunk. I havn't look to the code yet, so I have no idea how action are loaded ... On Mon, Jul 27, 2009 at 4:49 PM, Olivier Revollat revol...@gmail.comwrote: Ok that explain why I have sevral error with this

[symfony-users] Re: Dynamic edition of a yaml configuration file

2009-07-27 Thread Eno
On Mon, 27 Jul 2009, Ahmed wrote: Hi all, i need to change a config value in the app.yml file i use this : sfConfig::set('app_max_news_permited', $request-getParameter('config [max_news_permited]')) but it change the value in the runtime configuration not in the file it self That's right

[symfony-users] Re: comparing values between embedded forms

2009-07-27 Thread Eno
On Mon, 27 Jul 2009, septem wrote: How can I compare and validate that the user has not chose one language several times? Each language is embedded in a languages form, which is embedded in the main form. Language has columns 'member_id' (which is unset) and 'language_id'. I need to

[symfony-users] sfMemcache sfAdvMemcache

2009-07-27 Thread Eno
Anyone using these plugins? If so, do you know which PHP extension they need (there appears to be two PECL extensions for memcache) ? -- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups symfony users group.

[symfony-users] Re: sfMemcache sfAdvMemcache

2009-07-27 Thread Frank Stelzer
Memcached is best installed via PECL, as you already pointed out. When you use symfony 1.2 you do not need a plugin for it. sfMemcacheCache will do the job build in. Am 27.07.2009 um 21:56 schrieb Eno: Anyone using these plugins? If so, do you know which PHP extension they need

[symfony-users] Re: sfMemcache sfAdvMemcache

2009-07-27 Thread Eno
On Mon, 27 Jul 2009, Frank Stelzer wrote: Memcached is best installed via PECL, as you already pointed out. When you use symfony 1.2 you do not need a plugin for it. sfMemcacheCache will do the job build in. Ive installed the memcached PECL extension. We're running symfony 1.2.7 - you're

[symfony-users] Re: sfMemcache sfAdvMemcache

2009-07-27 Thread Frank Stelzer
If you want to use memcache as view cache, you can use the sfMemcacheCache(http://trac.symfony-project.org/browser/branches/1.2/lib/cache/sfMemcacheCache.class.php ). Just change the view cache in the factories.yml and define your memcache connection settings. The first part of this

[symfony-users] Re: filter=filter does not work in admin

2009-07-27 Thread yo
Tengo el mismo problema, debe ser un problema de versiones. Me interesaba un link_to a un módulo que me diese sólo los articulos con un autor_id en concreto. A seguir investigando... On 16 jul, 10:56, Ken Golovin ken.golo...@gmail.com wrote: Hi, I am to trying to do a redirect from one

[symfony-users] Re: sfMemcache sfAdvMemcache

2009-07-27 Thread Eno
On Mon, 27 Jul 2009, Frank Stelzer wrote: If you want to use memcache as view cache, you can use the sfMemcacheCache(http://trac.symfony-project.org/browser/branches/1.2/lib/cache/sfMemcacheCache.class.php ). Just change the view cache in the factories.yml and define your memcache

[symfony-users] Looking for a simple doctrine nested form example symfony 1.2 branch

2009-07-27 Thread pcummins
Can anyone point me to a simple on- to-many Doctrine nested form example? The simplest implementation I've seen that works on 'create' and 'edit' is this one: http://redotheoffice.com/?p=4 and it seems a little dated. I'm suprised to see the need to: a) create a temporary form. couldn't we