Re: [symfony-users] What is the best way to migrate a project in Symfony?

2011-05-16 Thread Michał Piotrowski
Hi, 2011/5/16 Glenn Z gl...@sweetwoodguitars.com: First off, I'm a Symfony noob. Just read this http://www.symfony-project.org/jobeet/1_4/Doctrine/en/ everything is documented - step by step. Here is another useful documentation http://www.symfony-project.org/doc/1_4/  I inherited a project

Re: [symfony-users] Dealing with VERY complex query

2011-05-05 Thread Michał Piotrowski
2011/5/5 Matt Robinson m...@lazycat.org: On 4 May 2011, at 23:57, Michał Piotrowski wrote: 2011/5/4 Marco Pivetta ocram...@gmail.com: SQL is way faster than PHP processing. I would really go for a filtered join. That's what SQL is there for :) Just be sure to filter by index and to return

Re: [symfony-users] Dealing with VERY complex query

2011-05-04 Thread Michał Piotrowski
Hi, 2011/5/4 passkey1...@gmail.com passkey1...@gmail.com: Hi there, I'd like to ask you guys a question when you have to deal with a VERY complex query. Use case: An e-commerce website with integrated social network. User could have many friends on that website. For each user, I have to

Re: [symfony-users] Dealing with VERY complex query

2011-05-04 Thread Michał Piotrowski
not see any problem here - just pass $product_ids as a parameter to the pager and add there $q-andWhereIn('p.id', $product_ids); 2011/5/4 Michał Piotrowski mkkp...@gmail.com Hi, 2011/5/4 passkey1...@gmail.com passkey1...@gmail.com: Hi there, I'd like to ask you guys a question when you

Re: [symfony-users] Dealing with VERY complex query

2011-05-04 Thread Michał Piotrowski
2011/5/4 Marco Pivetta ocram...@gmail.com: SQL is way faster than PHP processing. I would really go for a filtered join. That's what SQL is there for :) Just be sure to filter by index and to return a limited resultset. Sequential scan in PHP has to be ABSOLUTELY avoided :) I'm not sure how

Re: [symfony-users] Synfony 1.4: sfDoctrineGuard i18n

2011-03-30 Thread Michał Piotrowski
Hi, 2011/3/30 Bernhard Flokstra symf...@eenwereldapart.nl: I want to translate the signin form of sfDoctrineGuard plugin to Dutch. How can I do this? take a look at plugins/sfDoctrineGuardPlugin/i18n/ -- Best regards, Michal http://eventhorizon.pl/ -- If you want to report a

Re: [symfony-users] Integrating Symfony2 with an existing project

2011-03-28 Thread Michał Piotrowski
Hi, 2011/3/28 Pepijn pepijn.ko...@gmail.com: I have an existing PHP project that uses Doctrine 2.0, and I want to write a small web application to manage the entities in this existing project. However releases mostly assume they'll be the bases for a new project. Thus, here is my question:

Re: [symfony-users] Setup Symfony in Windows

2011-03-13 Thread Michał Piotrowski
Hi, 2011/3/13 giuliano focusdesign...@gmail.com: Hi  all, I am installing Symfony following the online instructions (pdf) Got stuck at database configuration step. The only instruction there is : :When creating a new project, Doctrine is enabled by default. Configuring the database used

Re: [symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Michał Piotrowski
point. btw today at sflive fabien said it's not. On 1 Mar, 17:53, Michał Piotrowski mkkp...@gmail.com wrote: 2011/3/1 Thor thorste...@gmail.com: Are all sf 1.4 plugins already available in 2.0? Do you really need all sf 1.4 plugins? :) if not, i'd think if i needed

Re: [symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-06 Thread Michał Piotrowski
days ago. For what i understood, the problem is that since it's not either a release candidate yet, so you could download a so called distribution that with the next update will not work. It's still being developed. On 6 Mar, 12:16, Michał Piotrowski mkkp...@gmail.com wrote: 2011/3/6 Thor

Re: [symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-03 Thread Michał Piotrowski
is purely project-dependant: what i meant with i'd think IF i needed that was just that: if someone doesn't needed plugins sf2 could be a good starting point. btw today at sflive fabien said it's not. On 1 Mar, 17:53, Michał Piotrowski mkkp...@gmail.com wrote: 2011/3/1 Thor thorste...@gmail.com

Re: [symfony-users] Re: ERP development ( SF 1.4 or 2.0 ? )

2011-03-01 Thread Michał Piotrowski
2011/3/1 Thor thorste...@gmail.com: Are all sf 1.4 plugins already available in 2.0? Do you really need all sf 1.4 plugins? :) if not, i'd think if i needed that For a large project you most likely want to write almost everything by yourself. Back to the topic. In December I started a large

Re: [symfony-users] Protect development credentials when deploying application

2011-03-01 Thread Michał Piotrowski
2011/3/1 Alex Pilon alex.pi...@gmail.com: What do you mean there are none bundled with sf1.4? I belive that he is talking about configs in Symfony2 config_dev.yml config_test.yml routing_dev.yml config_prod.yml config.yml routing.yml I mean in databases.yml for example, when you

Re: [symfony-users] Re: How to set up a situation where a comments table is used for multiple entities

2011-02-26 Thread Michał Piotrowski
W dniu 26 lutego 2011 16:36 użytkownik Grzegorz Śliwiński fi...@fizyk.net.pl napisał: Michal's idea is one way, although personally wouldn't add that many fk's into Comment model. Each new model that will get commented, will result in modifying Comment table. If it'll grow up, ALTER TABLE might

Re: [symfony-users] How to set up a situation where a comments table is used for multiple entities

2011-02-25 Thread Michał Piotrowski
Hi, 2011/2/25 Alex Pilon alex.pi...@gmail.com: Hello Everyone, I have a schema in which I have several entities, lets call them Shows, Broadcasters and Pitches. A Show is essentially pitched to a Broadcaster which creates the Pitch which is an entity that sits between Show and Broadcaster

[symfony-users] Fwd: stOfcPlugin license

2011-02-24 Thread Michał Piotrowski
Hi, Do anyone knows anything about this license problem in stOfcPlugin? -- Wiadomość przekazana dalej -- Od: Michał Piotrowski mkkp...@gmail.com Data: 23 lutego 2011 11:21 Temat: stOfcPlugin license Do: RASHID Dawood dau...@gmail.com Hi, I wonder why in the doc dir is a copy

Re: [symfony-users] Social network with symfony ?

2011-02-16 Thread Michał Piotrowski
Hi, 2011/2/16 coolmec33 ezziani.cha...@gmail.com: Hello everyone, I want to know the feasibility of a social network (profiles, walls, groups, friends ) with the symfony framework. I have already worked on several projects with symfony and I know is very powerful, and it can do many

Re: [symfony-users] PR5 to PR6 Upgrade

2011-02-14 Thread Michał Piotrowski
Hi, 2011/2/14 Daniel Burge dbu...@buradainc.com: Hi, Does anyone know where to find out what needs to be updated if anything to move from PR5 to PR6? Here is the simplest site ever :) - check out the latest commit https://github.com/eventhorizonpl/sf2eventhorizon/commits/master/ Also,

[symfony-users] Two Doctrine connection problems - Memcache and Postgresql

2011-02-02 Thread Michał Piotrowski
Hi, I've got a problems hmm.. in fact, I do not know where :) Ok, on my machine everything works perfectly fine. Problems arise when I try to use PostgreSQL and memcached on test server. I do not have access to server configuration, so hard for me at this moment to tell anything about that -

[symfony-users] Re: [doctrine-user] Re: Two Doctrine connection problems - Memcache and Postgresql

2011-02-02 Thread Michał Piotrowski
2011/2/2 Miha Vrhovnik miha.vrhov...@gmail.com: In memcache it's typo in a config: post: 11213 should be port: 11213. Indeed. But, after fixing typo, the problem remained. It's all by the fact that I created problem - typo, I have not noticed this and I created workaround - patch for the

[symfony-users] Re: [doctrine-user] Re: Two Doctrine connection problems - Memcache and Postgresql

2011-02-02 Thread Michał Piotrowski
2011/2/2 Miha Vrhovnik miha.vrhov...@gmail.com: In memcache it's typo in a config: post: 11213 should be port: 11213. Regarding the postgres it's postgres misconfiguration. add folloving line into pg_hba.conf if not yet present host    all all 127.0.0.1/32 md5

Re: [symfony-users] Extra var in route

2011-01-31 Thread Michał Piotrowski
Hi, 2011/2/1 HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com: Is it possible in an sfPropelRoute to include extra parameters in the URL, that doesn't correspond to the object? For example, my object: item:  id  title  slug  message  created_at  updated_at This is a correct

Re: [symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2011-01-19 Thread Michał Piotrowski
Ping? W dniu 12 stycznia 2011 12:23 użytkownik Michał Piotrowski mkkp...@gmail.com napisał: Hi, 2010/7/12 Fabrice Bernhard fabri...@theodo.fr: Ok so this is actually a working strategy ? I will implement it and name the function initialize 'intiialize_'.$map_name by default so that users

[symfony-users] updated ORM benchmark (PDO, Propel 1.4, 1.5, Doctrine 1.2, 2.0)

2011-01-16 Thread Michał Piotrowski
Hi, If anyone is interested in benchmarks, I updated François Zaninotto ORM benchmark https://github.com/eventhorizonpl/forked-php-orm-benchmark -- Best regards, Michal http://eventhorizon.pl/ -- If you want to report a vulnerability issue on symfony, please send it to security at

Re: [symfony-users] Re: sfEasyGMapPlugin: Mulitple maps on one page

2011-01-12 Thread Michał Piotrowski
Hi, 2010/7/12 Fabrice Bernhard fabri...@theodo.fr: Ok so this is actually a working strategy ? I will implement it and name the function initialize 'intiialize_'.$map_name by default so that users don't need to actually change this parameter unless they need to. Concerning the

Re: [symfony-users] Grails to Symfony2 Benchmark

2011-01-09 Thread Michał Piotrowski
Hi, 2011/1/7 maxarbos maxar...@yahoo.com: Hello, I just found this post ( http://grails.1312388.n4.nabble.com/Symfony-2-0-vs-Grails-benchmark-td3094892.html ) and wanted to know if there are any different benchmarks or speed comparisons between the two? We have been using grails for a

[symfony-users] Re: how to setDefault on i18n form field?

2011-01-03 Thread Michał Piotrowski
Hi, W dniu 20 grudnia 2010 15:42 użytkownik Michał Piotrowski mkkp...@gmail.com napisał: Hi, I've got a field echo $form[$lang]['title']-render() and I want to set default value. Usually I use setDefault, but this is i18n form so $form-setDefault('title', random title) doesn't work

Re: [symfony-users] Form not rendering with correct data from Boolean field.

2011-01-03 Thread Michał Piotrowski
Hi, 2011/1/2 Scott O'Brien king.scot...@gmail.com: Howdy, I'm having trouble with one of my fields in a form.  I've got a section of code in my form php   $isCitizen = array(             True = 'Yes',             False = 'No',     );     $this-widgetSchema['citizenship'] = new

Re: [symfony-users] Re: Form not rendering with correct data from Boolean field.

2011-01-03 Thread Michał Piotrowski
2011/1/3 Scott O'Brien king.scot...@gmail.com: Thanks to damon__jones from the IRC channel, it fixes the problem if I swap the order of items in the array. I used public static $yes_no_types = array( '0' = 'nie', '1' = 'tak', ); public static function getYesNo() { return

[symfony-users] how to setDefault on i18n form field?

2010-12-20 Thread Michał Piotrowski
Hi, I've got a field echo $form[$lang]['title']-render() and I want to set default value. Usually I use setDefault, but this is i18n form so $form-setDefault('title', random title) doesn't work as for other fields. I've found a solution for symfony 1.1 $form-setDefault($lang, array('title',

Re: [symfony-users] importing users into sfGuardUser without salt field ?

2010-12-04 Thread Michał Piotrowski
Hi, 2010/12/5 Tristan tristan.bessou...@gmail.com: Hi, I've planned to migrate my pevious project on symfony. I got 1,500 users registered (password stored in SHA-1) but there is no salt defined. Is that possible to import those 1,5k users in the sfGuardUser table (i mean without the

Re: [symfony-users] Admin generator - Using different forms for edit and for new

2010-11-24 Thread Michał Piotrowski
2010/11/24 Manu emmanuel.parf...@gmail.com: Hi all, How do I configure generator.yml so that it will use one form for the new action, and another for the edit action ? You need to override actions. You can find action templates in cache dir. Best regards, Michal -- If you want to report a

Re: [symfony-users] Admin generator - Using different forms for edit and for new

2010-11-24 Thread Michał Piotrowski
W dniu 24 listopada 2010 12:37 użytkownik Michał Piotrowski mkkp...@gmail.com napisał: 2010/11/24 Manu emmanuel.parf...@gmail.com: Hi all, How do I configure generator.yml so that it will use one form for the new action, and another for the edit action ? You need to override actions. You can

Re: [symfony-users] Re: Loading fixtures in transaction ?

2010-11-23 Thread Michał Piotrowski
Hi, Jonathan, would you consider applying this patch to the next Doctrine1 release? Best regards, Michal 2010/11/23 Mateusz Kaczmarek mateusz.kaczma...@gmail.com: Hi, If anyone is interested to load fixtures in transaction apply patch attached below. After this modification loading fixtures

Re: [symfony-users] Re: Admin generator - removing all delete links

2010-11-18 Thread Michał Piotrowski
Hi, 2010/11/18 Manu emmanuel.parf...@gmail.com: I haven't found in the docs how to disable that particular action. It's my sfGuardUser config - it removes both new and delete generator: class: sfDoctrineGenerator param: config: actions: { _edit: ~ } form: class:

[symfony-users] question about sfValidatorSchemaCompare error codes

2010-11-12 Thread Michał Piotrowski
Hi, I've got a registration form with two fields for password $this-validatorSchema['password'] = new sfValidatorString(array(), array('required' = 'Pole wymagane.')); $this-validatorSchema['password_again'] = clone $this-validatorSchema['password']; $this-mergePostValidator(new

Re: [symfony-users] question about sfValidatorSchemaCompare error codes

2010-11-12 Thread Michał Piotrowski
18:03, Michał Piotrowski mkkp...@gmail.com a écrit : Hi, I've got a registration form with two fields for password    $this-validatorSchema['password'] = new sfValidatorString(array(), array('required' = 'Pole wymagane.'));    $this-validatorSchema['password_again'] = clone

Re: [symfony-users] Password fields

2010-11-07 Thread Michał Piotrowski
2010/11/7 xpanshun srhen...@gmail.com: How can I make the input of a certain field in a generated form (on the frontend) displayed as a password type (i.e. )? Where in the directory can this be altered? First hint - you can find answer for your question in symfony documentation. Second

Re: [symfony-users] HTTP 404 Error on newest A week of symfony

2010-11-01 Thread Michał Piotrowski
Hi, 2010/11/1 J. Dreesen mapfre.bel...@gmail.com: Some hours ago, Javier Eguiluz wrote the newest A week of symfony which is number 200! I like this weekly overview very much, but sadly, this time I couldn't read it, because the URL

Re: [symfony-users] Re: question about variables in symfony 1

2010-10-28 Thread Michał Piotrowski
. Store the variable in the request and not in the user session http://www.symfony-project.org/api/1_4/sfRequest#method_setparameter    gabriel On Oct 27, 2:36 pm, Michał Piotrowski mkkp...@gmail.com wrote: Hi, I've got a layout: [some html] [some php] ?php include_component('foo', 'foo1

Re: [symfony-users] All new symfony developers please read...

2010-10-28 Thread Michał Piotrowski
2010/10/28 Gareth McCumskey gmccums...@gmail.com: I thought I'd point something what a lot of new symfony developers don't seem to realise. There is a great piece of documentation on the symfony site that can answer 90% of questions for anyone new to symfony. I use symfony for year and a half

[symfony-users] question about variables in symfony 1

2010-10-27 Thread Michał Piotrowski
Hi, I've got a layout: [some html] [some php] ?php include_component('foo', 'foo1') ? ?php include_component('foo', 'foo2') ? [some html] ?php include_component('foo', 'foo3') ? [some random code] The problem is that all components needs some user data. I've got an user settings table and I

Re: [symfony-users] Login and Password Recovery

2010-10-27 Thread Michał Piotrowski
2010/10/27 xpanshun srhen...@gmail.com: What is the best way to go about creating a Login page and a page for Password Recovery? The best way is described here http://www.symfony-project.org/jobeet/1_4/Doctrine/en/ and here http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin Kind

Re: [symfony-users] question about variables in symfony 1

2010-10-27 Thread Michał Piotrowski
something wrong? 2010/10/27 Michał Piotrowski mkkp...@gmail.com Hi, I've got a layout: [some html] [some php] ?php include_component('foo', 'foo1') ? ?php include_component('foo', 'foo2') ? [some html] ?php include_component('foo', 'foo3') ? [some random code] The problem

Re: [symfony-users] Alternative to Frames?

2010-10-27 Thread Michał Piotrowski
Hi, 2010/10/27 xpanshun srhen...@gmail.com: Hello all, What is the easiest alternative to using frames Eghm... frames? When I learned html in 1998 or 1999 this technology was not recommended. You probably want to use AJAX with Symfony and how can it be implemented? Thanks. Regards,

Re: [symfony-users] Re: DQL query help

2010-10-20 Thread Michał Piotrowski
This should do the trick $product_type = 'bracelet' $q = Doctrine_Query::create() -from('Product p') -where('p.product_type = ?', $product_type); $result = $q-count(); 2010/10/20 xpanshun srhen...@gmail.com: Sorry, I also forget to mention that in DQL, I ultimately want to get an actual

[symfony-users] simple application for chatting

2010-10-11 Thread Michał Piotrowski
Hi, I'm looking for a simple application for chatting. I need to do something like: - user can create a chat (sfGuard username as chat username) - other users can join the chat There is no need to store chat content. Simple ban/kick option for operator would be cool. Other requirements: -

Re: [symfony-users] Clear cache in action

2010-10-07 Thread Michał Piotrowski
2010/10/7 HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com: Is there a way to clear my cache in an action, using PHP? $cacheManager = sfContext::getInstance()-getViewCacheManager(); if ($cacheManager) { $cacheManager-remove('blog/index?username='.$username.'sf_format=html');

[symfony-users] Re: symfony 1.4 custom config

2010-09-04 Thread Michał Piotrowski
W dniu 3 września 2010 17:42 użytkownik Michał Piotrowski mkkp...@gmail.com napisał: Hi, I want to create a custom config file. I have read http://stackoverflow.com/questions/2544553/how-to-create-a-custom-yaml-config-file-in-symfony Now I've got config/config_handlers.yml config/client.yml

[symfony-users] symfony 1.4 custom config

2010-09-03 Thread Michał Piotrowski
Hi, I want to create a custom config file. I have read http://stackoverflow.com/questions/2544553/how-to-create-a-custom-yaml-config-file-in-symfony Now I've got config/config_handlers.yml config/client.yml: class:sfDefineEnvironmentConfigHandler param: prefix: client_

Re: [symfony-users] Trying to replace the default 'Required' message

2010-08-25 Thread Michał Piotrowski
2010/8/24 Javier Garcia tirengar...@gmail.com:  Sorry, could you paste the entire validator? I dont understand.. $this-validatorSchema['email_address'] = new sfValidatorAnd(array( new sfValidatorEmail(array('max_length' = 255), array('invalid' = 'Poprawny adres ma postać np.

Re: [symfony-users] Trying to replace the default 'Required' message

2010-08-24 Thread Michał Piotrowski
2010/8/24 Javier Garcia tirengar...@gmail.com:  Hi, im trying to replace the default 'Required' message in this validator:    $this-setValidator('email', new sfValidatorAnd(array(      new sfValidatorEmail(array('required' = true, 'trim' = true)),      new sfValidatorString(array('required'

Re: [symfony-users] Trying to replace the default 'Required' message

2010-08-24 Thread Michał Piotrowski
Eh, sorry, 1 array parameters array('required' = true) 2 array messages array('required' = 'Pole wymagane.') 'required' = true,       'invalid' = 'An account with that email address already exists. If you have forgotten your password, click cancel, then Reset My Password.'),  

Re: [symfony-users] How to add new type to schema?

2010-08-02 Thread Michał Piotrowski
Hi, 2010/8/3 Rafał inad...@gmail.com: Hi, I want to ask for help. I want to add new data type to my schema.yml. I have a field name IP (IP Address) in my application. My Postgresql database has 'inet' data type but I can't use it in my symfony. Could you help me and show some links how to

Re: [symfony-users] Re: How to add new type to schema?

2010-08-02 Thread Michał Piotrowski
2010/8/3 Rafał inad...@gmail.com: On Aug 3, 12:14 am, Michał Piotrowski mkkp...@gmail.com wrote: Hi, 2010/8/3 Rafał inad...@gmail.com: Hi, I want to ask for help. I want to add new data type to my schema.yml. I have a field name IP (IP Address) in my application. My Postgresql

Re: [symfony-users] Re: How to add new type to schema?

2010-08-02 Thread Michał Piotrowski
2010/8/3 RaV inad...@gmail.com: Thanks for your answer. Unfortunatelly I'm using Propel and can't change it into Doctrine. According to http://www.propelorm.org/wiki/Documentation/1.5/Schema you can use this type in Propel 1.5 (maybe in 1.4 too) Form validator can be done in sfValidatorRegex.

Re: [symfony-users] vjCommentPlugin and sfDoctrineGuardUser 5.0.0

2010-07-23 Thread Michał Piotrowski
Hi, 2010/7/23 Gustavo Adrian comfortablynum...@gmail.com: I've recently upgraded sfDoctrineGuardUser from 4.0.1 to 5.0.0 but when doing the rebuild of the db, models, forms... etc, it throws this error: SQLSTATE[HY000]: General error: 1005 Can't create table

Re: [symfony-users] Form date field

2010-07-22 Thread Michał Piotrowski
Hi, 2010/7/22 wueb webmaster@gmail.com: Hi, All my date fields on the forms only have the years from 2005-2015? anynone know where can i change the interval? $years = range(1900, 2015); $years_list = array_combine($years, $years); $this-widgetSchema['date'] = new

Re: [symfony-users] upgrade sfDoctrineGuardPlugin from 4.0.1 to 4.0.2

2010-07-19 Thread Michał Piotrowski
Hi, 2010/7/19 Jonathan Wage jonw...@gmail.com: Hi, Hmm, what other changes were there? It looks like a full trunk to me. I didn't intend to do this. Yes, you did, but as sfDoctrineGuardPlugin 5.0 :) - Jon Regards, Michal -- If you want to report a vulnerability issue on symfony,

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Michał Piotrowski
Hi, 2010/7/9 Ekinox ekinox1...@gmail.com: Hello, I have juste finished reading Symfony2's documentation. It often speaks of a Symfony2 PR3 package. However, when I looked at the installation page ( http://symfony-reloaded.org/code ), I did not see any Symfony2 PR3 package ... The ZIP and

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Michał Piotrowski
W dniu 9 lipca 2010 15:55 użytkownik Michał Piotrowski mkkp...@gmail.com napisał: Hi, 2010/7/9 Ekinox ekinox1...@gmail.com: Hello, I have juste finished reading Symfony2's documentation. It often speaks of a Symfony2 PR3 package. However, when I looked at the installation page ( http

Re: [symfony-users] Symfony2 PR3

2010-07-09 Thread Michał Piotrowski
2010/7/9 Ekinox ekinox1...@gmail.com: So we should use CakePHP ? If you need stable API than yes. But wait! There is a symfony 1.4 with 3 years long term support ;) Regards, Michal -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com

Re: [symfony-users] Re: Symfony2 PR3

2010-07-09 Thread Michał Piotrowski
2010/7/9 Richard D Shank deve...@zestic.com: http://symfony2bundles.org/ Pretty cool! :) Thanks for the link! Regards, Michal -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to

Re: [symfony-users] sfLucene with Symfony 1.4 + Doctrine?

2010-06-29 Thread Michał Piotrowski
Hi, 2010/6/29 Ricardo Jose Guzman Milanes guzman.ricardoj...@gmail.com: Hello I would like to know if this integration is possible. I did this: http://forum.symfony-project.org/index.php/t/24560/ And it's giving me an sfloader class not found error. After some search in Google I found

Re: [symfony-users] print_r / var_dump debugging.

2010-06-07 Thread Michał Piotrowski
Hi, 2010/6/7 Luis Alberto Zarrabeitia zarrabei...@gmail.com: How can you dump a variable in symphony? I usually use print_r or var_dump when I need to check the values/structure of a variable at some point during the execution, but it seems that symphony objects have some kind of circular

Re: [symfony-users] php symfony configure:database mysql:host=localhost;dbname=pist1

2010-06-07 Thread Michał Piotrowski
Hi, Do you have database configured for remote connections? For example default PostgreSQL configuration for Linux allows only localhost connections. Regards, Michal 2010/6/7 DEEPAK BHATIA toreachdee...@gmail.com: When I execute the below php symfony propel:insert-sql Error Message

Re: [symfony-users] Translation request

2010-06-04 Thread Michał Piotrowski
Hi, 2010/6/4 Денис Горбачев denis.gorbac...@trueoffice.ru: Hello everybody! I want my banner to be available in all languages. I ask you to translate the banner message from English into your native language. Currently, we have Russian and German translations. All contributions are greatly

Re: [symfony-users] Lucene-Search

2010-06-01 Thread Michał Piotrowski
Hi, 2010/6/1 comb sa...@gmx.net: Hi! I have 5 different Models that I want to be searchable. I don't know, how to implement the search right now. First thing I think of is Zend Lucene, but I read several times, that the performance is bad (cannot use the java implementation). Performance

Re: [symfony-users] Re: Possible Bug?

2010-05-27 Thread Michał Piotrowski
Hi, 2010/5/28 Jonathan Wage jonw...@gmail.com: It is a bug for sure. We'll take a look and see if we can come up with a workable patch. Same problem here AFAIUI http://trac.symfony-project.org/ticket/8639 Regards, Michal -- If you want to report a vulnerability issue on symfony, please send

Re: [symfony-users] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Michał Piotrowski
Hi, 2010/5/20 Javier Garcia tirengar...@gmail.com: Hi, I have this action below at miembros/actions/actions.class.php: public function executeFoo(sfWebRequest $request){    return $this-renderPartial('foo'); } and in miembros/templates i have _foo.php When i execute it, the css

Re: [symfony-users] Using RenderPartial(): the css files are not loaded

2010-05-20 Thread Michał Piotrowski
2010/5/20 Javier Garcia tirengar...@gmail.com: Thanks Michal, but it doesn't work.. It works fine in my rate system.Let's think about it, first I just do ?php include_partial('rate_show', array(bla, bla..)) ? - it includes rate.css in add method I render _rate.php partial, that also includes

Re: [symfony-users] Re: Symfony 2 : Ready for new projects?

2010-05-19 Thread Michał Piotrowski
2010/5/19 Jean-Marc Fontaine j...@jmfontaine.net: Thanks for your answer Michal! I have been told similar things so we are going to use Symfony 1.4 but the choice between Doctrine 1 and 2 is not made yet. We have got some questions to be answered before we could make a decision. D2 looks

Re: [symfony-users] Symfony 2 : Ready for new projects?

2010-05-18 Thread Michał Piotrowski
Hi, 2010/5/18 Jean-Marc Fontaine j...@jmfontaine.net: Hello, I am wondering whether we should choose version 1.4 or 2 for our new project that will be released this fall. I have used development sf1.3 version for a new app. But it was only _evolution_. Symfony 2 is _revolution_ - and nothing

Re: [symfony-users] Re: I cannot see the images in the browsers of Windows XP (VirtualBox)

2010-05-17 Thread Michał Piotrowski
So you need to add 10.0.2.2 rs.localhost to Windows and Linux host file. Then type rs.localhost in your browser. 2010/5/17 Javier Garcia tirengar...@gmail.com: Can't see means the images are not showed. I have Ubuntu and then I installed VirtualBox with: Windows XP: the images from

Re: [symfony-users] sfJqueryReloadedPlugin tutorial?

2010-05-17 Thread Michał Piotrowski
Hi, 2010/5/17 Fernando Navarro Páez fernando.navarro.p...@gmail.com: Hi! Do you know if exist sfJqueryReloadedPlugin tutorial or similar? It's not exactly sfJquery tutorial http://www.symfony-project.org/book/1_2/11-Ajax-Integration but API is similar - you need to use jq_link_to_remote

Re: [symfony-users] Re: sfJqueryReloadedPlugin tutorial?

2010-05-17 Thread Michał Piotrowski
:45, Michał Piotrowski mkkp...@gmail.com wrote: Hi, 2010/5/17 Fernando Navarro Páez fernando.navarro.p...@gmail.com: Hi! Do you know if exist sfJqueryReloadedPlugin tutorial or similar? It's not exactly sfJquery tutorialhttp://www.symfony-project.org/book/1_2/11-Ajax-Integration but API

Re: [symfony-users] Re: sfJqueryReloadedPlugin tutorial?

2010-05-17 Thread Michał Piotrowski
  =) 2010/5/17 Michał Piotrowski mkkp...@gmail.com 2010/5/17 Fernando Navarro Páez fernando.navarro.p...@gmail.com: Hi, Michał. Thank you, but I think it's incomplete. I'm looking for a step by step tutorial or similar. I have looked for something like that a few months ago and didn't

Re: [symfony-users] I cannot see the images in the browsers of Windows XP (VirtualBox)

2010-05-14 Thread Michał Piotrowski
2010/5/14 Javier Garcia tirengar...@gmail.com: Hi, I've some browsers installed in VirtualBox/Windows XP, and I can not see the images of my web app, neither the images in 'uploads' directory or the images of the debug toolbar. I'm accesing local apache web server through

Re: [symfony-users] Doctrine Migration

2010-05-12 Thread Michał Piotrowski
Hi, 2010/5/12 Garry Freemyer garry...@pacbell.net: I went to the site to add a comment that this bug has me seriously concerned as I have spent some weeks getting to know Symfony and all that is wasted if this is allowed to continue. It would be a showstopper for me. For a severe bug to be

Re: [symfony-users] Doctrine Migration

2010-05-11 Thread Michał Piotrowski
Hi, 2010/5/11 Samuel Morhaim samuel.morh...@gmail.com: Hi, When attempting to do a migration I get the error below. Reading about, it mentions that I am probably missing an index for the key, but I already added it. I also made sure that both the local and foreign key are the same type,

Re: [symfony-users] [RFC] sfUnifiedGuard for Symfony 2

2010-05-05 Thread Michał Piotrowski
2010/5/5 Javier Garcia tirengar...@gmail.com: On 05/04/2010 01:16 PM, Michał Piotrowski wrote: Sounds interesting? Yes, i think would be interesting merging sfDoctrineGuardPlugin, sfDoctrineGuardExtraPlugin it's already merged in sfDoctrineGuardPlugin trunk. Porting for Propel

Re: [symfony-users] Symfony's cache caches my sfDoctrineGuard auth pages... WTF.

2010-05-04 Thread Michał Piotrowski
Hi, 2010/5/4 theredled benoit.guc...@gmail.com: Hi, I have an URI foo/bar?baz=1 that requires authentication, AND which result must be cached. The result is : the cached result is the authentication page. How ironic... Do you know what can be the origin of this problem ? AFAIK there is

[symfony-users] [RFC] sfUnifiedGuard for Symfony 2

2010-05-04 Thread Michał Piotrowski
Hi, Plugins for Symfony 2 will need a major rewrite, so it's an occasion to change a few things. Basic concept: - merge sfGuardPlugin and sfDoctrineGuardPlugin into one plugin - share the same schema - actually both plugins uses different schema - might be a problem if someone want to switch ORM

Re: [symfony-users] The best way to create a form to register new users

2010-05-03 Thread Michał Piotrowski
Hi, 2010/5/3 Gustavo Fonseca gustavof...@gmail.com: Hi, I'm using sfDoctrineGuardPlugin, The best way is to checkout svn version and use of sfGuardRegister Regards, M and i'm creating a form to register a specific user role, that can login on the system, by extending sfGuardUserAdminForm.

Re: [symfony-users] Zend Lucene search

2010-04-14 Thread Michał Piotrowski
Hi, 2010/4/14 Dss dd...@lexis.gr: Hello world! I am using Symfony 1.4 with mySQL and in the database I have a large (150MByets) table from which I want a specific column to be search by Zend framework search engine. Read the tutorial of Symfony but at some point in order to create the

Re: [symfony-users] Where is frontend.php after deploying?

2010-04-13 Thread Michał Piotrowski
2010/4/13 Javier Garcia tirengar...@gmail.com: Hi, after deploying using sf 1.3, where is frontend.php? I didn't get any error during the deployment process. Did you used rsync? What's in config/rsync_exclude.txt ? How should i access my project in production? In sf 1.2 i did somethig

Re: [symfony-users] Doctrine dump and then import failing

2010-04-08 Thread Michał Piotrowski
Hi, 2010/4/9 Samuel Morhaim samuel.morh...@gmail.com: Hi, I have a big schema, and I needed to add a new Table, so I did, while I am testing, I dumped my DB to a fixture and it works well, but when I try to load it back, it gives me this error:  Couldn't call Doctrine_Core::set(), second

Re: [symfony-users] Doctrine dump and then import failing

2010-04-08 Thread Michał Piotrowski
2010/4/9 Samuel Morhaim samuel.morh...@gmail.com: Thank you Michal, But at this stage, I am just developing, the data is erasable, so I am not doing migrations yet. Ah, I understand. The process of create-dump-reload process should work.. no? When you are developing it's easier to use a

Re: [symfony-users] Doctrine dump and then import failing

2010-04-08 Thread Michał Piotrowski
. Organization_2 is loaded after first use as I see. This is why I break data into numbered fixtures - something like 001_base_accounts 100_profiles 120_threads and so on. The point is to first load data that you use as foreign key in other data. 2010/4/8 Michał Piotrowski mkkp...@gmail.com 2010

Re: [symfony-users] Doctrine dump and then import failing

2010-04-08 Thread Michał Piotrowski
2010/4/9 Samuel Morhaim samuel.morh...@gmail.com: Michael, first of all, thank you for all the replies. I already tried that.. it still fails.  I moved keywords to be the last in the fixture, but it still fails.  I also separated the fixtures into 001_data.yml and 002_keywords.yml  and it

Re: [symfony-users] a question about lucene in symfony

2010-04-06 Thread Michał Piotrowski
Hi, 2010/4/6 Lee Joseph name.liz...@gmail.com: I learned how to use lucene to create a index when add or modify data on the  website, but I want to know is this possible  to build index from a existing data in table? and how? I not tried it yet, but I think you need to create task that: -

Re: [symfony-users] Re: a question about lucene in symfony

2010-04-06 Thread Michał Piotrowski
2010/4/6 Lee Joseph name.liz...@gmail.com: thanks a lot, this is so useful! No problem ;) BTW. I'm not sure, but this task probably needs to remove old index at begining. Otherwise you could get doubled results. On 4月6日, 下午2时02分, Michał Piotrowski mkkp...@gmail.com wrote: Hi, 2010/4/6 Lee

Re: [symfony-users] TinyMCE works in IE but not other browsers

2010-04-06 Thread Michał Piotrowski
Hi, 2010/4/7 nurikabe eaow...@gmail.com: Weird.  This has got to be the frist time I've ever had something work for me in IE but not anywhere else. Weird, indeed. In my case it works fine on FF, Opera, Chrome, but not IE. I'm using Symfony 1.0.x and the lastest version of TinyMCE (3.3.2).

Re: [symfony-users] Re: TinyMCE works in IE but not other browsers

2010-04-06 Thread Michał Piotrowski
2010/4/7 nurikabe eaow...@gmail.com: Tried it.  Now it only works in Lynx. :) Ha ha.  No, now it say tinyMCE is not defined.  Hmmm.  Going to trace through the other version. If you have a git repo you can save some time on downloading different versions

Re: [symfony-users] sfGuard and schema.yml problem

2010-04-02 Thread Michał Piotrowski
Witam, Tak na pierwszy rzut oka Twój design jest kiepski i pewnie dlatego nie działa. Jak powinien wyglądać w miarę dobry design? Profil - relacja do sfGuardUser Note - relacja do sfGuardUser Comment - relacja do sfGuardUser i do Note Robisz jakieś dziwne niepotrzebne relacje w profilu.

Re: [symfony-users] Associating a stylesheet to a template of a plugin

2010-04-01 Thread Michał Piotrowski
2010/4/1 Javier Garcia tirengar...@gmail.com: Hi, i have this line below in frontend/config/view.yml: stylesheets:    [main.css] The rules of that file are applied to the templates of the modules of frontend, but no to the templates of sfDoctrineGuardPlugin. Even if i write ?php

Re: [symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Michał Piotrowski
BTW. It's documented way - just read http://www.symfony-project.org/plugins/sfDoctrineGuardPlugin readme Customize sfGuardAuth module actions Regards, Michal Javi On Apr 1, 11:21 am, Michał Piotrowski mkkp...@gmail.com wrote: 2010/4/1 Javier Garcia tirengar...@gmail.com: Hi, i have

Re: [symfony-users] Re: Associating a stylesheet to a template of a plugin

2010-04-01 Thread Michał Piotrowski
W dniu 1 kwietnia 2010 12:34 użytkownik Michał Piotrowski mkkp...@gmail.com napisał: 2010/4/1 Javier Garcia tirengar...@gmail.com: Thanks Michal, but it doesn't work either.. I customized this way three sfDoctrineGuard plugins for my project. It works fine here. ls -R apps/frontend/modules

Re: [symfony-users] how to build my pernal form

2010-04-01 Thread Michał Piotrowski
2010/4/2 Belgacem TLILI belgacem0...@gmail.com: im' searching to do a personnal forms but i have not any idea how to build it plz help meee http://www.symfony-project.org/forms/1_4/en/ http://www.symfony-project.org/jobeet/1_4/Doctrine/en/ -- If you want to report a vulnerability issue on

Re: [symfony-users] Re: question about cache

2010-03-30 Thread Michał Piotrowski
in my case. Thanks for your answer Regards, Michal On Mar 30, 2:41 am, Michał Piotrowski mkkp...@gmail.com wrote: 2010/3/29 Massimiliano Arione garak...@gmail.com: The solution is to not cache the entire action. Just cache parts of it (e.g. partials) It is not possible in my case

  1   2   >