dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: [RESOLVED] CakePHP: Missing Database Table for Model

  1. #1
    Join Date
    Aug 2007
    Location
    London
    Posts
    410

    resolved [RESOLVED] CakePHP: Missing Database Table for Model

    Ho hum:

    Cake seems to think I am missing the database table "fields" for the model "Field". The problem is that I have deleted the Field model, the fields_controller, every single view in views/fields including the "fields" folder. I have deleted the whole cache three times, restarted apache twice, removed every reference I could find to this model in any controllers (e.g. "uses" arrays, "paginate" rules) and other models (e.g. relationships). I am at a complete loss as to what to do. I even made the commits to my repository in the vain hope that some magic would occur.

    I have been bashing my head against this for about an hour now. And have searched for the words "field" and "Field" a few times. Nothing is coming up anymore.

  2. #2
    Join Date
    Aug 2007
    Location
    London
    Posts
    410

    Thumbs up

    I don't know why but it's started working after I deleted some more obsolete models (unrelated ones) and restarted Apache a few more times.
    Gah!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles