CakePHP requiring a database table -


I intend to create a controller who handles a contact page I have created the controller contact controller The problem is that Requesting a table with the same name:

missing database table

Error: Database table username_contacts for model was not found.

Notice: If you want to customize this error message, then make App / View / Errors / Unavailable_appt

Do I really do not make any data for it the wanted?

This is my admin code:

  & lt ;? Php class contacts controller extends AppController {var $ name = 'Contacts'; Function index ($ id = null) {$ this- & gt; Set ('page', classaristry :: init ('page') - & gt; findByShortname ($ id)); }}  

  var $ name = 'contact'; Var $ using = array ();  

That person does not, but it is well documented


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -