Re: [fw-general] Zend_Validate

2007-03-28 Thread Guillaume Millet
Hi Alex, If you're trying to validate data like your name using Zend_Validate_Alpha, you may want to try and set PHP's locale to German using setlocale() if it's not already done. Regards, Guillaume Lx a écrit : Simon R Jones schrieb: Hi Alexander, Some domain names have been set up

[fw-general] Zend_Db_Table_Row: underscore_words to camelCaps conversion

2007-03-28 Thread Ivan Ruiz Gallego
Hello, From the manual (http://framework.zend.com/manual/en/zend.db.table.row.html): Next, retrieve one record from the database using Zend_Db_Table::find() with a single key, or by using Zend_Db_Table::fetchRow(). The returned result will be a Zend_Db_Table_Row object where each property in

Re: [fw-general] Zend_Search_Lucene dies on update

2007-03-28 Thread Alexander Veremyev
Hi Craig, You are right, that index reopening is not very efficient. From the other side it's not good that reopening fails now. The problem is in the PHP objects handling. Zend_Search_Lucene class contains Writer object intended to add documents into index. Writer has reference to

Re: [fw-general] Zend_Db_Table_Row: underscore_words to camelCaps conversion

2007-03-28 Thread Art Hundiak
The camelCaps stuff has been removed. Might want to file an issue concerning the documentation. Perhaps read through the rest of it carefully and see if any other mention of camels exist and then list them all. Ivan Ruiz Gallego-2 wrote: Hello, From the manual

Re: [fw-general] Zend_Validate

2007-03-28 Thread Alexander Jäger
Hello Guillaume, thats a simple solution somtimes i don´t see the forest, because of all the trees. thanks. Alex Guillaume Millet schrieb: Hi Alex, If you're trying to validate data like your name using Zend_Validate_Alpha, you may want to try and set PHP's locale to German using

[fw-general] No error output on page with ZF 0.9.1, just blank page

2007-03-28 Thread Jeunejean Pierre
I trying to migrate some applications from ZF 0.7 to ZF 0.9, but what a nightmare. But errors such as Native SQLite errors or non existing class error (such as Zend_Filter_Input) are not outputed on the screen, sometimes in apache logs files, but not all. In most of the times, I get a blank

Re: [fw-general] No error output on page with ZF 0.9.1, just blank page

2007-03-28 Thread Alan Wagstaff
Hi Pierre, A few suggestions that have helped me in the past: 1. Check display_errors is on in the php.ini file - this should help you track them down whilst migrating the scripts 2. Turn off any caching software that you have running on the server or output buffering on the scripts - many a

Re: [fw-general] No error output on page with ZF 0.9.1, just blank page

2007-03-28 Thread Philippe Le Van
But errors such as Native SQLite errors or non existing class error (such as Zend_Filter_Input) are not outputed on the screen, sometimes in apache logs files, but not all. In most of the times, I get a blank page Hi, try to add the line : $controller-throwExceptions(true); in your index.php

Re: [fw-general] Zend_Validate

2007-03-28 Thread Alexander Jäger
Sorry to bother, I try to validate a variable cotaining my lastname jäger. $alpha = new Zend_Validate(); $alpha-addValidator(new Zend_Validate_StringLength(1, 64)); $alpha-addValidator(new Zend_Validate_Alpha()); $var1 = jäger if ($alpha-isValid($var1) { echo $var1 . 'is Valid'; } else {

Re: [fw-general] Zend_Validate

2007-03-28 Thread Darby Felton
Hi Alex, The issue you experience is related to ZF-269: http://framework.zend.com/issues/browse/ZF-269 Thanks for the report! Best regards, Darby Alexander Jäger wrote: Sorry to bother, I try to validate a variable cotaining my lastname jäger. $alpha = new Zend_Validate();

[fw-general] Problem reading segments file from Apache Lucene

2007-03-28 Thread Dave Dash
-- View this message in context: http://www.nabble.com/Problem-reading-segments-file-from-Apache-Lucene-tf3481741s16154.html#a9718394 Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Zend Search: Problem reading segments file from Apache Lucene 2.1

2007-03-28 Thread Dave Dash
I'm using Apache Lucene to index about 70K records The following was created: _1pp.cfs _2kk.cfs _3ff.cfs _4aa.cfs _555.cfs _588.cfs _5bb.cfs _5ee.cfs _5hh.cfs _5kk.cfs _5nn.cfs _5qq.cfs _5tt.cfs _5u4.cfs _5uf.cfs _5uq.cfs _uu.cfs segments.gen segments_bpj Zend Search Lucene however is looking

Re: [fw-general] Zend Search: Problem reading segments file from Apache Lucene 2.1

2007-03-28 Thread Alexander Veremyev
Hi Dave, Zend_Search_Lucene supports Apache Lucene 1.9 file format. Format was changed in v2.1. One of the changes is the segments list. It's stored in a 'segments_N' file instead of 'segments' now. Please use Apache Lucene 2.0 to be compatible with Zend_Search_Lucene. PS I've also created

[fw-general] Zend Controller: get controller instance from within a plugin

2007-03-28 Thread gMail
Hello all, Can I get an action controller instance from within a controller plugin (class MyPlugin extends Zend_Controller_Plugin_Abstract). The method, described in the manual, seems to be no longer valid: $dispatcher = Zend_Controller_Front::getInstance()-getDispatcher();

[fw-general] Zend_Service_RememberTheMilk

2007-03-28 Thread Matthew Turland
Just a note to those that review proposals, I've posted a new one: Zend_Service_RememberTheMilk. /shameless_plug BTW, what's the average wait on getting a proposal approved these days? Thanks! Matthew Turland

RE: [fw-general] Zend_Service_RememberTheMilk

2007-03-28 Thread Bill Karwin
We're not spending a lot of time reviewing proposals currently. We appreciate the contributions, and there are some really great ideas in the queue, but the scope of Zend Framework 1.0 has reached a stable point. We're not adding anything more right now, because the short-term goal is to reach

[fw-general] Re: Stuck in loop with Zend_Controller_Action::_forward() and Zend_Controller_Plugin_Abstract::preDispatch()

2007-03-28 Thread Simon Mundy
Hi Nick No mystery there - having the auth logic embedded within the Controller means preDispatch will be called each time the controller is called... sending it onto the same controller... with the same preDispatch... etc... I'd recommend either:- a) Moving the preDispatch controller

[fw-general] Re: Stuck in loop with Zend_Controller_Action::_forward() and Zend_Controller_Plugin_Abstract::preDispatch()

2007-03-28 Thread Nick Lo
Hi Simon, Thanks for the super quick reply, I didn't mean to summons you to an answer by the way, I just cc'd past you since I was using your code and thought you might be interested. I don't quite follow but, suspecting I may be being dense here, I'll go ahead anyway... No mystery

Re: [fw-general] No error output on page with ZF 0.9.1, just blank page

2007-03-28 Thread Nahalingam N. Kanakavel
Hi, try adding this line also in index.php. error_reporting (E_ALL | E_STRICT); On 28/03/07, Philippe Le Van [EMAIL PROTECTED] wrote: But errors such as Native SQLite errors or non existing class error (such as Zend_Filter_Input) are not outputed on the screen, sometimes in apache logs

[fw-general] Re: Stuck in loop with Zend_Controller_Action::_forward() and Zend_Controller_Plugin_Abstract::preDispatch()

2007-03-28 Thread Simon Mundy
Hey, no worries. I'm here and I'm finding any excuse to get distracted at the moment :) I had read your code too quickly - yes indeed, you're using a plugin. It looks to me that you're requesting a controller name that the ACL is returning as a DENY. And then you're _forward'ing to another