[fw-general] Zend Framework - Google analytics problem
Hello, I have created a web application using zend framework however when looking at my site using google analytics I am not getting any hits other than to the blog which is stored on the public directory. Im new to using the MVC design pattern and suspect it has something to do with index.php redirectring requests. Please can someone let me know if there is a way of solving this problem. Thank You Julian -- View this message in context: http://www.nabble.com/Zend-Framework---Google-analytics-problem-tp21559909p21559909.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Zend_Form and File upload
Michel, I think you misunderstood me... You erased the file decorator. Without the file decorator the file element will not be rendered correct. See the link I sent you in my previous mail. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: Michel Morelli mic...@ziobuddalabs.it To: Thomas Weidner thomas.weid...@gmx.at Sent: Tuesday, January 20, 2009 10:28 AM Subject: Re: [fw-general] Zend_Form and File upload Thomas Weidner ha scritto: Btw: What is $decorators ? Why are you erasing the file decorator ? Is there any reason for this ? Simple: I want every form element enclosed into a div element. And in this way it works. I don't think that my decorators are linked with element error. M. -- Michel 'ZioBudda' Morelli mic...@ziobuddalabs.it Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ajaxblog.itMSN: mic...@ziobuddalabs.it JABBER: mic...@gmail.com
Re: [fw-general] Zend_Form and File upload
Michel, this discussion is useless... Please read the link I provided in a previous mail. The FAQ answers all your questions. You even find an example there. Greetings Thomas Weidner, I18N Team Leader, Zend Framework http://www.thomasweidner.com - Original Message - From: Michel Morelli mic...@ziobuddalabs.it To: Thomas Weidner thomas.weid...@gmx.at Sent: Tuesday, January 20, 2009 12:15 PM Subject: Re: [fw-general] Zend_Form and File upload Thomas Weidner ha scritto: Michel, I think you misunderstood me... You erased the file decorator. Without the file decorator the file element will not be rendered correct. My element file is rendered correct. I see it in the html form. I use ViewScript, too. M. -- Michel 'ZioBudda' Morelli mic...@ziobuddalabs.it Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ajaxblog.itMSN: mic...@ziobuddalabs.it JABBER: mic...@gmail.com
[fw-general] Unable to create issue in jira
I have an account in Jira ( http://framework.zend.com/issues/secure/Dashboard.jspa) with the user name 'giorgiosironi' and I am able to login, but no to create a new issue for any Zend_* project. The button in the top green bar simply disappeared. I've read on some forums to login with a full-lowercase username, but it is already my case. -- Giorgio Sironi Piccolo Principe Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
Re: [fw-general] Unable to create issue in jira
did you sign your CLA? -Bart Giorgio Sironi schreef: I have an account in Jira (http://framework.zend.com/issues/secure/Dashboard.jspa) with the user name 'giorgiosironi' and I am able to login, but no to create a new issue for any Zend_* project. The button in the top green bar simply disappeared. I've read on some forums to login with a full-lowercase username, but it is already my case. -- Giorgio Sironi Piccolo Principe Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
Re: [fw-general] Unable to create issue in jira
2009/1/20 Marco markri...@gmail.com I have an account in Jira ( http://framework.zend.com/issues/secure/Dashboard.jspa) with the user name 'giorgiosironi' and I am able to login, but no to create a new issue for any Zend_* project. The button in the top green bar simply disappeared. I've read on some forums to login with a full-lowercase username, but it is already my case. Have you filed a CLA with Zend? If I remember correctly this needs to be done before you can post issues, you might want to email Wil Sinclair w...@zend.com as I think he is the person who looks after the issue tracker etc. No, I don't signed anything as I had created some issues in Jira in the past. - From http://framework.zend.com/wiki/display/ZFPROP/Contributor+License+Agreement We welcome reports of issues or feature requests in our issue trackerhttp://framework.zend.com/issues, and we welcome participation and questions on the mailing listshttp://framework.zend.com/wiki/display/ZFDEV/Contributing+to+Zend+Framework#ContributingtoZendFramework-Subscribetotheappropriatemailinglists. You can also publish articles and code on DevZone http://devzone.zend.com/or on your own blog or website, but anything that constitutes intellectual property cannot be included in Zend Framework unless it is contributed under the terms of the CLA. Is my report of a bug or feature request intellectual property? I don't believe it is needed for a user that finds a bug to sign a paper and fax it to Zend Technologies... -- Giorgio Sironi Piccolo Principe Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
Re: [fw-general] Unable to create issue in jira
Maybe the access was limited to CLA users because of spammers in the past. Mfg Thomas - Original Message - From: Giorgio Sironi piccoloprincipeazzu...@gmail.com To: fw-general@lists.zend.com Sent: Tuesday, January 20, 2009 2:49 PM Subject: Re: [fw-general] Unable to create issue in jira 2009/1/20 Marco markri...@gmail.com I have an account in Jira ( http://framework.zend.com/issues/secure/Dashboard.jspa) with the user name 'giorgiosironi' and I am able to login, but no to create a new issue for any Zend_* project. The button in the top green bar simply disappeared. I've read on some forums to login with a full-lowercase username, but it is already my case. Have you filed a CLA with Zend? If I remember correctly this needs to be done before you can post issues, you might want to email Wil Sinclair w...@zend.com as I think he is the person who looks after the issue tracker etc. No, I don't signed anything as I had created some issues in Jira in the past. - From http://framework.zend.com/wiki/display/ZFPROP/Contributor+License+Agreement We welcome reports of issues or feature requests in our issue trackerhttp://framework.zend.com/issues, and we welcome participation and questions on the mailing listshttp://framework.zend.com/wiki/display/ZFDEV/Contributing+to+Zend+Framework#ContributingtoZendFramework-Subscribetotheappropriatemailinglists. You can also publish articles and code on DevZone http://devzone.zend.com/or on your own blog or website, but anything that constitutes intellectual property cannot be included in Zend Framework unless it is contributed under the terms of the CLA. Is my report of a bug or feature request intellectual property? I don't believe it is needed for a user that finds a bug to sign a paper and fax it to Zend Technologies... -- Giorgio Sironi Piccolo Principe Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
Re: [fw-general] [OT] Image processing
Łukasz Wojciechowski-3 wrote: Since there is no class in ZF for image processing and I know for sure that here are really experienced developer may I ask what (if any) image processing (resizing, cropping, watermarks etc) library are you using. I'm sorry for offtopic, I just can't find anything suitable. -- Łukasz Wojciechowski Vote Imagick ;-) -- View this message in context: http://www.nabble.com/-OT--Image-processing-tp15087627p21567127.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Unable to create issue in jira
2009/1/20 Thomas Weidner thomas.weid...@gmx.at Maybe the access was limited to CLA users because of spammers in the past. Anyone with needed permissions please edit the documentation pages: http://framework.zend.com/community/contribute http://framework.zend.com/wiki/display/ZFDEV/Issue+Tracker+Tips Sorry to point out that I've never seen an open source project requiring a hand-written agreement to file a bug. I've read a discussion in this mailing list today: 2009/1/19 Matthew Weier O'Phinney matt...@zend.com wrote No, actually. When you set it as you did in preDispatch(), there is no check until postDispatch() to see if a redirect occurred. This should likely be changed; care to file an issue in the tracker? The phrase has to be changed in care to print a Cla, sign it, do a 1500+ pixel wide scan and send it to us, wait to be moved your issue tracker user in the developer group, and then file an issue?. IMHO lowering the entry barrier for an user should be useful, there's not intellectual property in a filed bug/feature request. -- Giorgio Sironi Piccolo Principe Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
Re: [fw-general] Re: [zf-contributors] Static HTML Zend_Cache Backend Proposal
Hi, If you want to bypass PHP for basic caching features, have a look at apache mod_cache and send (from PHP) corresponding http headers (expires, etag...). Regards On Tue, Jan 20, 2009 at 3:56 AM, till klimp...@gmail.com wrote: Since this seems to be the thread -- I was wondering, did any of you guys play with etags yet? I've tried them for a week or so and I could dig up my code to demonstrate how far I got, but in the end I couldn't get it to comply with any browser. I tested my code with cURL vs. the Yahoo! frontpage and had it all looking like them -- e.g. it actually sent the correct status code and also the etag, etc., but my efforts caused a blank page in some browsers. Thoughts? Till On Tue, Jan 20, 2009 at 12:50 AM, Nico Edtinger list-zf-gene...@nico.edtinger.at wrote: I was thinking about something similar myself. The problem is not so much getting a static html cache, because that's already possible, but getting a predictable filename and an easy way to access the timeout/expiry, without using PHP. My goal would be using Lighttpd with a very short Lua script to serve a static version, without having to start the PHP interpreter and setting the mtime to a future date as expiry. As it was only an idea and I didn't really had much time I just took a quick look if that would be possible with Zend_Cache, but found out, that methods I'd need are declared as private. nico Pádraic Brady wrote: Hi all, In between writing and actually finishing proposals for a change (Zend_Oauth will be ready this weekend!), I've been putting together some fragments of code I've been using with Zend_Cache over the months. At present, Zend_Cache offers the Page Frontend which does a really great job, but there are cases where caching to static HTML files is an option and I would like to propose such an addition. It's not without it's problems, especially since Backend validation seems to be performed by the Frontend (Zend_Cache_Core has a few private static methods), but I can muddle on through :). Any comments or ideas are welcome. In the future I may also take a stab at looking into integrating cache control closer to our Controllers, Views and Models since to be honest, the present DIY system has me writing lots of wiring code and managing cache expiry manually in a dozen different ways depending on my mood. I like to think adding better integration would alleviate some of this pain for others. Being the writer of mega 4000 word blog posts that I am (think my wrist just fell off...), I've written up a barebones prototype as part of another fabulous put-you-to-sleep blog post. I'll be posting it over the weekend, but if anyone is interested in a quick copy now to see what I'm moaning about, just drop me a line. Best regards, Paddy Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative -- Fabien MARTY fabien.ma...@gmail.com
Re: [fw-general] Unable to create issue in jira
Giorgio, as you may have noted I wrote Maybe. This means that I don't know, but this could be one of the reasons I imagine. There is no reason to respond displeased to me. ;-) regards Thomas - Original Message - From: Giorgio Sironi piccoloprincipeazzu...@gmail.com To: Thomas Weidner thomas.weid...@gmx.at Cc: fw-general@lists.zend.com Sent: Tuesday, January 20, 2009 6:16 PM Subject: Re: [fw-general] Unable to create issue in jira 2009/1/20 Thomas Weidner thomas.weid...@gmx.at Maybe the access was limited to CLA users because of spammers in the past. Anyone with needed permissions please edit the documentation pages: http://framework.zend.com/community/contribute http://framework.zend.com/wiki/display/ZFDEV/Issue+Tracker+Tips Sorry to point out that I've never seen an open source project requiring a hand-written agreement to file a bug. I've read a discussion in this mailing list today: 2009/1/19 Matthew Weier O'Phinney matt...@zend.com wrote No, actually. When you set it as you did in preDispatch(), there is no check until postDispatch() to see if a redirect occurred. This should likely be changed; care to file an issue in the tracker? The phrase has to be changed in care to print a Cla, sign it, do a 1500+ pixel wide scan and send it to us, wait to be moved your issue tracker user in the developer group, and then file an issue?. IMHO lowering the entry barrier for an user should be useful, there's not intellectual property in a filed bug/feature request. -- Giorgio Sironi Piccolo Principe Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
[fw-general] Zend_Auth and Auto login
Hi all. Can someone give me some RTFM about this argument ? Or a code to see. Tnx. -- Michel 'ZioBudda' Morelli mic...@ziobuddalabs.it Consulenza sistemistica in ambito OpenSource. Sviluppo applicazioni web dinamiche (LAMP+Ajax) Telefono: 0200619074 Telefono Cell: +39-3939890025 -- Fax: +39-0291390660 http://www.ziobudda.net ICQ: 58351764 http://www.ziobuddalabs.it Skype: zio_budda http://www.ajaxblog.it MSN: mic...@ziobuddalabs.it JABBER: mic...@gmail.com
Re: [fw-general] Unable to create issue in jira
The phrase has to be changed in care to print a Cla, sign it, do a 1500+ pixel wide scan and send it to us, wait to be moved your issue tracker user in the developer group, and then file an issue?. IMHO lowering the entry barrier for an user should be useful, there's not intellectual property in a filed bug/feature request. AIUI you actually don't need to sign the CLA to post issues, you just need to send an email to c...@zend.com with your username. This was done as Thomas said to stop spammers from hijacking the issue tracker. Regards Marco
Re: [fw-general] Zend Framework - Google analytics problem
-- Julian102 julianr...@live.co.uk wrote (on Tuesday, 20 January 2009, 01:43 AM -0800): I have created a web application using zend framework however when looking at my site using google analytics I am not getting any hits other than to the blog which is stored on the public directory. Im new to using the MVC design pattern and suspect it has something to do with index.php redirectring requests. index.php does not _redirect_ requests, it maps requests to appropriate handlers within the MVC. The end result is that a requested page is handled at the same URI at which it is requested. I have google analytics working on my own ZF-powered site, and have no issues. Is it possible that you don't have the analytics tags setup in your layout script? -- Matthew Weier O'Phinney Software Architect | matt...@zend.com Zend Framework | http://framework.zend.com/
Re: [fw-general] Possible bug in Zend_Test_PHPUnit??
Matthew Weier O'Phinney-3 wrote: -- fab2008 f.napole...@gmail.com wrote (on Sunday, 18 January 2009, 05:20 PM -0800): In every case my interpretation to plugin and redirect behaviour is that when I'm calling setRedirect into the plugin the controller code will not be executed? Is that right? No, actually. When you set it as you did in preDispatch(), there is no check until postDispatch() to see if a redirect occurred. This should likely be changed; care to file an issue in the tracker? Ok, I will do it. One thing, I don't have a debug environment at this moment, but from my tests, it will happen either in web environment or in the testenvironment, so this is i Zend_Plugin issue? Do you confirm this? Thanks for your answer and your attention. -- View this message in context: http://www.nabble.com/Possible-bug-in-Zend_Test_PHPUnit---tp21535557p21569481.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Writing a validator for limit the number of selectable elements
I haven't found any solution to my problem yet, anyone can help me? Thank you very much.. fab2008 wrote: Hi all, I've the following situation: In a form i put a multicheckbox element with a certain number of elements say n. I'want the user select a number of elements between x and y with 0 = x y = n For this i've just tried to write my custom validator extending the Zend_Validate_Between class, overriding its isValid method with something similar to this: public function isValid($value) { return parent::isValid(count($value)); } because I tought that $value is an array, but it's not the case, my validator will be called once per selected checkbox with scalar values. So I've tried a different approach: protected $count = 0; public function isValid($value) { if (++$this-count $this-_max) { return false; } return true; } I'm unsure about correctness, it breaks if the same validator instance will be attached to more than one multi element, and clearly it works only for the max, but not for the min. Any suggestion? -- View this message in context: http://www.nabble.com/Writing-a-validator-for-limit-the-number-of-selectable-elements-tp21511756p21569555.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Unable to create issue in jira
2009/1/20 Thomas Weidner thomas.weid...@gmx.at Giorgio, as you may have noted I wrote Maybe. This means that I don't know, but this could be one of the reasons I imagine. There is no reason to respond displeased to me. ;-) Sorry, I had read it as a sarcastic answer. :) -- Giorgio Sironi Piccolo Principe Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
Re: [fw-general] Re: [zf-contributors] Static HTML Zend_Cache Backend Proposal
Are you using them by themselves, or mixing with other headers like Last-Modified? I haven't had any real problem with them - do you have an example of what you're doing? Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative From: till klimp...@gmail.com To: Nico Edtinger list-zf-gene...@nico.edtinger.at Cc: Pádraic Brady padraic.br...@yahoo.com; Zend Framework General fw-general@lists.zend.com; zf-contribut...@lists.zend.com Sent: Tuesday, January 20, 2009 2:56:55 AM Subject: [fw-general] Re: [zf-contributors] Static HTML Zend_Cache Backend Proposal Since this seems to be the thread -- I was wondering, did any of you guys play with etags yet? I've tried them for a week or so and I could dig up my code to demonstrate how far I got, but in the end I couldn't get it to comply with any browser. I tested my code with cURL vs. the Yahoo! frontpage and had it all looking like them -- e.g. it actually sent the correct status code and also the etag, etc., but my efforts caused a blank page in some browsers. Thoughts? Till On Tue, Jan 20, 2009 at 12:50 AM, Nico Edtinger list-zf-gene...@nico.edtinger.at wrote: I was thinking about something similar myself. The problem is not so much getting a static html cache, because that's already possible, but getting a predictable filename and an easy way to access the timeout/expiry, without using PHP. My goal would be using Lighttpd with a very short Lua script to serve a static version, without having to start the PHP interpreter and setting the mtime to a future date as expiry. As it was only an idea and I didn't really had much time I just took a quick look if that would be possible with Zend_Cache, but found out, that methods I'd need are declared as private. nico Pádraic Brady wrote: Hi all, In between writing and actually finishing proposals for a change (Zend_Oauth will be ready this weekend!), I've been putting together some fragments of code I've been using with Zend_Cache over the months. At present, Zend_Cache offers the Page Frontend which does a really great job, but there are cases where caching to static HTML files is an option and I would like to propose such an addition. It's not without it's problems, especially since Backend validation seems to be performed by the Frontend (Zend_Cache_Core has a few private static methods), but I can muddle on through :). Any comments or ideas are welcome. In the future I may also take a stab at looking into integrating cache control closer to our Controllers, Views and Models since to be honest, the present DIY system has me writing lots of wiring code and managing cache expiry manually in a dozen different ways depending on my mood. I like to think adding better integration would alleviate some of this pain for others. Being the writer of mega 4000 word blog posts that I am (think my wrist just fell off...), I've written up a barebones prototype as part of another fabulous put-you-to-sleep blog post. I'll be posting it over the weekend, but if anyone is interested in a quick copy now to see what I'm moaning about, just drop me a line. Best regards, Paddy Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative
Re: [fw-general] Unable to create issue in jira
Sorry for my disinformation at this point. -Bart Marco schreef: The phrase has to be changed in care to print a Cla, sign it, do a 1500+ pixel wide scan and send it to us, wait to be moved your issue tracker user in the developer group, and then file an issue?. IMHO lowering the entry barrier for an user should be useful, there's not intellectual property in a filed bug/feature request. AIUI you actually don't need to sign the CLA to post issues, you just need to send an email to c...@zend.com mailto:c...@zend.com with your username. This was done as Thomas said to stop spammers from hijacking the issue tracker. Regards Marco
[fw-general] Zend Framework 1.7.3 in now available!
Hi all, It is my pleasure to announce the release of Zend Framework 1.7.3! You can download this new mini release from the ZF download site: http://framework.zend.com/download/latest/ A list of all issues resolved in this release can be found at: http://framework.zend.com/issues/secure/views/IssueNavigator.jspa?reques tId=10923 Please note: There is a known issue with a require statement in ZendX_JQuery: http://framework.zend.com/issues/browse/ZF-5590. We are currently considering issuing a patch to address this issue. Stay tuned! We'd like to once again thank our generous Zend Framework contributors for all the effort they have put in to this release and the project as a whole. Enjoy! ,Wil
Re: [fw-general] Re: [zf-contributors] Static HTML Zend_Cache Backend Proposal
To handle timeout you need to go outside of PHP. I use nginx to do something like add_header Last-Modified $date_gmt (you can do cache control and Expires depending on the files too). nginx's main directives are add_header and expires. It does not support Etags (and probably won't since the developer doesn't find them worth the trouble :)). With a little more work I can even pre-compress the static files with gzip and use ngx_http_gzip_static_module to serve those without impacting the CPU. Those private methods are probably the same ones (or similar) that I met when writing my recent blog entries about this proposal. I've added them to the proposal as a general refactoring point that is a precondition - they are a pain in the ass to work around and I've been using a funky bin2hex/pack('H*',...) (insert other validator buster) adapter to work through them. Anyone have other thoughts on the idea? I might put the proposal up during tomorrow for further comment. Paddy Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative From: Nico Edtinger list-zf-gene...@nico.edtinger.at To: Pádraic Brady padraic.br...@yahoo.com Cc: Zend Framework General fw-general@lists.zend.com; zf-contribut...@lists.zend.com Sent: Monday, January 19, 2009 11:50:56 PM Subject: [fw-general] Re: [zf-contributors] Static HTML Zend_Cache Backend Proposal I was thinking about something similar myself. The problem is not so much getting a static html cache, because that's already possible, but getting a predictable filename and an easy way to access the timeout/expiry, without using PHP. My goal would be using Lighttpd with a very short Lua script to serve a static version, without having to start the PHP interpreter and setting the mtime to a future date as expiry. As it was only an idea and I didn't really had much time I just took a quick look if that would be possible with Zend_Cache, but found out, that methods I'd need are declared as private. nico Pádraic Brady wrote: Hi all, In between writing and actually finishing proposals for a change (Zend_Oauth will be ready this weekend!), I've been putting together some fragments of code I've been using with Zend_Cache over the months. At present, Zend_Cache offers the Page Frontend which does a really great job, but there are cases where caching to static HTML files is an option and I would like to propose such an addition. It's not without it's problems, especially since Backend validation seems to be performed by the Frontend (Zend_Cache_Core has a few private static methods), but I can muddle on through :). Any comments or ideas are welcome. In the future I may also take a stab at looking into integrating cache control closer to our Controllers, Views and Models since to be honest, the present DIY system has me writing lots of wiring code and managing cache expiry manually in a dozen different ways depending on my mood. I like to think adding better integration would alleviate some of this pain for others. Being the writer of mega 4000 word blog posts that I am (think my wrist just fell off...), I've written up a barebones prototype as part of another fabulous put-you-to-sleep blog post. I'll be posting it over the weekend, but if anyone is interested in a quick copy now to see what I'm moaning about, just drop me a line. Best regards, Paddy Pádraic Brady http://blog.astrumfutura.com http://www.survivethedeepend.com OpenID Europe Foundation Irish Representative
[fw-general] openSUSE/SLES 1.7.3 packages
I'm happy to say that Zend Framework 1.7.3 packages for SUSE Linux Enterprise Server (SP2) are now available through the openSUSE build service. *Additionally, the packages for openSUSE have moved* In order to received updated packages through the openSUSE system update applets and services please change your zypper/YaST repositories and add the appropriate repository for your distribution version. You can do this automatically in openSUSE by visiting the 1-Click Install URL for your version. Alternatively you can perform the operation manually using zypper or YaST. 1-Click Install links, URL's, updated details and additional instructions for manually installing ZF packages are available on the wiki. http://framework.zend.com/wiki/display/ZFDEV/Unix+and+Linux+Distribution+Packages Regards Graham
RE: [fw-general] Unable to create issue in jira
Actually, you don't even have to do that. Just go to this address and sign up: http://framework.zend.com/issues/secure/Signup!default.jspa. Since we've upgraded JIRA to enable the CAPTCHA, we don't need to have you mail us to convince us you're a human. :) Some people have complained that they are not able to create issues. This is likely a problem with privileges not being applied correctly. I'm looking in to it. ,Wil From: Marco [mailto:markri...@gmail.com] Sent: Tuesday, January 20, 2009 10:04 AM To: Giorgio Sironi Cc: fw-general@lists.zend.com Subject: Re: [fw-general] Unable to create issue in jira The phrase has to be changed in care to print a Cla, sign it, do a 1500+ pixel wide scan and send it to us, wait to be moved your issue tracker user in the developer group, and then file an issue?. IMHO lowering the entry barrier for an user should be useful, there's not intellectual property in a filed bug/feature request. AIUI you actually don't need to sign the CLA to post issues, you just need to send an email to c...@zend.com with your username. This was done as Thomas said to stop spammers from hijacking the issue tracker. Regards Marco
RE: [fw-general] Unable to create issue in jira
OK, please read this carefully so that we don't cause any more confusion. A CLA is only required if you are contributing code or docs to the project. It is not required for creating a new issue. If you cannot create an issue after signing up with the issue tracker, there is a malfunction in the issue tracker application. I am looking in to it now. ,Wil From: Giorgio Sironi [mailto:piccoloprincipeazzu...@gmail.com] Sent: Tuesday, January 20, 2009 9:16 AM To: Thomas Weidner Cc: fw-general@lists.zend.com Subject: Re: [fw-general] Unable to create issue in jira 2009/1/20 Thomas Weidner thomas.weid...@gmx.at Maybe the access was limited to CLA users because of spammers in the past. Anyone with needed permissions please edit the documentation pages: http://framework.zend.com/community/contribute http://framework.zend.com/wiki/display/ZFDEV/Issue+Tracker+Tips Sorry to point out that I've never seen an open source project requiring a hand-written agreement to file a bug. I've read a discussion in this mailing list today: 2009/1/19 Matthew Weier O'Phinney matt...@zend.com wrote No, actually. When you set it as you did in preDispatch(), there is no check until postDispatch() to see if a redirect occurred. This should likely be changed; care to file an issue in the tracker? The phrase has to be changed in care to print a Cla, sign it, do a 1500+ pixel wide scan and send it to us, wait to be moved your issue tracker user in the developer group, and then file an issue?. IMHO lowering the entry barrier for an user should be useful, there's not intellectual property in a filed bug/feature request. -- Giorgio Sironi Piccolo Principe Ossigeno Scripter http://www.sourceforge.net/projects/ossigeno
[fw-general] Lucene_Search terms with non-letters
Could you tell me why using Lucene search with non-letters symbols (. - ,) cause no results? Here is my code: $index = Zend_Search_Lucene::open('data'); Zend_Search_Lucene_Search_QueryParser::setDefaultEncoding('UTF-8'); $query = new Zend_Search_Lucene_Search_Query_Boolean(); $split_mas = explode(' ', $searchstring); $baseQuery = new Zend_Search_Lucene_Search_Query_Boolean(); foreach ($split_mas as $term) { $baseQuery-addSubquery( new Zend_Search_Lucene_Search_Query_Term( new Zend_Search_Lucene_Index_Term($term, 'body') ), null ); } $query-addSubquery($baseQuery, null); . $hits = $index-find($query); -- View this message in context: http://www.nabble.com/Lucene_Search-terms-with-non-letters-tp21577392p21577392.html Sent from the Zend Framework mailing list archive at Nabble.com.
Re: [fw-general] Writing a validator for limit the number of selectable elements
If the name attribute of the input tag would be like: myChecks[] for all the n checkboxes then the result will come as an array, and u could use in your script: if (!$myValidator-isValid(count($sentArray))) { echo The number of selected checkboxes must be at least x and at most y; } else { //validate the contents of $sentArray and process its values } P.S. Don't write the custom validator unless the functionalities provided cannot be achieved using the existing ones, because the memory is still a limited resource nowadays and you might need it somewhere else. On Tue, Jan 20, 2009 at 21:09, fab2008 f.napole...@gmail.com wrote: I haven't found any solution to my problem yet, anyone can help me? Thank you very much.. fab2008 wrote: Hi all, I've the following situation: In a form i put a multicheckbox element with a certain number of elements say n. I'want the user select a number of elements between x and y with 0 = x y = n For this i've just tried to write my custom validator extending the Zend_Validate_Between class, overriding its isValid method with something similar to this: public function isValid($value) { return parent::isValid(count($value)); } because I tought that $value is an array, but it's not the case, my validator will be called once per selected checkbox with scalar values. So I've tried a different approach: protected $count = 0; public function isValid($value) { if (++$this-count $this-_max) { return false; } return true; } I'm unsure about correctness, it breaks if the same validator instance will be attached to more than one multi element, and clearly it works only for the max, but not for the min. Any suggestion? -- View this message in context: http://www.nabble.com/Writing-a-validator-for-limit-the-number-of-selectable-elements-tp21511756p21569555.html Sent from the Zend Framework mailing list archive at Nabble.com.