1 Replies - 810 Views - Last Post: 11 April 2012 - 10:46 AM Rate Topic: -----

#1 BarNunBoi   User is offline

  • D.I.C Head

Reputation: 6
  • View blog
  • Posts: 236
  • Joined: 28-March 12

Error:Database table (site) for model (site) was not found....

Posted 11 April 2012 - 07:37 AM

I was trying to deploy my website in the browser when I was presented this error message. I think I found the fix I just don't know where to go to fix the problem. I was reading this article and someone provided a fix...this is what I read to do......

I think you must create the model Site and configure it to do not use
a table like this:

class Site extends AppModel { 
    var $useTable = false; 
}


now the question is where do I go to config this?

If anyone wants to view where I read this.....the site is http://cakephp.10456...td1325015.html.

Your input would be greatly appreciated! Thanks!

This post has been edited by Dormilich: 11 April 2012 - 11:43 PM
Reason for edit:: please use [code] [/code] tags when posting code


Is This A Good Question/Topic? 0
  • +

Replies To: Error:Database table (site) for model (site) was not found....

#2 Macjohn   User is offline

  • D.I.C Regular
  • member icon

Reputation: 80
  • View blog
  • Posts: 407
  • Joined: 10-April 09

Re: Error:Database table (site) for model (site) was not found....

Posted 11 April 2012 - 10:46 AM

Quote

I was trying to deploy my website in the browser

You can't deploy a website into a browser you can either test it or view it but not deploy it. I think you meant test it!?

Either way, please be more specific! We(I) didn't quite understood what type of help you need.

1-Before specific in your questions
2-When it comes to code errors, please show us your code so we can help you more easily.

This post has been edited by Macjohn: 11 April 2012 - 10:48 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1