[symfony-users] Re: missing field names in posted form --> Unexpected extra form field "0" ...

2010-08-25 Thread Lutz
Just in case somebody read my question and was wondering The problem seems to be related to access rights on the Sever and does not seem to have anything special to do with Symfony. I was able to reproduce and show the mysterious behaviour by just printing the received $_POST and without any

[symfony-users] setCookie with a different domain

2010-08-25 Thread Mariano Sola
Hi all, how is it going? I'd like to ask you how can I set a domain that is not the same the setCookie method is invoked in order to be read from other domain. Currently I'm doing the following but the cookie is not created: $response = sfContext::getInstance()->getResponse(); $response->setCook

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

2010-08-25 Thread Michał Piotrowski
2010/8/24 Javier Garcia : >  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. przyk...@przyklad.pl', 'max_

[symfony-users] Re: Storing a list of arbitrary length to the DB

2010-08-25 Thread json2001
Ok, so I got a chance to look over some of the examples of the many-to- many relationship in jobeet and askeet and I still have a question. The many-to-many relationship described in those places makes perfect sense to me if there aren't any other variables associated with each item. But since you

[symfony-users] Junior and Mid-level PHP Developer Jobs in Leeds, UK

2010-08-25 Thread Stephen Melrose
MadeByPi in Leeds are looking to hire a Junior and Mid-level PHP developer. For more information, please see the following, http://www.madebypi.co.uk/news/php-development-roles.aspx Cheers, Steve -- If you want to report a vulnerability issue on symfony, please send it to security at symfony

Re: [symfony-users] Re: headers already sent

2010-08-25 Thread Stéphane
Yes, it is the HTTP headers, not the HTML thing. Before Printing, Think about Your Environmental Responsibility! Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale! On Wed, Aug 25, 2010 at 7:11 PM, Florian wrote: > IMHO, this is not a HTML header problem but a HTTP headers probl

[symfony-users] Re: headers already sent

2010-08-25 Thread Florian
IMHO, this is not a HTML header problem but a HTTP headers problem. It happens when php tris to send http headers (via header() function ) after having sent some http body response! On 25 août, 12:57, Lutz wrote: > This message generally occurs, when the webserver is asked to send the > header o

[symfony-users] Symfony 1.4 Doctrine BIG problem clob Oracle

2010-08-25 Thread Gabo
Hello Symfony -users I have Big problem with SYMFONY 1.4+ DOCTRINE AND fiels clob and blob: return Oracle-Clob-return-Resource-id-3 How do I get support symfony clob and blob fields? thanks! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-

[symfony-users] How to set an error message for invalid login with sfGuardAuth plugin?

2010-08-25 Thread Peter Peltonen
I am using symfony 1.2.12 and sfGuardAuth for logging in the users. If user fails to produce a valid username or password, no error message is shown. I've set in sfGuardFormSigninCustom a validator: $this->validatorSchema->setPostValidator(new sfGuardValidatorUser( array(), array('inva

[symfony-users] change html for how mergeRelation embeds?

2010-08-25 Thread Tofuwarrior
Hi, Is ther any way to stop mergeRelation embedding in the right hand td of the form table? I want it to just continue the existing table and, ideally, write a title for the relation and then embed in subsequent trs just as other widgets wouold if it wasn't a relation. Anyone guide the ignorant?

[symfony-users] Re: Credentials for actions in admin generated module

2010-08-25 Thread Thor
there is the credential conditions under the object_actions , you can do something similar to this in your generator.yml to hide the actions list: title: something object_actions: _edit: # no credentials needed _delete: { credentials: [[ credential_name ]] } # that privilege is need

Re: [symfony-users] sfWidgetFormDoctrineChoice problem

2010-08-25 Thread Gustavo Adrian
The dropdown must show every available choice, regardless an option is already selected or not (What would you do if you need to update an item and you want to change that value?). If you need to show only the option selected, you could change the table method used by the widget to change the list

[symfony-users] Credentials for actions in admin generated module

2010-08-25 Thread Tomasz Ignatiuk
Hi I have credentials for module as well as for actions. Unfortunatelly this doesn't work as it should: all: is_secure: on credentials: [[all, product]] edit: is_secure: on credentials: product_edit delete: is_secure: on credentials: product_delete - So module is secured well

[symfony-users] custom url for doctineRouteCollection

2010-08-25 Thread axel at
hello, Car: class: sfDoctrineRouteCollection options: model:Car module: car prefix_path: /car column: id with_wildcard_routes: true to generate the edit url I can use: url_for('@car_edit?id=' . $car->getId()); generates

[symfony-users] Re: Two questions about sfDoctrineApplyPlugin

2010-08-25 Thread Javier Garcia
Well, when i say " As I action in the same in the both pages" I mean "as the action is the same in both pages". On Aug 25, 2:19 pm, Javier Garcia wrote: > No idea? > > On Aug 24, 3:08 pm, Javier Garcia wrote: > > >   Hi, > > > I have found in sfDoctrineApplyPlugin a template called applyAfter.ph

[symfony-users] Re: Two questions about sfDoctrineApplyPlugin

2010-08-25 Thread Javier Garcia
No idea? On Aug 24, 3:08 pm, Javier Garcia wrote: >   Hi, > > I have found in sfDoctrineApplyPlugin a template called applyAfter.php > that shows a message like "You have registered ok...". It is called from > the apply action this way "return 'After';" when the apply form is valid. > > What kind

[symfony-users] Re: headers already sent

2010-08-25 Thread Lutz
This message generally occurs, when the webserver is asked to send the header of the HTML-page, but some content of the body-section had already been send to the client (and so the header). I experienced this behaviour when working with symfony (1.4), when you do have an 'echo' or any other html-o

[symfony-users] Re: headers already sent

2010-08-25 Thread bibob
Hi, Thank you for your answer. I don't find a "bad" space character anywhere in the actions.class or templates of my project. It's curious because when I modify a existing report, I have no problem, but when I create a new one, the problem appears. Maybe, I miss a step ! On 20 août, 23:25, Jochen

[symfony-users] sfWidgetFormDoctrineChoice problem

2010-08-25 Thread Andro Fumero
Hi there, Does anyone tried to limit the result of dropdown to only 1? or atleast just keep the dropdown hidden with selected value? I already set the id of the following dropdown, and i dont need to show other choices anymore. public function executeNew(sfWebRequest $request) { $det

[symfony-users] symfony Day Cologne 2010

2010-08-25 Thread Dennis Benkert
Hi, this year we are organizing a symfony Day again here in Cologne, Germany on 8th October. As last year the conference will be one day long with a sessions and a workshop track. Speakers for this year will be Fabien Potencier, Jonathan Wage, Kris Wallsmith, Pierre Joye, Christian Schaefer and Ga

[symfony-users] Change multiple checkboxes to multiple integers as percentages

2010-08-25 Thread Mihai Rusoaie
Hello all! I am collecting some demografic data with checkboxes right now: 0-4 years, 5-9 years, 10-14 years, etc. The user checks which age ranges matches the demographic data. Here is the schema: bdn_location: - table with the locations bdn_age: id: ~ age: