views:

41

answers:

2

I am using ubunto & want to create zend controller, 7months ago i created about 5 controllers in my application & it works fine but when now i try to create another one using

sajid@salman-laptop:/var/www/vcred$ zf.sh create controller verifier

It show error message like:

 An Error Has Occurred  

String could not be parsed as XML

Command Line Console Tool v1.8.4
Details for action "Create" and provider "Controller"
  Controller
    zf create controller name index-action-included[=1] module

Help please.

A: 

Try updating your Zend_Tool, they have solved a lot of bugs in the last versions. At this time the 1.10.1 version is the latest release, compared to your 1.8.4.

chelmertz
+2  A: 

old-school method : manually add the new controller file to the directory - i've never used Zend_Tool.

emeraldjava
+1 I have a blank controller template with some general methods ready so I can just edit the name and copy and paste it when needed to create a new controller manually.
Richard Knop