[fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Greg Frith
Hi all, I'm having some routing problems which I don't necessarily think the group are going to be able to answer directly, but maybe give me some pointers as to how I may debug further. I have developed a site on my local machine where everything is working just fine. Yesterday I

Re: [fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Simon Mundy
Hi Greg What happens on the new box if you have 'ComingsoonController.php' (with the lowercase 's') and the class is named 'ComingsoonController'? Could anyone suggest any where I might start looking and debugging further? Perhaps somewhere where the actual path to the action

Re: [fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Greg Frith
It works! I didn't think this one was going to be so simple to solve! Well kind of, so why is one box treating case differently to another?? I'll have to carefully read the docs on naming conventions. Thanks Simon. On 15 Aug 2007, at 08:50, Simon Mundy wrote: Hi Greg What happens on

Re: [fw-general] Zend_Filter_Input()

2007-08-15 Thread ivo trompert
Brenton Alker wrote: ivo trompert wrote: ... But the problem now is that if I give the second field a message (the second field is the 'username') like this: 'name' = array('NotEmpty', 'messages' = 'Voornaam is verplicht!'), 'username' = array('NotEmtpy',

[fw-general] Zend_Validate static $_messageTemplates

2007-08-15 Thread Jack Sleight
Off the back of the post by Ivo Trompert regarding changing the error messages returned by Zend_Filter_Input, would it be beneficial to make the $_messageTemplates property of each validator static? So they can be customised easily, validator wide, rather than per instance? -- Jack

Re: [fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Simon Mundy
No great magic here - your first server is obvious case-insensitive for filenames and the second is not. The router uses CamelCase for its class names, but the _whole_ controller name is turned into word case for the sake of consistency. So MyNewRssController should really be written as

[fw-general] Zend_Filter_Input: extending the wildcard feature

2007-08-15 Thread Mark Maynereid
Hi, I'm interested in seeing Zend_Filter_Input's wildcard feature extended to support wildcard expressions similar to file globbing eg. 'someRule*whatever*bla*'.' I've added a code snippet below that seems to provide it. I see the manual supports only '*' as a wildcard in filter/validator

Re: [fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Greg Frith
Thanks Simon. Of course. For the benefit of the thread, my first server is OS X using the OSX Extended filesystem, which preserves case but isn't case sensitive. The second server is Ubuntu using ext3 filesystem which is case sensitive. I should have spotted this earlier! Now for a

[fw-general] Routing problem

2007-08-15 Thread Greg Frith
Hi all, I'm having some routing problems which I don't necessarily think the group are going to be able to answer directly, but maybe give me some pointers as to how I may debug further. I have developed a site on my local machine where everything is working just fine. Yesterday I

[fw-general] Wiki and JIRA down again

2007-08-15 Thread Jack Sleight
-- Jack

Re: [fw-general] Zend Studio IDE 5.0

2007-08-15 Thread Kexiao Liao
I have Zend Debugger v5.2.6 enable on my server and it works well for my Zend Studio IDE. However when I try to debug the php application on the server using PDT, it just stay there, and never go forward? How do we enable Debugger on the server? Alex Netkachov wrote: On 8/14/07, Kexiao Liao

Re: [fw-general] Wiki and JIRA down again

2007-08-15 Thread Darby Felton
Up and running again, thanks for the report! Best regards, Darby Jack Sleight wrote:

Re: [fw-general] Zend_Validate static $_messageTemplates

2007-08-15 Thread Darby Felton
Hi Jack, It seems like a good new feature request to be able to modify class configuration (e.g., through use of static variables) in addition to the existing ability to configure instances separately. Would you mind filing a JIRA issue for this? Best regards, Darby Jack Sleight wrote: Off

RE: [fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Duncan, Craig
This one is very non-intuitive. Class names have their case preserved but file and directory names related to them have not . Class: MyNewRssController File: Mynewrsscontroller.php Views: views/ mynewrsscontroller/myaction.phtml Not sure why this was they decided to do it this way, it

Re: [fw-general] Zend_Validate static $_messageTemplates

2007-08-15 Thread Jack Sleight
Will do. Darby Felton wrote: Hi Jack, It seems like a good new feature request to be able to modify class configuration (e.g., through use of static variables) in addition to the existing ability to configure instances separately. Would you mind filing a JIRA issue for this? Best regards,

[fw-general] Implement LDAP by using Zend_Auth

2007-08-15 Thread Kexiao Liao
I am new to Zend_Auth, I need to use Zend_Auth for the LDAP authentication. I just wonder how do I query the LDAP Service Server by using Zend_Auth class. Can anyone give me a sample codes to implement this? Thanks in advance. -- View this message in context:

Re: [fw-general] trap php errors in error controller

2007-08-15 Thread Mike Fern
On 8/10/07, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: You can only trap E_USER_*, E_NOTICE, E_WARNING, E_STRICT, and the new E_RECOVERABLE_ERROR in an error handler; fatal, parse, and compile errors cannot be trapped. You typically don't want to trap stricts or notices, and you have

Re: [fw-general] Implement LDAP by using Zend_Auth

2007-08-15 Thread Jack Sleight
In addition to my last message, it looks as though there is a working prototype available here: http://framework.zend.com/issues/browse/ZF-994. See the manual for details on using Zend_Auth: http://framework.zend.com/manual/en/zend.auth.html Kexiao Liao wrote: I am new to Zend_Auth, I need

Re: [fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Mike Fern
On 8/15/07, Duncan, Craig [EMAIL PROTECTED] wrote: This one is very non-intuitive. Class names have their case preserved but file and directory names related to them have not . Class: MyNewRssController File: Mynewrsscontroller.php Views: views/ mynewrsscontroller/myaction.phtml

Re: [fw-general] trap php errors in error controller

2007-08-15 Thread Matthew Weier O'Phinney
-- Mike Fern [EMAIL PROTECTED] wrote (on Wednesday, 15 August 2007, 09:30 PM +0700): On 8/10/07, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: You can only trap E_USER_*, E_NOTICE, E_WARNING, E_STRICT, and the new E_RECOVERABLE_ERROR in an error handler; fatal, parse, and compile

Re: [fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Matthew Weier O'Phinney
-- Greg Frith [EMAIL PROTECTED] wrote (on Wednesday, 15 August 2007, 08:44 AM +0100): Hi all, I'm having some routing problems which I don't necessarily think the group are going to be able to answer directly, but maybe give me some pointers as to how I may debug further. I have developed

Re: [fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Matthew Weier O'Phinney
-- Simon Mundy [EMAIL PROTECTED] wrote (on Wednesday, 15 August 2007, 06:34 PM +1000): No great magic here - your first server is obvious case-insensitive for filenames and the second is not. The router uses CamelCase for its class names, but the _whole_ controller name is turned into word

Re: [fw-general] Routing problems - Invalid controller specified

2007-08-15 Thread Matthew Weier O'Phinney
-- Duncan, Craig [EMAIL PROTECTED] wrote (on Wednesday, 15 August 2007, 10:17 AM -0400): This one is very non-intuitive. Class names have their case preserved but file and directory names related to them have not . Class: MyNewRssController File: Mynewrsscontroller.php Views:

Re: [fw-general] no php closing tag?

2007-08-15 Thread Nico Edtinger
Or your mail clients needs a 'reply to all' option. [12.08.2007 09:41] Vinny wrote: This list really needs a reply-to header, I'd replied that I saw the light a few emails ago, but realized that it just went to one person. Sigh.

Re: [fw-general] trap php errors in error controller

2007-08-15 Thread Mike Fern
On 8/15/07, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: $response-isException() indicates an exception exists. You can then fetch the exception stack (response object puts all exceptions trapped into an internal array) by using: $exceptions = $response-getException(); You can

Re: [fw-general] trap php errors in error controller

2007-08-15 Thread Matthew Weier O'Phinney
-- Mike Fern [EMAIL PROTECTED] wrote (on Wednesday, 15 August 2007, 11:07 PM +0700): On 8/15/07, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: $response-isException() indicates an exception exists. You can then fetch the exception stack (response object puts all exceptions trapped

Re: [fw-general] trap php errors in error controller

2007-08-15 Thread Mike Fern
On 8/15/07, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote: As noted above, use the ErrorHandler. You can then grab the exception stack from the response in your error controller's error action, and do what you need to do with it (format and return trace strings, etc). Hi Matthew, Thanks.

[fw-general] Shamelss plug: Zend_Validate_Builder - wildcards and custom errors

2007-08-15 Thread Bryce Lohr
I couldn't stop myself from shamelessly plugging Zend_Validate_Builder (in the laboratory) on this... :) Zend_Validate_Builder already has a convenient hook built in for extending wildcard behavior to anything else, including regular expressions. So for those like Mark Maynereid who need more

[fw-general] RE: Zend_Filter_Input: extending the wildcard feature

2007-08-15 Thread Mark Maynereid
Thanks for the response Bill. I suspected I might be on an edge case with this but didn't know for sure. I'll just go with what I've done then and see what happens with the proposal Bryce is developing. Bill Karwin wrote: I considered making a more feature-rich wildcard syntax in

[fw-general] BUG::Startup::Error com.zend.php.debug.core unable to load class

2007-08-15 Thread Edward Vermillion
I'm getting the following on every startup: Error creation extension for extension-point org.eclipse.php.internal.debug.daemon.communication Plug-in com.zend.php.debug.core was unable to load class com.zend.php.debug.core.communication.AdvancedDebuggerCommunicationDaemo n. An error

Re: [fw-general] BUG::Startup::Error com.zend.php.debug.core unable to load class

2007-08-15 Thread Matthew Weier O'Phinney
-- Edward Vermillion [EMAIL PROTECTED] wrote (on Wednesday, 15 August 2007, 04:24 PM -0500): I'm getting the following on every startup: Error creation extension for extension-point org.eclipse.php.internal.debug.daemon.communication Plug-in com.zend.php.debug.core was unable to load

Re: [fw-general] no php closing tag?

2007-08-15 Thread Vinny
Gmail does have that but why waste bandwidth by sending an extra message to a person's personal email address in addition to the mailing list? I guess it's a personal preference issue. On 8/15/07, Nico Edtinger [EMAIL PROTECTED] wrote: Or your mail clients needs a 'reply to all' option.

Re: [fw-general] Demo application?

2007-08-15 Thread appel
Thank you, I have gotten it to work. One more thing. I was wondering how you would incorporate Smarty support in that little example. I'm thinking about using the Smarty class shown on this page: http://framework.zend.com/manual/en/zend.view.scripts.html#zend.view.scripts.templates I do

[fw-general] Default value in checkbox from database

2007-08-15 Thread Rohit83
Hi All I have to designed one screen on which list of records are represented and various links for each record such as edit and delete.When i click on edit record the new form will be generated with default values added to that record.In that one of the attribute is checkbox,so how to