Re: [fw-general] PDO::prepare cannot find an existing table.

2008-03-27 Thread milan
Hi, the table name is case-sensitive now. for e.g. the table name in mysql db was USERS, while I tried it as users. I got the same error as yours. Waigani wrote: I've got same problem.Using ZF 1.03, trying to connect to mysql table: Zend_Db_Statement_Exception' with message

Re: [fw-general] quoteOutOf?

2008-03-27 Thread Mauricio Cuenca
Hello, This post just gets me more confused, because I'm using $db-quote() in almost all my inserts, but when I get the data back, all my carriage returns are converted to \n\r and single quotes become \'. I also used PHP's stripslashes() but has no effect on carriage returns. Is there an

Re: [fw-general] quoteOutOf?

2008-03-27 Thread Matthew Weier O'Phinney
-- Mauricio Cuenca [EMAIL PROTECTED] wrote (on Thursday, 27 March 2008, 05:20 AM -0700): This post just gets me more confused, because I'm using $db-quote() in almost all my inserts, but when I get the data back, all my carriage returns are converted to \n\r The above is likely something to

[fw-general] ZF bc break with php 5.2.6

2008-03-27 Thread Marco Kaiser
Hi, with the upcomming next release of php one bug feature will change. http://news.php.net/php.internals/36606 any own extended version of a single pattern class that is based on the same mechanism like the Zend_Controller_Front class My_Controller_Front extends Zend_Controller_Front {

Re: [fw-general] Zend_Form

2008-03-27 Thread Matthew Weier O'Phinney
-- SiCo007 [EMAIL PROTECTED] wrote (on Thursday, 27 March 2008, 05:45 AM -0700): I've just started to actually implement Zend Form, so far it's going well but it seems far too difficult (read over the top) to actually make changes to the way the form is displayed. Maybe I'm not understanding

Re: [fw-general] ZF bc break with php 5.2.6

2008-03-27 Thread Matthew Weier O'Phinney
-- Marco Kaiser [EMAIL PROTECTED] wrote (on Thursday, 27 March 2008, 02:14 PM +0100): Hi, with the upcomming next release of php one bug feature will change. http://news.php.net/php.internals/36606 any own extended version of a single pattern class that is based on the same mechanism

Re: [fw-general] ZF bc break with php 5.2.6

2008-03-27 Thread Marco Kaiser
Hi Matthew, okay. Someone should also check other singleton implementations in the framework. -- Marco On Thu, Mar 27, 2008 at 2:49 PM, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: -- Marco Kaiser [EMAIL PROTECTED] wrote (on Thursday, 27 March 2008, 02:14 PM +0100): Hi, with the

Re: [fw-general] Zend_Form

2008-03-27 Thread SiCo007
Thanks, a further question, what is the preffered way of setting custom validator messages, I couldn't get any of the ways I tried (both setting the message by grabbing the validator, which seems like an extra step, trying to pass the messages in an array in addElement and finally trying to set

Re: [fw-general] Zend_Form

2008-03-27 Thread Matthew Weier O'Phinney
-- SiCo007 [EMAIL PROTECTED] wrote (on Thursday, 27 March 2008, 12:50 PM -0700): Thanks, a further question, what is the preffered way of setting custom validator messages, I couldn't get any of the ways I tried (both setting the message by grabbing the validator, which seems like an extra

Re: [fw-general] Zend_Form and empty action

2008-03-27 Thread Joó Ádám
See this one: http://www.w3.org/TR/html4/interact/forms.html#adef-action 'User agent behavior for a value other than an HTTP URI is undefined.' Ádám On Thu, Mar 27, 2008 at 2:09 AM, Steve Clay [EMAIL PROTECTED] wrote: Joó Ádám wrote: an empty path is a relative path, and an empty relative

Re: [fw-general] How to get data after calling $this-_forward()

2008-03-27 Thread Karl Katzke
http://framework.zend.com/manual/en/zend.controller.dispatcher.html The action controller method that controlls such dispatching is _forward(); call this method from any of the pre/postDispatch() or action methods, providing an action, controller, module, and optionally any additional parameters

[fw-general] Bug in Zend Form - On second bad submit, repopulated values incorrect

2008-03-27 Thread Karl Katzke
I have a Zend_Form class used for a login form. When I validate the form once, it repopulates correctly. When I resubmit the form a second time with a bad password value but the correct login value, the login value is repopulated as 'login'. I'm not quite sure what in tarnation could be happening

[fw-general] Re: Bug in Zend Form - On second bad submit, repopulated values incorrect

2008-03-27 Thread Karl Katzke
Nevermind, self-help desk strikes again. On the second bad submit, the URL looks like: localhost/login/login/login/login instead of the proper /login/login. Changing line 8 of the form class to 8 $this-setAction('/login/login'); fixed the problem. Kids, this is why you shouldn't file