0

I have Group module and Moderator controller in my zend project on ubuntu. My Controller class is like this:

class Group_ModeratorController extends Zend_Controller_Action {
 -------
 -------
}

When I try to create action delete in Moderator controller or Group module like this:

zf.sh create action delete moderator 1 group

It gives my following error:

An Error Has Occurred                         
Controller Moderator was not found. 

2 Answers 2

1

I had this problem myself before, try this:

zf.sh create action delete Moderator 1 -m group

The 1 may not be required I'm pretty sure the default is to create the view.

Sign up to request clarification or add additional context in comments.

Comments

1

try:

zf.sh create delete moderator 1 group

2 Comments

try this just to see what happens zf.sh create test moderator 1 group
Provider 'delete' is not a valid provider.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.