Re: [fw-general] PHPUnit and ZF

2008-11-25 Thread Giorgio Sironi
2008/11/24 CatharsisJelly [EMAIL PROTECTED] No errors, no tests.. nothing. Now I'm not sure if this is the fault of PHP, ZF or PHPUnit but it took me half a day to find it. As a warning any other coder that if this is happening to you you should check to see if you have a syntax error in your

Re: [fw-general] Zend_Mail - to long subject -- Outlook puts '= ' in subject

2008-11-25 Thread Mauricio Cuenca
I have this same problem with ZF 1.6.1. My mail server is Exchange and long subjects work fine using PHP's mail() function, but not using Zend_Mail. It seems that the problem lays in Zend_Mail-_encodeHeader() method. This is the code used to replicate the issue: // Works $subject = '¿Tu sueldo

[fw-general] ZF Memory usage

2008-11-25 Thread mothmenace
Hello, I recently deployed a ZF based site and have been experiencing memory issues on the server. This isn't to say the problem is with ZF, but I really wanted to ask other people's experiences in a number of areas. Host: Media Temple DV (dedicated virtual) Memory: 256mb Issues: frequent

Re: [fw-general] Zend_Mail - to long subject -- Outlook puts '= ' in subject

2008-11-25 Thread Mauricio Cuenca
I just checked further into the framework and saw that Zend_Mail sends the header to Zend_Mime, then Zend_Mime has a 74 character limit on line length. That's ok because RFC 2822 recommends a maximum header length of 78 characters, but I think that the line should be cut to comply with that,

Re: [fw-general] ZF Memory usage

2008-11-25 Thread keith Pope
Have you tired any of the performance tips in the manual http://framework.zend.com/manual/en/performance.html Also have you tried debugging locally using Xdebug profiling, I use this regularly to catch bottlenecks. Another one to check is if you are using Zend_Db_Table etc that you are not

Re: [fw-general] ZF Memory usage

2008-11-25 Thread Carlos Medina
mothmenace schrieb: Hello, I recently deployed a ZF based site and have been experiencing memory issues on the server. This isn't to say the problem is with ZF, but I really wanted to ask other people's experiences in a number of areas. Host: Media Temple DV (dedicated virtual) Memory: 256mb

Re: [fw-general] ZF Memory usage

2008-11-25 Thread mothmenace
Hi Keith Carlos, first of all many thanks for replying! :) Re: http://framework.zend.com/manual/en/performance.html Class loading - I tried commenting out all require_onces in the Zend lib, this definitely makes a difference if APC is not enabled, but AFAIK, APC with stat turned off means all

Re: [fw-general] New To PHP Zend

2008-11-25 Thread Django Woolf
Sir Having read much introductory aspects about object oriented programming. I feel I have the logic of how its constructs works. I find I learn much faster, when seeing the logic of finished code and then playing around it. Having being thoroughly confused by reading textbooks on HTM CSSL

[fw-general] Unable to find controller index in module admin

2008-11-25 Thread vladimirn
Hello all! I have to add admin folder into my application structure. So far i did like this: /application -admin/ controllers/ ---IndexController.php views/ ---scripts/

Re: [fw-general] Re: Zend_Acl howto know isAllowed is false due to assert fail?

2008-11-25 Thread Julian Davchev
Well, I have fields to show/hide on different conditions for example. Consider show/hide person salary. If user has entered secret password (this would be the assert) he will be allowed to see someone's salary else just a link will be presented to enter secret password. But on other hand if there

Re: [fw-general] Newbie - Specific problem involing layouts, views and a partial

2008-11-25 Thread Matthew Weier O'Phinney
-- Julian102 [EMAIL PROTECTED] wrote (on Tuesday, 25 November 2008, 03:00 AM -0800): Background I have a website that sells DVD's. I have a navigation box which is on every single page of the site in the left column where you can browse the different categories of DVD. The categories in this

Re: [fw-general] ZF Memory usage

2008-11-25 Thread Matthew Weier O'Phinney
-- mothmenace [EMAIL PROTECTED] wrote (on Tuesday, 25 November 2008, 03:27 AM -0800): Hi Keith Carlos, first of all many thanks for replying! :) Re: http://framework.zend.com/manual/en/performance.html Class loading - I tried commenting out all require_onces in the Zend lib, this definitely

Re: [fw-general] Unable to find controller index in module admin

2008-11-25 Thread Matthew Weier O'Phinney
-- vladimirn [EMAIL PROTECTED] wrote (on Tuesday, 25 November 2008, 03:31 AM -0800): Hello all! I have to add admin folder into my application structure. So far i did like this: /application -admin/ controllers/ ---IndexController.php Is

Re: [fw-general] PHPUnit and ZF

2008-11-25 Thread Matthew Weier O'Phinney
-- Giorgio Sironi [EMAIL PROTECTED] wrote (on Tuesday, 25 November 2008, 10:18 AM +0100): 2008/11/24 CatharsisJelly [EMAIL PROTECTED] No errors, no tests.. nothing. Now I'm not sure if this is the fault of PHP, ZF or PHPUnit but it took me half a day to find it. As a warning any

Re: [fw-general] Unable to find controller index in module admin

2008-11-25 Thread vladimirn
Hello Matt, i dunno why is your reply empty to me :) However i find solution for this: In Admin module, i need to name my indexController as Admin_indexController. Also i changed my bootstrap : $frontController-setControllerDirectory( array( 'default' = $base .

[fw-general] ZF 1.7 - Zend Dojo SubmitButton Bug?

2008-11-25 Thread drj201
Hi all, I have created a form class that extends Zend_Dojo_Form. I have various elements (i.e. ComboBox, DateTextBox etc) in the form including a SubmitButton and they all display perfectly in ZF1.6.1. My problem has arrisen since upgarading to ZF 1.7. Since the upgrade the SubmitButton is not

Re: [fw-general] Re: Zend_Acl howto know isAllowed is false due to assert fail?

2008-11-25 Thread Julian Davchev
Yep you got the scenario right. Thanks for insight. I will dig a bit further though cause all acls are controlled by admins and with two settings needed for single field it might come too much to think of :) I think I will be able to utilize internal _getRuleType() to figure out if explicite allow

Re: [fw-general] ZF Memory usage

2008-11-25 Thread mothmenace
Wow thanks Matt. I am using partial() a lot - I will investigate the appendix asap. I've got a page on the site which uses no DB calls, and it still uses 5mb memory without APC, so think that DB use is unlikely the bottleneck now. In XDebug, without APC, I am getting the following values for

Re: [fw-general] ZF 1.7 - Zend Dojo SubmitButton Bug?

2008-11-25 Thread Cameron
it's a known bug, try this: http://www.framework.zend.com/issues/browse/ZF-4977;jsessionid=C628D5128C025969ADFBC9D052740C19?page=com.atlassian.jira.ext.fisheye:fisheye-issuepanel On Tue, Nov 25, 2008 at 10:14 PM, drj201 [EMAIL PROTECTED] wrote: Hi all, I have created a form class that

[fw-general] Netbeans IDE with PHP

2008-11-25 Thread Robert Castley
Just found this: http://www.netbeans.org/downloads/index.html http://www.netbeans.org/downloads/index.html It is a 24Mb download (compared with Eclipse PDT 130Mb) with full PHP, Javascript etc support. The javascript editor is excellent along with code completion etc. The PHP side of

Re: [fw-general] ZF Memory usage

2008-11-25 Thread Matthew Weier O'Phinney
-- mothmenace [EMAIL PROTECTED] wrote (on Tuesday, 25 November 2008, 05:30 AM -0800): Wow thanks Matt. I am using partial() a lot - I will investigate the appendix asap. I've got a page on the site which uses no DB calls, and it still uses 5mb memory without APC, so think that DB use is

Re: [fw-general] ZF 1.7 - Zend Dojo SubmitButton Bug?

2008-11-25 Thread Matthew Weier O'Phinney
-- drj201 [EMAIL PROTECTED] wrote (on Tuesday, 25 November 2008, 05:14 AM -0800): I have created a form class that extends Zend_Dojo_Form. I have various elements (i.e. ComboBox, DateTextBox etc) in the form including a SubmitButton and they all display perfectly in ZF1.6.1. My problem has

[fw-general] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread vladimirn
I grab this code from documentation and tried to reporoduce some result. So, this is a code: public function indexAction() { $form = new ZendX_JQuery_Form ( ); $form-setDecorators ( array ('FormElements', array ('AccordionContainer', array ('id' = 'tabContainer',

Re: [fw-general] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread Benjamin Eberlei
but you enabled the View for Dojo support? Because having both Dojo and jQuery helpers in your view will probably not work! you can try this by doing: $view-getHelperPaths() or $view-getPluginLoader()-getPaths() greetings, Benjamin On Tuesday 25 November 2008 15:55:30 vladimirn wrote: I grab

Re: [fw-general] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread Matthew Weier O'Phinney
-- vladimirn [EMAIL PROTECTED] wrote (on Tuesday, 25 November 2008, 06:55 AM -0800): I grab this code from documentation and tried to reporoduce some result. So, this is a code: snip -- a ZendX_JQuery_Form example... AFTER pointing url to the page, i am getting quite strange error: Fatal

Re: [fw-general] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread vladimirn
Yes, dojo is enabled in bootstrap file. How to avoid this conflict? I am not sure that i know how to use $view-getHelperPath() and $view-getPluginLoader()-getPaths(); Will using this make use of Dojo An JQeury at the same time? Thanks, V beberlei wrote: but you enabled the View for Dojo

Re: [fw-general] ZendX Jquery reports Zend_Dojo error???

2008-11-25 Thread Benjamin Eberlei
you have to make sure, that the jQuery Helper path gets added BEHIND the dojo helper path in the particular module that you are using it in. You have to read the PluginLoader and View Helper manuals on how to make this work. On Tuesday 25 November 2008 17:25:31 vladimirn wrote: Yes, dojo is

Re: [fw-general] Newbie - Specific problem involing layouts, views and a partial

2008-11-25 Thread Julian102
Thanks a lot for the help Matthew Weier O'Phinney-3 wrote: -- Julian102 [EMAIL PROTECTED] wrote (on Tuesday, 25 November 2008, 03:00 AM -0800): Background I have a website that sells DVD's. I have a navigation box which is on every single page of the site in the left column where you

RE: [fw-general] Netbeans IDE with PHP

2008-11-25 Thread Michael Tramontano
How's the css support ? Does it allow you to write custom file extension configurations ? Bet it doesn't compare to Zend studio though ! =P Thanks, Mike Tramontano From: Robert Castley [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 8:45 AM To: fw-general@lists.zend.com

Re: [fw-general] Netbeans IDE with PHP

2008-11-25 Thread András Csányi
2008/11/25 Michael Tramontano [EMAIL PROTECTED]: How's the css support ? Does it allow you to write custom file extension configurations ? Bet it doesn't compare to Zend studio though ! =P I won't argue with you, but NetBeans it's free. Zend Studio isn't. I think this is big difference. I

[fw-general] Cannot consume SOAP Service

2008-11-25 Thread Jan Pieper
Hi guys, I created a small soap service with Zend_Soap_Server and Zend_Soap_AutoDiscover but I cannot consume its data via a java soap client. I tried it all the day but it won´t work. - SNIP - class MyFooService { /** * @return string */ public function

[fw-general] Zend Http Client Adapter Socket Error with Zend RSS

2008-11-25 Thread kwylez
I am getting the following error when I try to consume any RSS feed. Below is the code I am using (from the manual) ?php ini_set('display_errors', 1); require_once 'Zend/Loader.php'; Zend_Loader::registerAutoload(); print function_exists('stream_context_create') ? true : false; //prints true

Re: [fw-general] Cannot consume SOAP Service

2008-11-25 Thread Benjamin Eberlei
this is very valueable input. thank you very much. I have to look into that. Unfortunatly the AutoDiscover and WSDL internals are in very bad shape to extend without easily breaking backwards compability, so i cannot assure you that I can include it in the next mini or minor release. Do i

Re: [fw-general] Cannot consume SOAP Service

2008-11-25 Thread Jan Pieper
No, it do not work after changing it from encoded to literal. I only could create java classes with wsimport [1] after changing it. A teammate also told me to change it to literal for Microsoft Dynamics AX because he is already consuming soap services and they all use literal. The problem I have

RE: [fw-general] Netbeans IDE with PHP

2008-11-25 Thread Robert Castley
IMHO it does compare. The CSS support is also excellent, it doesn't seem to suffer the bug I reported in Eclipse (ages ago!) whereby the CSS syntax of font:11px/14px Verdana; get formatted to: font: 11px/ 14px Verdana; (notice the space) The laptop I currently use (issued through