cakephp 3.0 'App\Controller\ContactForm' not found modelless form -


i trying create modelless form using cakephp 3.0, have been following guide through cookbook here http://book.cakephp.org/3.0/en/core-libraries/form.html seems getting confused put contactform.php. says put in src/form/contactform.php did not work. can direct me this? thanks

pls, provide bit more info problem 1) contactform recognized in controller? if not - check namespace 2) handle data in

protected function _execute(array $data) {     // send email.     return true; } 

not in controller's

 if ($this->request->is('post')) {         if ($contact->execute($this->request->data)) {            //not here!!!         } else {            // error         }     } 

Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -