[fw-general] Zend_Form_Element_Hash
I use a single composite decorator for many of my forms. I find it much easier to work with since most forms for a given project are similar. I'm simply trying to add a Zend_Form_Element_Hash field to a Contact Us form on one of my websites. I've built up the form and everything works fine with the standard decorators. As soon as I implement my custom decorator, when I submit the form, I get the error No token was provided to match against and I can't seem to find the difference between the standard decorators and my custom composite decorator. Would anyone know why this is happening or could you point me in the right direction? Thanks.
[fw-general] Zend_Feed import problem
I just noticed this error using Zend_Feed::import() DOMDocument cannot parse XML: DOMDocument::loadXML() [domdocument.loadxmlhttp://localhost/domdocument.loadxml]: Input is not proper UTF-8, indicate encoding ! Bytes: 0x93 0x74 0x68 0x65 in Entity, line: 26It shows that the Zend_Feed does not work with ñ or equivalent characters in the xml. Is there any workaround with this? Did somebody experienced this error? Thanks, art -- Laurence J. Peter - Originality is the fine art of remembering what you hear but forgetting where you heard it.
Re: [fw-general] Zend_Feed import problem
Thanks Matthew for a quick reply. I'll try to find some other alternatives other than directly call Zend_Feed::import Thanks, art On Sun, Jul 20, 2008 at 2:39 AM, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: -- [EMAIL PROTECTED] [EMAIL PROTECTED] wrote (on Sunday, 20 July 2008, 01:36 AM +0800): I just noticed this error using Zend_Feed::import() DOMDocument cannot parse XML: DOMDocument::loadXML() [domdocument.loadxml]: Input is not proper UTF-8, indicate encoding ! Bytes: 0x93 0x74 0x68 0x65 in Entity, line: 26 It shows that the Zend_Feed does not work with or equivalent characters in the xml. Actually, it's not Zend_Feed that doesn't work with it... it's PHP's own DOMDocument. Typically, these sorts of issues are due to mixing encodings -- make sure you are actually receiving UTF-8 when you pass data to Zend_Feed. Is there any workaround with this? Did somebody experienced this error? -- Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend Framework | http://framework.zend.com/ -- Fran Lebowitz - Food is an important part of a balanced diet.
Re: [fw-general] Logrotate for Zend_Log
I solve this problem by extending the Zend_Log_Writer and implemented a Zend_Log_Writer_Syslog for my consumption. If you want I can provide you with the code. On Wed, Jun 25, 2008 at 7:47 PM, Wolfgang Forstmeier [EMAIL PROTECTED] wrote: Hey List, I would like to know if someone has already thougth about an mechanism for rotating logs withing Zend_Log. As far as I know there is no really clever way to do that with current features. -- With best regards Wolfgang Forstmeier --- mailto:[EMAIL PROTECTED] -- Favorite Quotes: For I know the plans I have for you, declares the LORD, plans to prosper you and not to harm you, plans to give you hope and a future. -- Jeremiah 29:11 - New International Version (NIV) This email and/or attachments are confidential and may also be legally privileged. If you are not the intended recipient, you are hereby notified, that any review, dissemination, distribution or copying of this email and/or attachments is strictly prohibited. Please notify [EMAIL PROTECTED] immediately by email and delete this message and all its attachments. Thank you.
Re: [fw-general] Zend Framework 1.5.2 is now available!
Try now. I did download the new version. On Fri, May 16, 2008 at 12:48 PM, Shekar C Reddy [EMAIL PROTECTED] wrote: As of now, I still can't find v1.5.2 for download. Does it take time to update the site with the new download? Thanks, On Thu, May 15, 2008 at 4:29 PM, Wil Sinclair [EMAIL PROTECTED] wrote: Hi all, It is our pleasure to announce the release of Zend Framework 1.5.2! You can download this new mini release from the ZF download site: http://framework.zend.com/download A list of all issues resolved in this release can be found at: http://framework.zend.com/issues/secure/IssueNavigator.jspa?requestId=10 743 We couldn't have put this release together without the help of our generous Zend Framework community, so we here at Zend once again extend our thanks to everyone who contributed their time and effort to bring you the 1.5.2 release! ,Wil -- Favorite Quotes: For I know the plans I have for you, declares the LORD, plans to prosper you and not to harm you, plans to give you hope and a future. -- Jeremiah 29:11 - New International Version (NIV)
Re: [fw-general] LinkedIn Group
Another one joined! On Mon, Apr 21, 2008 at 7:24 PM, Isaak Malik [EMAIL PROTECTED] wrote: One more that joined :) On Wed, Apr 16, 2008 at 5:20 PM, Eric Marden [EMAIL PROTECTED] wrote: You can join by searching for my profile using my email address, and then clicking on the Zend Frameworks group and clicking join. I've joined too. If you want to connect with me on LinkedIn, make sure to note that you're a ZF user in your personal note on the invitation, or I will probably turn down your invite. I've tried to keep LinkedIn connections limited to those people I've directly worked with in some capacity, but don't have a problem connecting with other professionals that belong to a larger community that I belong to, such as this one. -- Eric Marden -- *From:* Karl Katzke [mailto:[EMAIL PROTECTED] *Sent:* Saturday, April 12, 2008 12:58 PM *To:* Zend Mailing List *Subject:* [fw-general] LinkedIn Group If you're on LinkedIn, I've created a group for Zend Framework Developers. You can join by searching for my profile using my email address, and then clicking on the Zend Frameworks group and clicking join. If anyone at Zend wants to take over as a manager of the group, I'm happy to hand the keys over -- Other PHP groups/frameworks have LinkedIn groups, and I wanted one for us too! Thanks! -Karl -- Isaak Malik Web Developer -- Favorite Quotes: For I know the plans I have for you, declares the LORD, plans to prosper you and not to harm you, plans to give you hope and a future. -- Jeremiah 29:11 - New International Version (NIV) This email and/or attachments are confidential and may also be legally privileged. If you are not the intended recipient, you are hereby notified, that any review, dissemination, distribution or copying of this email and/or attachments is strictly prohibited. Please notify [EMAIL PROTECTED] immediately by email and delete this message and all its attachments. Thank you.
Re: [fw-general] OT: Strange PHP behaviour
By the way, you can also use this link for some of the SPL Standard Library http://www.php.net/~helly/php/ext/spl/ On Wed, Apr 16, 2008 at 5:38 PM, Keith Pope [EMAIL PROTECTED] wrote: Hi this is a little off topic but I thought this would be a good place to ask, I have a really strange php behaviour when using an interface. I have tried finding a bug that matches but no success. Right the code: ?php class User implements SplSubject { public function attach( SplObserver $observer ) { } public function detach( SplObserver $observer) { } //this should fail with fatal?? public function notify( $th1s, $should, $not, $work ) { } } interface ITest { public function notify(); public function test(); } class ATest implements ITest { //this should fail with fatal public function notify( $break ) { } //this should work ok public function test( $dontBreak = 1 ) { } } ? Now when I run this I get: bFatal error/b: Declaration of ATest::notify() must be compatible with that of ITest::notify() in bC:\www\24dash\tests\tmp.php/b on line b24/bbr / Which is exactly what I would expect, but wheres my error for SplSubject??? My PHP version is 5.2.5. What do you think? Thx Keith Pope Web Developer -- allpay.net Limited, Fortis et Fides, Whitestone Business Park, Whitestone, Hereford, HR1 3SE. Registered in England No. 02933191. UK VAT Reg. No. 666 9148 88. Telephone: 0870 243 3434, Fax: 0870 243 6041. Website: www.allpay.net Email: [EMAIL PROTECTED] This email, and any files transmitted with it, is confidential and intended solely for the use of the individual or entity to whom it is addressed. If you have received this email in error please notify the allpay.net Information Security Manager at the number above. -- Arthur N. Layese, Software Engineer InfoWeapons Corporation Unit 702, 7/F Skyrise Bldg., Asiatown I.T. Park, Apas Cebu City, Philippines 6000 Phones: +63.32.238.0088 , +63.32.415.8442 Fax: +63.32.238.0077 Mobile: +63.917.810.2982 Emails: [EMAIL PROTECTED] , [EMAIL PROTECTED] Websites: http://arthur.layese.com , http://www.infoweapons.com , http://artiskool.blogspot.com Favorite Quotes: For I know the plans I have for you, declares the LORD, plans to prosper you and not to harm you, plans to give you hope and a future. -- Jeremiah 29:11 - New International Version (NIV) This email and/or attachments are confidential and may also be legally privileged. If you are not the intended recipient, you are hereby notified, that any review, dissemination, distribution or copying of this email and/or attachments is strictly prohibited. Please notify [EMAIL PROTECTED] immediately by email and delete this message and all its attachments. Thank you.
Re: [fw-general] Zend _Acl Adding resource question
Try reading this links: http://www.nabble.com/Re:-Extend-acl-to-include-modules-p10810058s16154.html http://www.nabble.com/Re:-Extend-acl-to-include-modules-p10810222s16154.html Hope it helps. Best regards, artiskool P.S. Kababayan tayo if I'm not mistaken. On Feb 12, 2008 4:25 PM, Garri Santos [EMAIL PROTECTED] wrote: On Tue, Feb 12, 2008 at 4:17 PM, Jason Qi [EMAIL PROTECTED] wrote: go here http://www.zend.com/en/resources/webinars/framework to see Darby's Webinar Hope this helps Jason. Garri Santos [EMAIL PROTECTED] wrote: Good Day, I have implemented a modular directory structure. modules/ admin/ controllers/ IndexController.php default/ controllers/ IndexController.php How do I add them as a resource to Zend_Acl? Cheers, Garri Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. I have already watched it. It is the basis of the application im making in ZF but in his example is not set to using modules. In my example above they are both IndexController though one is Admin_Index. I thought adding Admin_Index to the resource since that is the objects name but it can't find it as a resource in Zend_Acl. Cheers, Garri -- Arthur N. Layese, Software Engineer InfoWeapons Corporation Unit 702, 7/F Skyrise Bldg., Asiatown I.T. Park, Apas Cebu City, Philippines 6000 Phones: +63.32.238.0088 , +63.32.415.8442 Fax: +63.32.238.0077 Mobile: +63.917.810.2982 Emails: [EMAIL PROTECTED] , [EMAIL PROTECTED] Websites: http://arthur.layese.com , http://www.infoweapons.com , http://artiskool.blogspot.com Favorite Quotes: For I know the plans I have for you, declares the LORD, plans to prosper you and not to harm you, plans to give you hope and a future. -- Jeremiah 29:11 - New International Version (NIV) This email and/or attachments are confidential and may also be legally privileged. If you are not the intended recipient, you are hereby notified, that any review, dissemination, distribution or copying of this email and/or attachments is strictly prohibited. Please notify [EMAIL PROTECTED] immediately by email and delete this message and all its attachments. Thank you.
Re: [fw-general] Zend _Acl Adding resource question
You can also get the basic usage here http://jeremyknope.com/articles/2007/06/18/experience-with-zend_acl-and-usage-example Best regards, artiskool On Feb 12, 2008 4:25 PM, Garri Santos [EMAIL PROTECTED] wrote: On Tue, Feb 12, 2008 at 4:17 PM, Jason Qi [EMAIL PROTECTED] wrote: go here http://www.zend.com/en/resources/webinars/framework to see Darby's Webinar Hope this helps Jason. Garri Santos [EMAIL PROTECTED] wrote: Good Day, I have implemented a modular directory structure. modules/ admin/ controllers/ IndexController.php default/ controllers/ IndexController.php How do I add them as a resource to Zend_Acl? Cheers, Garri Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. I have already watched it. It is the basis of the application im making in ZF but in his example is not set to using modules. In my example above they are both IndexController though one is Admin_Index. I thought adding Admin_Index to the resource since that is the objects name but it can't find it as a resource in Zend_Acl. Cheers, Garri
Re: [fw-general] Changing views specific for ajax
I think this is a great approach and I do something very similar but I also throw an indicator in the url so it is very easy to recognize service type call vs a normal output page. For example http://mydomain.com/Xsearch/now the capital X is very easy to know right off the bat that this is could be json, html xml etc. etc Nice when looking at your controllers too. Brian back-2-95 wrote: I used the $this-_request-isXmlHttpRequest() to determine if request is made with ajax. This works with jQuery. Then I have made following rows to be called automatically, when $this-_request-isXmlHttpRequest() is true. $this-getFrontController()-setParam('noViewRenderer', true); $this-getResponse()-setHeader('Content-type', 'text/html'); Now I can decide freely what kind of response to send to ajax-function. Json, html, xml... I can use normally $this-view object and render different view script when called from ajax. example from some action method: when this is called from ajax, viewRenderer won't auto-render (made in preDispatch). I change the view script to be rendered at the bottom of method (when called from ajax). If this action is called directly from browser, it will auto-render view script with default filename (/view/scripts/{controller}/{action}.phtml public function detailAction() { $this-view-title= File_ImageController::detailAction; $this-view-src = /image/src/$this-_filename; $this-view-width= $this-_width; $this-view-height = $this-_height; $this-view-download = /download/$this-_filename; if ($this-_request-isXmlHttpRequest()) { $this-render('detail-ajax-version'); // } } I hope this helps you or somebody... ZF rocks!
[fw-general] Acl and Auth
Hi again, I tried Zend_Auth and Zend_Acl as well. I managed to use Auth successfully and also managed to implement my own Zend_Acl descendent. I'm asking myself now how I can combine these two classes. I.e. if I have a user 'stephan', how and where should I assign roles to this user ('guest', 'member' etc.) and how should I then query access rights to objects for these roles? Did you already try this out? Best regards, Stephan
[fw-general] Problem With Oracle
Hi, we are using zend frame work for development. Our application support three databases MYSQL,MSSQL and ORACLE. With Oracle we are facing one problem it is returning selected column names of the table in uppercase while we have declared column names in lowercase during creation of table and because of that we are not able to get the values from the recordset. here i am giving you some code to clear the problem. $rightrow = $db-fetchRow(select rep_right from e11contact_rep where user_name='$user_id' ); $repright = $rightrow[rep_right]; but its returning REP_RIGHT as key value Regards, Dharmendra Value one mail2web - Check your email from the web at http://mail2web.com/ .