title: Zend Framework : Form_MyForm not found in blah... Is this a BOOTSTRAP issue?
body: <p>I am a newbie, and getting this error:<br>
   - <strong>Fatal error:</strong> Class 'Form_UploadBom' not found in <strong>C:\wamp\NetBeansProjects\bomSlave\application\controllers\BomController.php</strong> on line <strong>18</strong><br>
  What am I missing ??<br>
  What am I doing wrong??</p>
  
  <p>As you'd expect, line 18 of <em>BomController.php</em> is where I call for an instance of my form.</p>
  
  <pre><code>17.    public function uploadAction()   {
  18.       $form = new Form_UploadBom();
  19.       $this-&gt;view-&gt;form = $form;
  20.    }
  </code></pre>
  
  <p>My form is at <em>//application/forms/uploadbom.phtml</em></p>
  
  <pre><code>class Form_UploadBom extends Zend_Form {
      public function __construct($option = null) {
          parent::__construct($option);
  
          $this-&gt;setName('bomupload');
  
          $company = new Zend_Form_Element_Text('co');
          $company-&gt;setLabel('Cust Company:')
                  -&gt;setRequired(); 
  
          $contact = new Zend_Form_Element_Text('contact');
          $contact-&gt;setLabel('Cust Contact')
                  -&gt;setRequired(); 
  
          $file = new Zend_Form_Element_File('bom');
          $file-&gt;setLabel('BOM File (in CSV):')
                  -&gt;setRequired(); 
  
          $submit = new Zend_Form_Element_Submit('submit');
          $submit-&gt;setLabel('Uplaod BOM');
  
          $this-&gt;addElements(array(  $company, $contact, $file, $submit  ));
          $this-&gt;setMethod('post');
          $this-&gt;setAction('');
      }
  }
  </code></pre>
  
  <p>And here's the Auto Loader from my <em>Bootstrap</em> file</p>
  
  <pre><code>protected function _initAutoLoad(){
      $autoloader = new Zend_Application_Module_Autoloader(array(
          'namespace' =&gt; '',
          'basePath'  =&gt; APPLICATION_PATH,
          'resourceTypes' =&gt; array (
              'model' =&gt; array(
                  'path' =&gt; 'models/',
                  'namespace' =&gt; 'Model_',
                  ),
              'form' =&gt; array(
                  'path' =&gt; 'forms/',
                  'namespace' =&gt; 'Form_',
                  )
              )
          )
      );       
      return $autoloader;
  }
  </code></pre>
  
  <p>Again, what am I missing ??<br>
  What am I doing wrong??<br>
  (and <em>please</em> don't tell me it's just a type-o somewhere ... <br>
  ...that would just be embarrassing :)</p>
  
  <p>~ Mo</p>
  
  <p>[[EDIT]]<br>
  Well, after changing the file extension from phtml to php, that error is gone ... but ... I now have an error about view helpers.<br>
   - <strong>Warning:</strong> Missing argument 1 for Zend_View_Helper_Form::form() ....<br>
  And this notice:<br>
   - <strong>Notice:*</strong> Undefined variable: name in C:\wamp\bin\php\ZendFramework\1.11.11\library\Zend\View\Helper\Form.php on line 46</p>
  
  <p>How does all that come into play ??
  <br>[[/EDIT]]</p>