Re: [fw-general] Problem in displaying favicon in Zend

2009-12-02 Thread shivik
Placing the favicon.ico file in my webroot displays the favicon in Google chrome, but in firefox and safari it still doesn't display. That's just the default behavior I guess. Chrome looks for a favicon in website root, firefox safari don't. What could be going wrong? Thanks and Regards ShiVik

RE: [fw-general] Problem in displaying favicon in Zend

2009-12-02 Thread Sergio Rinaudo
Hi, try use 'shortcut icon' instead of 'favicon' as rel attribute. Sergio Rinaudo Date: Wed, 2 Dec 2009 00:08:18 -0800 From: vikramvmalhotra1...@gmail.com To: fw-general@lists.zend.com Subject: Re: [fw-general] Problem in displaying favicon in Zend Placing the favicon.ico file

RE: [fw-general] Problem in displaying favicon in Zend

2009-12-02 Thread shivik
Oh yes. That works. I tried rel=icon. That works as well. Though why this is happening, seems a bit out of scope here. :-) Thanks and Regards ShiVik Razorblade wrote: Hi, try use 'shortcut icon' instead of 'favicon' as rel attribute. Sergio Rinaudo Date: Wed, 2 Dec

Re: [fw-general] Sudden performance drop - server settings?

2009-12-02 Thread Dan Field
On 2 Dec 2009, at 05:04, M@ wrote: I've checked the following -The hardware is newer and faster -The connection to the db is great, and manual testing from the server shows no issues with large amounts of connections/queries. -The new server is not under heavy load. The sysadmin for this

Re: [fw-general] Sudden performance drop - server settings?

2009-12-02 Thread scs
- You can also use firefox firebug plugin (net console/tab) to check the connection delays/profiles. - We had some issues related to the network in the past. You can also check your network map(traceroute?). - There might be an accelerator software installed on the old server but not on the new

Re: [fw-general] Sudden performance drop - server settings?

2009-12-02 Thread Dan Field
On 2 Dec 2009, at 08:44, Dan Field wrote: On 2 Dec 2009, at 05:04, M@ wrote: I've checked the following -The hardware is newer and faster -The connection to the db is great, and manual testing from the server shows no issues with large amounts of connections/queries. -The new server is

Re: [fw-general] Flash file not displaying in Firefox

2009-12-02 Thread shivik
The HTML source generated by this htmlFlash() looks like this... From a normal embedding of flash file in html, this is missing the embed tag. How should I add that using the htmlFlash helper? Thanks and Regards ShiVik shivik wrote: Just an update - still haven't figured out why this

Re: [fw-general] Flash file not displaying in Firefox

2009-12-02 Thread shivik
Just an update - still haven't figured out why this isn't working Seeing the Page Info on Firefox I am able to see the swf file but, it appears broken. Although I am able to save it. Thanks and Regards ShiVik shivik wrote: Hello all I was just trying to embed a flash file in a zend

Re: [fw-general] observe controller action

2009-12-02 Thread tonystamp
Thanks for the reply, but could you elaborate a bit more- what do you mean by consume? Diego Potapczuk wrote: You could consume the subscription Service that notify the subscribers in the newsController::approveAction. ::: Diego Potapczuk On Tue, Dec 1, 2009 at 8:31 PM, tonystamp

RE: [fw-general] observe controller action

2009-12-02 Thread Vincent de Lau
Consume basically means 'one object using another object'. Basically what it boils down to, is that you should move the code from the controller to an object in the Model layer (a Service is suggested). Both controllers can than consume/use this service to get their work done. Controllers should

Re: [fw-general] observe controller action

2009-12-02 Thread Diego Potapczuk
Exactly. ::: Diego Potapczuk »» Analista de sistemas »» Tel: (71) 3287-8343 / (71) 9144-3062 »» http://www.diegoliveira.com.br On Wed, Dec 2, 2009 at 9:22 AM, Vincent de Lau vinc...@delau.nl wrote: Consume basically means 'one object using another object'. Basically what it boils down to,

Re: [fw-general] Sudden performance drop - server settings?

2009-12-02 Thread Rob Allen
On 2 Dec 2009, at 05:04, M@ wrote: The sysadmin for this new box swears it's setup identically to the old one - yet I can find no other reasons for the problems. Are there specific PHP/Zend settings at the apache/php level that can totally hose PHP/Zend performance? I know this is very

Re: [fw-general] custom validation error messages in ZF = 1.8

2009-12-02 Thread Ryan Lange
It appears I was using an older version of ZF (1.9.1, specifically). This issue was apparently fixed in v1.9.3 ( http://framework.zend.com/issues/browse/ZF-7034). Silly me. On Tue, Dec 1, 2009 at 11:14 AM, Ryan Lange cl1mh422...@gmail.com wrote: It looks like Zend_Filter_Input, for some

Re: [fw-general] Sudden performance drop - server settings?

2009-12-02 Thread dmitrybelyakov
Hi, This indeed should be somehow related to the cache of your application as Rob previously stated. You should check what php cache extension was used and make sure its available. If file cache was used you should check the directories with your caches. You should enable both read/execute

Re: [fw-general] Sudden performance drop - server settings?

2009-12-02 Thread M@
Thanks everyone for the responses... I will have to work with the admin of this particular system to check out the caching. In the meantime, I've followed the Zend optimization instructions to remove all the require_once lines. That seems to have given a dramatic boost in speed - enough to

Re: [fw-general] Sudden performance drop - server settings?

2009-12-02 Thread Tim Fountain
2009/12/2 M@ technologyro...@gmail.com I will have to work with the admin of this particular system to check out the caching. In the meantime, I've followed the Zend optimization instructions to remove all the require_once lines. That seems to have given a dramatic boost in speed - enough

Re: [fw-general] Module Boostraps and parent resources

2009-12-02 Thread Matthijs van den Bos
Yes, If I remember correctly, you can do: $this-getApplication()-bootstrap('db'); $db = $this-getApplication()-getResource('db'); On 13 okt 2009, at 16:34, Philip G wrote: I'm going to do my best to explain this. So, we have the ability to create independent bootstraps for

[fw-general] Return value from controller action

2009-12-02 Thread Jurian Sluiman
Hi all, Is it possible to fetch the return value from a certain function inside an action controller? This is the use case: I have ad admin module and a specific controller. This controller builds a form to edit some data. The data might come from another modules, so I call the admin-controller

[fw-general] Bug in Zend_Rest_Client_Result?

2009-12-02 Thread Joe Czhlobatnik
When using Zend_Rest to hit Google's geomapping service, I'm getting isError() == true all the time, regardless of the server's response. Here's some sample code: $key = 'my secret API key';$address = '1600 Pennsylvania Ave, Washington, DC 20500';$rest = new

Re: [fw-general] observe controller action

2009-12-02 Thread Cameron
I've done a similar thing by using an Events and Subscribe system, my controller abstract has a number of event broadcasts throughout, and it's very simple to build a subscriber that latches on to whatever it needs to in order to satisfy the business rules. I based mine upon some code I found

Re: [fw-general] Return value from controller action

2009-12-02 Thread Diego Potapczuk
I didn´t understand it very well, but here are some tips that maybe help you. Dont´t build Forms inside controllers, make a separated class extending Zend_Form to define it, then use it in the controllers. If you need to construct it with some data, you can make a method in the Form class to do

Re: [fw-general] Flash file not displaying in Firefox

2009-12-02 Thread shivik
Ok. I got the answer to this. I had defined the doctype to XHTML_STRICT in my layout. That is what was causing the problem. I removed it and it works fine now. Thanks and Regards ShiVik shivik wrote: The HTML source generated by this htmlFlash() looks like this... From a

[fw-general] ZendX_JQuery_Form discussion

2009-12-02 Thread umpirsky
Hi. I started using ZendX_JQuery_Form, and noted few things: 1. Replacing ViewHelper with UiWidgetElement produces Zend_Form_Element* not to render correctly. Then I added ugly patch in ZendX_JQuery_Form_Decorator_UiWidgetElement in render method (http://pastie.org/725073 line #13). I don't see

Re: [fw-general] ZendX_JQuery_Form discussion

2009-12-02 Thread Саша Стаменковић
About point 2, now I see: )-addElement( 'selectMenu', 'fuel2', array( 'label' = 'Gorivo:', 'multioptions' = $fuel-fetchAllOptions(), 'JQueryParams' = array('width' = 200) ) logical :) Regards, Saša Stamenković On Thu, Dec 3, 2009 at 8:15 AM, umpirsky umpir...@gmail.com wrote: Hi. I