Re: [fw-general] Zend_Date problem

2009-11-11 Thread Thomas Weidner
Creating the instance affects the timezone. Using set methods affect the timezone. The manual states multiple ways (more than 20?) to affect the timezone. In the code you gave the locale affects the timezone. And we still don't know how your complete date looks like. So all we can do is

Re: [fw-general] Zend_Date problem

2009-11-11 Thread Саша Стаменковић
Looks like you didn't use my piece of code to reproduce the problem: $date = new Zend_Date(null, null, $locale); $date-setTimestamp(1256198496); echo $date-getDate()-toString(Zend_Date::DATES); Using this: $date = new Zend_Date(null, null, $locale); $date-setTimestamp(1256198496); echo

Re: [fw-general] zend lucene

2009-11-11 Thread Daniel Latter
I got the impression that the author used ZL and expected to get the same performance result akin to using Java. This is where my flawed argument comes in. There is no reference to the fundamental difference between the languages and the performance differences this yields, I am not

[fw-general] ZEND_Search_Lucene Range Query

2009-11-11 Thread tkummer
Hello all, I have a Lucene Index with a field containing a custom built date format like 20090105223356 for 2009, May, fist 33:33:56 hour. my Index contains 25000 documents. I'm using th ..Common_TextNum_CaseInsensitive Analyzer. A range query takes minutes (at least forces my soap client to

Re: [fw-general] Zend_Date problem

2009-11-11 Thread Thomas Weidner
Looks like you didn't use my piece of code to reproduce the problem: Look like you did not output all date parts. Why should I use your code when it's obviously wrong ? You set the actual date with time, timezone and DST. F.e. 2009-11-11 05:00:00+02:00 Then you set a timestamp overwriting the

RE: [fw-general] Chrome always loads default controller and action before actual request

2009-11-11 Thread Jared Williams
-Original Message- From: zpc [mailto:zpcha...@gmail.com] Sent: 10 November 2009 19:30 To: fw-general@lists.zend.com Subject: [fw-general] Chrome always loads default controller and action before actual request I've found a strange issue with Google Chrome and ZF. Here's

Re: [fw-general] Zend_Date problem

2009-11-11 Thread Саша Стаменковић
I see, right way would be : $date = new Zend_Date(null, null, $locale); $date-setTimestamp(1256198496); echo $date-toString(Zend_Date::DATES); Big thanks Thomas! Regards, Saša Stamenković On Wed, Nov 11, 2009 at 12:06 PM, Thomas Weidner thomas.weid...@gmx.atwrote: Looks like you didn't use

Re: [fw-general] zend lucene

2009-11-11 Thread Matthew Ratzloff
Yes, but there's no limitations or goals section in the ZSL documentation to give people a clear picture of what they can reasonably expect or what the use cases are. I think this causes unnecessary confusion. -Matt On Wednesday, November 11, 2009, Daniel Latter dan.lat...@gmail.com wrote: I

Re: [fw-general] zend lucene

2009-11-11 Thread Daniel Latter
Maybe so, but I think the confusion is more likely to come from an anticipated performance level based (in this case) on previous experiences with other languages, without really truly understanding your chosen language in question (in this case PHP) I would not say you NEED to know all

Re: [fw-general] Zend_Locale

2009-11-11 Thread asagala
That still doesnt work. thomasW wrote: According to manual the registry key 'Zend_Locale' has to be an instance of Zend_Locale. 'fr_CA' may be a locale, but it's not an instance of Zend_Locale. So when you want to change the application wide locale afterwards you need to change

Re: [fw-general] Zend_Locale

2009-11-11 Thread asagala
By the way you can set the locale string in the constructor. This works in the bootstrap file $locale = new Zend_Locale('en_US'); Zend_Registry::set('Zend_Locale', $locale); I get the issue when I try to overwrite the value in my controllers asagala wrote:

RE: [fw-general] Chrome always loads default controller and action before actual request

2009-11-11 Thread zpc
Jared Williams-3 wrote: Sure it not just requesting http://domain/favicon.ico ? Jared Thanks. That's exactly what's happening. I have no favicon, and my error controller redirect 404s to '/'. -- View this message in context:

[fw-general] zend form addError

2009-11-11 Thread Ralikwen
Hi, I am trying to add custom error to an element. The error is added fine, but its format is different from the errors that normally occure in the form. When an error occurs in the form $form-getMessages () returns an array with the error codes as the key: [usr_passwd] = array(3) {

Re: [fw-general] Incredible memory usage on public server, normal on dev server

2009-11-11 Thread fab2008
fab2008 wrote: Luke Richards wrote: class Yourlibrary_Mail_Transport_Smtp extends Zend_Mail_Transport_Smtp { /** * Send a mail using this transport * * @param Zend_Mail $mail * @access public * @return void * @throws

Re: [fw-general] How to: Zend Dojo Form Dependent Selects (e.g. Country/City)

2009-11-11 Thread zig2na
Can please get what makes up the URL: { url: /data/lookup/table/city/filterName/countryId/filterValue/ + dijit.byId(countryId).value }?? I only understand up to the 'lookup' in URL which is the controller action. From 'table' in the to 'filterValue' in the URL a llitle explaination will me to

Re: [fw-general] How to: Zend Dojo Form Dependent Selects (e.g. Country/City)

2009-11-11 Thread zig2na
Can I please get what makes up the URL: { url: /data/lookup/table/city/filterName/countryId/filterValue/ + dijit.byId(countryId).value }?? My first table name is 'region' wth the ff fields: id, name and the second is 'site' with: id, site_name. I only understand up to the 'lookup' part in the