Re: [fw-general] Zend_Controller_Router_Route_Hostname - getParams('id') not working

2009-11-10 Thread drm
Hi jmazzi wrote: routes.survey.type = Zend_Controller_Router_Route_Hostname routes.survey.route = survey.mysite.com survey.mysite.com/id/1 I'd say you need to chain the hostname route to a regular route containing '*' which will map remainder parts to key/value parameters... I'm not 100%

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

2009-11-10 Thread drm
Did you ever find out what was going on?

[fw-general] Add class to a multi option in Zend_Dojo_Form_Element_FilteringSelect

2009-11-10 Thread Ralf Eggert
Hi, I would like to set a css class for some of the options in a Dojo FilteringSelect form element. Is this possible with Zend_Dojo? And if not, is it somehow possible with Dojo FilteringSelect at all? Thanks, Ralf

Re: [fw-general] Zend_Dojo_Form with required elements cannot be sent when invalid

2009-11-10 Thread Ralf Eggert
Hi, has no one any idea for this issue? Thanks, Ralf Ralf Eggert schrieb am 28.10.2009 13:29: Hi, I noticed a weird problem with Zend_Dojo_Form and would like to know if others have similar problems. I have a Zend_Dojo_Form with a couple of elements. Some of them are set to be

[fw-general] pear channel error

2009-11-10 Thread scs
Hello, I think this may not be the right place for a question about pear channel pear.zfcampus.org but could not find any other place for asking. The problem is the error I get while installing zend fw via the pear channel of pear.zfcampus.org Here is the output: pear install zfcampus/zf

Re: [fw-general] pear channel error

2009-11-10 Thread till
On Tue, Nov 10, 2009 at 11:44 AM, scs sasc...@gmail.com wrote: Hello, I think this may not be the right place for a question about pear channel pear.zfcampus.org but could not find any other place for asking. The problem is the error I get while installing zend fw via the pear channel of

Re: [fw-general] pear channel error

2009-11-10 Thread scs
debian 5.0.3 The problem was solved after reboot. Yet I still do not know what made it work. Thanks anyway, sc On Tue, Nov 10, 2009 at 12:54 PM, till klimp...@gmail.com wrote: On Tue, Nov 10, 2009 at 11:44 AM, scs sasc...@gmail.com wrote: Hello, I think this may not be the right place for

Re: [fw-general] Zend + MVC + Dojo pane ?

2009-11-10 Thread forst
weierophinney wrote: -- forst fredfo...@yahoo.com wrote (on Friday, 06 November 2009, 01:26 PM -0800): I'm trying to create a web page using a MVC model (Zend) and some of Dojo/Dijit 's features. My layout is pretty heavy to load each time so I would know if possible to only load each

[fw-general] Zend_Date problem

2009-11-10 Thread umpirsky
Hi zf community. This code: $date = new Zend_Date(null, null, $locale); $date-setTimestamp(1256198496); echo $date-getDate()-toString(Zend_Date::DATES); gives date 21.10.2009. for sr_RS locale (similar for other locales), for en_GB it gives 21 Oct 2009. I expect 22 Oct 2009. it's whole day

[fw-general] baseUrl Problem

2009-11-10 Thread Juan Felipe Alvarez Saldarriaga
Hey!. I'm using zf 1.9.5 and I got this config in the frontController resource: resources = array( frontController = array( baseUrl = /Cesantias, throwExceptions = true ) ) I access the application using this url: http://192.168.20.183/Cesantias

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

2009-11-10 Thread fab2008
drm-4 wrote: Did you ever find out what was going on? No, I haven't. I upgraded to 1.9.5 (from 1.9.4) and I raised memory limit to 512M. I've also added some log messages in my application, this is the result in the last few days: 2009-11-08T15:24:06-05:00 INFO (6): Peak memory usage

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

2009-11-10 Thread keith Pope
2009/11/10 fab2008 f.napole...@gmail.com: drm-4 wrote: Did you ever find out what was going on? No, I haven't. I upgraded to 1.9.5 (from 1.9.4) and I raised memory limit to 512M. I've also added some log messages in my application, this is the result in the last few days:

Re: [fw-general] baseUrl Problem

2009-11-10 Thread nebiros
I comment the base tag in my kayout and now works fine, this example http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.initial.baseurl is wrong, base tag needs an absolute url with the domain part. nebiros wrote: Hey!. I'm using zf 1.9.5 and I got this config in

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

2009-11-10 Thread Matthew Weier O'Phinney
-- Luke Richards luke.richa...@emailcenteruk.com wrote (on Tuesday, 10 November 2009, 02:28 PM +): We use the Zend_Mail classes where I work and we're sending a lot of emails. It was a while ago but I think we had the same problem running out of memory. We tracked the problem down to the

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

2009-11-10 Thread fab2008
keith Pope-4 wrote: 2009/11/10 fab2008 f.napole...@gmail.com: drm-4 wrote: Did you ever find out what was going on? Have you tried using clearstatcache() ? In which manner it could be related to my problem? How to use it, at the end of the loop? -- View this message in context:

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

2009-11-10 Thread Luke Richards
Hi, We use the Zend_Mail classes where I work and we're sending a lot of emails. It was a while ago but I think we had the same problem running out of memory. We tracked the problem down to the ZF SMTP transport. If you are using that try overriding it with the following code. We found the

Re: [fw-general] pear channel error

2009-11-10 Thread Ralph Schindler
That is quite odd, I've seen the zlib issue before. It sounds odd that a reboot fixed it, generally, php-cli re-reads its environment on every run so rebooting, or restarting a service is never really required. Locally I am running pear 1.8.1 Let me know if it's something I need to have a

Re: [fw-general] pear channel error

2009-11-10 Thread scs
Hi Ralph, The pear version is: PEAR 1.9.0 stable In fact, our system administrator installed module-assistant on the server before the reboot. Also there was a .lock file next to pear packages, that I deleted before reboot. And I just looked if the zend fw package was unpacked under

Re: [fw-general] Doctrine backend scaffolding in Zend Framework

2009-11-10 Thread Ralph Schindler
Hey Gerard, You should join in at #zftalk.dev and continue this conversation with Benjamin Eberlei. He was originally authoring Zend_Entity, but has recently dropped this development in favor of Doctrine integration. I think we'll soon see a proposal on here:

[fw-general] Zend_Dojo_Form required RadioButton

2009-11-10 Thread Martin Carpentier
Hi, I'm having a Zend_Dojo_Form with a RadioButton element defined like this: $options = array( 0 = 'no', 1 = 'yes', ); $this-addElement('RadioButton', 'elementName', array( 'label' = 'some label', 'multiOptions' = $options, 'required' = true, )); My form

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

2009-11-10 Thread Luke Richards
Done http://framework.zend.com/issues/browse/ZF-8278 Matthew Weier O'Phinney wrote: -- Luke Richards luke.richa...@emailcenteruk.com wrote (on Tuesday, 10 November 2009, 02:28 PM +): We use the Zend_Mail classes where I work and we're sending a lot of emails. It was a while ago but I

Re: [fw-general] Doctrine backend scaffolding in Zend Framework

2009-11-10 Thread keith Pope
2009/11/10 Ralph Schindler ralph.schind...@zend.com: Hey Gerard, You should join in at #zftalk.dev and continue this conversation with Benjamin Eberlei.  He was originally authoring Zend_Entity, but has recently dropped this development in favor of Doctrine integration. I think we'll soon

Re: [fw-general] Zend_Date problem

2009-11-10 Thread Thomas Weidner
Timezone ? Mfg Thomas - Original Message - From: umpirsky umpir...@gmail.com To: fw-general@lists.zend.com Sent: Tuesday, November 10, 2009 2:23 PM Subject: [fw-general] Zend_Date problem Hi zf community. This code: $date = new Zend_Date(null, null, $locale);

Re: [fw-general] Zend_Date problem

2009-11-10 Thread kobsu
Try Zend_Date::setOptions(array('fix_dst' = true)); before $date = new Zend_Date(); umpirsky wrote: Hi zf community. This code: $date = new Zend_Date(null, null, $locale); $date-setTimestamp(1256198496); echo $date-getDate()-toString(Zend_Date::DATES); gives date 21.10.2009. for

[fw-general] when/where to add a view script path to the stack

2009-11-10 Thread David Mintz
Still confused about this. Suppose you would like a common view script directory to be available to the whole application, such as APPLICATION_PATH . /views/common In my Bootstrap class' _initView(), I tried inserting a $view-addScriptPath(APPLICATION_PATH.'/views/common'); Evidently, that

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

2009-11-10 Thread zpc
I've found a strange issue with Google Chrome and ZF. Here's the setup: Windows XP Chrome 3.0.195.32 Zend Framework 1.9.0 PHP 5.3.0 Apache 2.2.11 In Chrome and only Chrome, if I request http://domain/path, Chrome will invisibly request http://domain/ before it requests the full path. I thought

[fw-general] zfproject.xml

2009-11-10 Thread Ed Lazor
Is there a way to rebuild the zfproject.xml file with Zend_Tool? How do you keep it updated on a project with others when some people use Zend_Tool and others don't? Or is this not a big concern? -Ed

Re: [fw-general] zend lucene

2009-11-10 Thread drm
ctx2002 wrote: i try use zend lucene as my site search engine, then i have found this article, http://dadabase.de/weblog/archives/2009/07/22/recommendation-dont-use-zend-php-lucene. can any one say something about that article? There is one thing in general you should know about these kinds of

Re: [fw-general] zfproject.xml

2009-11-10 Thread Matthew Weier O'Phinney
-- Ed Lazor edla...@internetarchitects.biz wrote (on Tuesday, 10 November 2009, 12:56 PM -0800): Is there a way to rebuild the zfproject.xml file with Zend_Tool? How do you keep it updated on a project with others when some people use Zend_Tool and others don't? Or is this not a big concern?

[fw-general] Documentation

2009-11-10 Thread Benjamin Gonzales
Hi as I do to compile the Zend manual to pdf? Benjamin

Re: [fw-general] zfproject.xml

2009-11-10 Thread Benjamin Eberlei
On Tuesday 10 November 2009 10:01:16 pm Matthew Weier O'Phinney wrote: -- Ed Lazor edla...@internetarchitects.biz wrote (on Tuesday, 10 November 2009, 12:56 PM -0800): Is there a way to rebuild the zfproject.xml file with Zend_Tool? How do you keep it updated on a project with others when

[fw-general] Integration of Zend Tool and Doctrine 1

2009-11-10 Thread Benjamin Eberlei
Hello everyone, I made a first attempt to formulate a possible way to integrate Zend Tool and Doctrine 1. This heavily depends on the Doctrine Zend_Application resource proposal by Matthew Lurz (See References Section of the proposal) aswell as on comments and discussions I had with several

Re: [fw-general] zend lucene

2009-11-10 Thread Matthew Ratzloff
I guess I don't see how comparing the two is totally flawed. You should compare solutions for the dimensions that matter to your use case--in the case of large indices, performance will undoubtedly be one of those dimensions. I had a similar experience with Zend_Search_Lucene and concluded that

Re: [fw-general] Problems using Zend_Dom

2009-11-10 Thread oportell
It seems you are right. The returned object is not countable... it is an object. Although it should theoretically be, because the example in the Zend Documentation counts the results (the matches) the same way. Why is it then, that my code doesn't work...? I am loading the xml file the right

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

2009-11-10 Thread fab2008
Luke Richards wrote: Hi, We use the Zend_Mail classes where I work and we're sending a lot of emails. It was a while ago but I think we had the same problem running out of memory. We tracked the problem down to the ZF SMTP transport. If you are using that try overriding it with the

Re: [fw-general] Zend_Date problem

2009-11-10 Thread Саша Стаменковић
@Thomas Weidner * * date_default_timezone_set('Europe/Stockholm'); is in bootstrap. @kobsu * * *Same result :( * Regards, Saša Stamenković On Tue, Nov 10, 2009 at 6:20 PM, kobsu ko...@iki.fi wrote: Try Zend_Date::setOptions(array('fix_dst' = true)); before $date = new Zend_Date();

Re: [fw-general] Zend_Date problem

2009-11-10 Thread Thomas Weidner
Sorry, but date_default_timezone_set has no effect on the timezone which is actually used by the instance of Zend_Date nor has it effect on DST. My question was related to the instance not your environment. Why don't you output all dateparts from the instance instead of giving partitial

Re: [fw-general] Zend_Date problem

2009-11-10 Thread Саша Стаменковић
How do I set timezone to affect Zend_Date component? I use zend date to create view helper for date formatting. Regards, Saša Stamenković On Wed, Nov 11, 2009 at 8:21 AM, Thomas Weidner thomas.weid...@gmx.atwrote: Sorry, but date_default_timezone_set has no effect on the timezone which is