[symfony-users] Re: REST webservices

2010-04-08 Thread Beo
Thanks all, I think my question was misleading: I need specifically to define application B, which is separate from application A in terms of code base (so it can't reuse the same schema.yml), and all models/forms/ filters should be similar (but not necessarily equal) to those of A. Just as a

Re: [symfony-users] Re: REST webservices

2010-04-08 Thread Gareth McCumskey
What about creating seperate applications in the same project? Both applications can still use the same model and schema.yml and even the same custom classes you may write if you store them in the root lib/ directory. The only downside is that actions from one application cannot call actions from

[symfony-users] Re: How would you reverse the notnull:true in a schema of a plugin?

2010-04-08 Thread Tom Ptacnik
Did you try to overwrite the schema of sfguard in your schema.yml? Or you can overwrite the form class and do the validation by yourself. On 6 dub, 20:15, Javier Garcia tirengar...@gmail.com wrote: Other opinions? Javi On Apr 3, 2:26 pm, Tom Haskins-Vaughan t...@templestreetmedia.com

[symfony-users] Re: help

2010-04-08 Thread Tom Ptacnik
Maybe you are using Symfony 1.4 and following symfony 1.2 tutorial? On 7 dub, 12:12, safa boubekri boubekri.s...@gmail.com wrote: hello  i cant double  the user  because  it must be  one   but   for the username et  password  i  put exactly i m sure    thank you -- If you want to report a

Re: [symfony-users] nouveau avec sumfony

2010-04-08 Thread Mathias HOUNGBO
Merci je vais fouiller archives. Le 07/04/2010 17:20, Stéphane a écrit : Salut, Ils sont présentés sur le site du projet. http://books.sensiolabs.com/books Je ne sais pas s'il y a une version française; ceci dit il me semble que quelqu'un a traduit les tutoriels en français et

[symfony-users] Re: Symfony 1.4 Switching among multiple databases

2010-04-08 Thread MP
Hello all again, really nobody has answer for this...? Please, if somebody knows it I would be very glad if you can share it. Thanks again, Maria Pascual On Apr 6, 4:11 pm, MP maria.pasc...@gmail.com wrote: Hello all, I am developing an application withSymfony1.4.0 . For this application

[symfony-users] Re: save xml php

2010-04-08 Thread kim
hmmm strange my symfony doesn't recognize the setHeader from getResponse() greetings On 7 apr, 16:45, Stéphane stephane.er...@gmail.com wrote: $this-getReponse()-setHeader('Content-type', $documentMIMEType); in your action ($this is instance of sfActions)

RE: [symfony-users] Re: Customizing Doctrine's messages

2010-04-08 Thread NOOVEO - Christophe Brun
Hi saad, OK, I will look at this i18n process. Thanks for the tip ! -Message d'origine- De : symfony-users@googlegroups.com [mailto:symfony-us...@googlegroups.com] De la part de saad Envoyé : mercredi 7 avril 2010 15:50 À : symfony users Objet : [symfony-users] Re: Customizing

Re: [symfony-users] Re: save xml php

2010-04-08 Thread Stéphane
What is your symfony version ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Apr 8, 2010 at 10:27 AM, kim thechosendra...@gmail.com wrote: hmmm strange my symfony doesn't recognize the setHeader from

[symfony-users] Re: save xml php

2010-04-08 Thread kim
I'm using symfony-1.4.3 and my php version is 5.3 On 8 apr, 09:31, Stéphane stephane.er...@gmail.com wrote: What is your symfony version ? Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Thu, Apr 8, 2010

[symfony-users] Strange Error: no output, no errors in logs. Symfony 1.2, Facebook-App, Apache2, MySQL on Ubuntu 9.10

2010-04-08 Thread Don_Busi
Hi everybody, I'm kind of lost here and hope that any of you has some ideas on what could be wrong with my app/setup. I have a Facebook-Connect Application deployed that works perfectly fine. ( http://www.socialtravelguide.net ) As I continue development on my new laptop (running ubuntu 9.10,

Re: [symfony-users] Re: help

2010-04-08 Thread safa boubekri
so i use symfony 1.3.3 i find solution i must put admin and admin the super user Thaks you -- 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 the Google Groups symfony

[symfony-users] Re: Disable checkbox without loosing value?

2010-04-08 Thread axel at
overwriting the doBind works for me but it's an ugly solution - other frameworks use checkbox widgets with hidden fields to solve this problem, would be nice for symfony too. anyway thx for your solution On 7 Apr., 17:19, Gábor Fási maerl...@gmail.com wrote: It gets overwritten because

[symfony-users] Re: sfOutputEscaper behaviour

2010-04-08 Thread Apul Gupta
It doesn't work. Fatal error: Call to a member function getRawValue() on a non-object Any other? On Apr 7, 5:59 pm, Massimiliano Arione garak...@gmail.com wrote: try $variable-getRawValue() cheers Massimiliano On 7 Apr, 06:07, Apul Gupta apulmca...@gmail.com wrote: No rekarnar,

Re: [symfony-users] Re: save xml php

2010-04-08 Thread Земсков Юрий
I'm using this code in view.yml file located in /config/ folder of the current module: webmoneyXmlSuccess: has_layout: false http_metas: content-description: File Transfer content-type: application/xml content-disposition: 'attachment; filename=payment.xml' Âû ïèñàëè 8 ??

[symfony-users] embedded form - save an extra relation

2010-04-08 Thread Mihai Rusoaie
Hello! I am trying to embed an user profile in a company form. My question is where can I save the relation between the UserProfile and the Client (this is stored in an extra table). Also my UserProfile form does not save (I think it has something to do with the fact that the embedded form is not

[symfony-users] Re: save xml php

2010-04-08 Thread kim
then how do you let this code work if you by example press a button? and i will probaly also need to fix the absolute path of the xml file but i can solve this with an absolute path (so don't worry about that) already thanks for your solution On 8 apr, 11:19, Земсков Юрий y...@zemskov.name

Re: [symfony-users] Re: save xml php

2010-04-08 Thread Земсков Юрий
button points browser to (js) window.location='balance/webmoneyXml' action executeWebmoneyXml() retrieves data modules/balance/templates/webmoneyXmlSuccess.php just echos xml code. and modules/balance/config/view.yml setups headers so xml code will not be displayed, but downloaded by the

[symfony-users] Re: Strange Error: no output, no errors in logs. Symfony 1.2, Facebook-App, Apache2, MySQL on Ubuntu 9.10

2010-04-08 Thread Don_Busi
Hi all, I guess I found the problem. I increased the amount of memory the script was allowed to use (in the php.ini) and the error was gone. The script was probably using to much memory and just died silently. :-/ Cheers, Don On Apr 8, 11:24 am, Don_Busi dominik.busin...@gmail.com wrote: Hi

Re: [symfony-users] Re: Symfony 1.4 Switching among multiple databases

2010-04-08 Thread Tom Haskins-Vaughan
If you will be manually setting up each database, then you can just use multiple connections in your databases.yml file. On Thu, Apr 8, 2010 at 4:23 AM, MP maria.pasc...@gmail.com wrote: Hello all again, really nobody has answer for this...? Please, if somebody knows it I would be very glad

Re: [symfony-users] Re: Strange Error: no output, no errors in logs. Symfony 1.2, Facebook-App, Apache2, MySQL on Ubuntu 9.10

2010-04-08 Thread Alexandru-Emil Lupu
i think you do not have the display_errors and also, check error_reporting = E_ALL directive set in your php.ini ... and this might be the source of all of your problems. No logs = no debugging .. Alecs On Thu, Apr 8, 2010 at 3:36 PM, Don_Busi dominik.busin...@gmail.com wrote: Hi all, I guess

[symfony-users] Re: Event dispatcher: Update front app template

2010-04-08 Thread Dong YANG
Hello everyone, I still can't find the solution, can anyone suggest please? Thanks and Regards, JoJo 2010/4/7 Dong YANG jojoyangd...@gmail.com Hello guys, I have a question about event dispatcher, i would like to know if i am in the right direction. My

[symfony-users] Re: [SOLVED] Working with filters

2010-04-08 Thread Germana Oliveira
The problem was that i was sending the wrong variable name: here public function executeFilter(sfWebRequest $request) { $this-filtro = new DenunciaFormFilter(); } I name it 'filtro' while in my form was 'form', so i changed it and everything is fine know -- If you want to

[symfony-users] Re: save xml php

2010-04-08 Thread kim
thanks your code works but still having one probleme a sign like get interpretted like lt; On 8 apr, 12:20, Земсков Юрий y...@zemskov.name wrote: button points browser to (js) window.location='balance/webmoneyXml' action executeWebmoneyXml() retrieves data

[symfony-users] Is Symfonians source code updated?

2010-04-08 Thread Javier Garcia
Hi, i can't find the Change your password form (Home Profile Change your password). -- Javi Ubuntu 8.04 -- 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 the Google Groups

[symfony-users] ahDoctrineEasyEmbeddedRelationsPlugin problem

2010-04-08 Thread Stéphane
Hi, I'm on a new project, I've installed the new version of the plugin. //part of schema edsProduitLiterieSommier: inheritance: extends: edsProduitLiterie type: column_aggregation keyField: object_class keyValue: edsProduitLiterieSommier edsDimensionsLiterie: inheritance:

[symfony-users] Use event dispatcher on asynchronous mode

2010-04-08 Thread Dong YANG
Hello everyone, I have a question about event dispatcher. Is that possible to call an event dispatcher on asynchronous mode. Because in my function i need to launch an event which takes some seconds, so i just want to continue the rest of the function instead of waiting the end of

Re: [symfony-users] Re: How would you reverse the notnull:true in a schema of a plugin?

2010-04-08 Thread Javier Garcia
On 04/08/2010 09:28 AM, Tom Ptacnik wrote: Did you try to overwrite the schema of sfguard in your schema.yml? Thanks Tom, I tried writing in config/doctrine/schema.yml this: car: columns: brand: type: string(32) and this below in

[symfony-users] What is an internal module?

2010-04-08 Thread martin
I am looking at an installation of Symfony 1.0. I am looking at the core file: /usr/share/php/symfony/controller/sfController.class.php I notice this: // check if this module is internal if ($this-getActionStack()-getSize() == 1

Re: [symfony-users] Event dispatcher: Update front app template

2010-04-08 Thread Andrei Dziahel
Hi. For exactly this purpose you have to use some sort of interprocess messaging queue, like ApacheMQ or whatever. Because simple sfEventDispatcher::notify() calls just won't work in a way you want (I'm too lazy to explain, why). 2010/4/7 Dong YANG jojoyangd...@gmail.com Hello guys, I

[symfony-users] Where did Symfony 1.0 core config data move, after 1.1 was introduced?

2010-04-08 Thread martin
On Symfony 1.0, if I go to the core data config folder: /usr/share/php/data/symfony/config I see: autoload.yml config_handlers.yml core_compile.yml filters.yml logging.yml module.yml security.yml view.yml bootstrap_compile.yml constants.php factories.yml i18n.yml mailer.yml php.yml settings.yml

Re: [symfony-users] Where did Symfony 1.0 core config data move, after 1.1 was introduced?

2010-04-08 Thread Fabian Lange
Its in lib/config/config now and most of the files have been discontinued or integrated somewhere else Fabian On Apr 8, 2010, at 9:03 PM, martin wrote: On Symfony 1.0, if I go to the core data config folder: /usr/share/php/data/symfony/config I see: autoload.yml config_handlers.yml

[symfony-users] Doctrine dump and then import failing

2010-04-08 Thread Samuel Morhaim
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 argument should be an instance of Doctrine_Collection when

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 Samuel Morhaim
Thank you Michal, But at this stage, I am just developing, the data is erasable, so I am not doing migrations yet. The process of create-dump-reload process should work.. no? 2010/4/8 Michał Piotrowski mkkp...@gmail.com Hi, 2010/4/9 Samuel Morhaim samuel.morh...@gmail.com: Hi, I

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 Samuel Morhaim
Yes, exactly, however, either by dumping it, or by writing it myself, its still not allowing me to load that fixture... the only problem area is the Keyword table, but it doesn't make sense This should work both ways.. but its not, so what exactly is it causing that error? Doesnt work: Keyword:

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

2010-04-08 Thread Michał Piotrowski
2010/4/9 Samuel Morhaim samuel.morh...@gmail.com: Yes, exactly, however, either by dumping it, or by writing it myself, its still not allowing me to load that fixture... the only problem area is the Keyword table, but it doesn't make sense This should work both ways.. but its not, so what

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

2010-04-08 Thread Samuel Morhaim
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 also fails. Any other suggestions you can think of ?

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] Doctrine dump and then import failing

2010-04-08 Thread Samuel Morhaim
Ok, here is a simplified form of the error... There is no reason fo this to fail the way its failing.. Schema: Mkq: columns: id:{ primary: true, unique: true, type: integer, notnull: true, autoincrement: true } organization_id: { type: integer } mkqz: