So I have experienced my server running on local machine. Things are working there and that i wanted to increase the potential of the server with the addition of a company model. I Quickly put all the files towards the dev server, to really make it available on the web - so when I attempt to visit "agencies" (domain.com/agencies/) - Missing Database Table Error turns up.

Everything works fine on my small computer. I have checked 5 occasions if all the names within the database are correct. I have checked the database.cfg within the cakephp but it should be good - anything else is working there.

Help!

Update

Clearing models cache did not help

This is actually the code from the model:

<?php
class Agency extends AppModel{
var $name = 'Agency';

var $validate = array(
    'id' => array(
        'blank' => array(
            'rule' => array('blank'),
            //'message' => 'Your custom message here',
            //'allowEmpty' => true,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    ),
    'company' => array(
        'notempty' => array(
            'rule' => array('notempty'),
            //'message' => 'Your custom message here',
            'allowEmpty' => false,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            //'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    ),
    'website_url' => array(
        'url' => array(
            'rule' => array('url'),
            //'message' => 'Your custom message here',
            'allowEmpty' => false,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            //'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    ),
    'status' => array(
        'notempty' => array(
            'rule' => array('notempty'),
            //'message' => 'Your custom message here',
            'allowEmpty' => false,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            //'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    ),
    'profession_id' => array(
        'multiple' => array(
            'rule' => array('multiple', array('min' => 1)),
            'message' => 'Please select at least 1 profession',
            //'allowEmpty' => false,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            //'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    ),
    'seniority_id' => array(
        'multiple' => array(
            'rule' => array('multiple', array('min' => 1)),
            //'message' => 'Your custom message here',
            //'allowEmpty' => false,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            //'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    ),
    'industry_id' => array(
        'multiple' => array(
            'rule' => array('multiple', array('min' => 1)),
            //'message' => 'Your custom message here',
            //'allowEmpty' => false,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            //'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    ),
    'sector_id' => array(
        'multiple' => array(
            'rule' => array('multiple', array('min' => 1)),
            //'message' => 'Your custom message here',
            //'allowEmpty' => false,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            //'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    ),
    'zone_id' => array(
        'multiple' => array(
            'rule' => array('multiple', array('min' => 1)),
            //'message' => 'Your custom message here',
            //'allowEmpty' => false,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            //'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    ),
    'size' => array(
        'notempty' => array(
            'rule' => array('notempty'),
            //'message' => 'Your custom message here',
            //'allowEmpty' => false,
            //'required' => true,
            //'last' => false, // Stop validation after this rule
            //'on' => 'create', // Limit validation to 'create' or 'update' operations
        ),
    )
);

var $hasAndBelongsToMany = array(
    'Profession' => array(
        'className' => 'Profession',
        'joinTable' => 'agencies_professions',
        'foreignKey' => 'agency_id',
        'associationForeignKey' => 'profession_id',
        'unique' => true,
        //'conditions' => '',
        //'fields' => '',
        //'order' => ''
    ),
    'Seniority' => array(
        'className' => 'Seniority',
        'joinTable' => 'agencies_seniorities',
        'foreignKey' => 'agency_id',
        'associationForeignKey' => 'seniority_id',
        'unique' => true,
        //'conditions' => '',
        //'fields' => '',
        //'order' => ''
    ),
    'Industry' => array(
        'className' => 'Industry',
        'joinTable' => 'agencies_industries',
        'foreignKey' => 'agency_id',
        'associationForeignKey' => 'industry_id',
        'unique' => true,
        //'conditions' => '',
        //'fields' => '',
        //'order' => ''
    ),
    'Sector' => array(
        'className' => 'Sector',
        'joinTable' => 'agencies_sectors',
        'foreignKey' => 'agency_id',
        'associationForeignKey' => 'sector_id',
        'unique' => true,
        //'conditions' => '',
        //'fields' => '',
        //'order' => ''
    ),
    'Zone' => array(
        'className' => 'Zone',
        'joinTable' => 'agencies_zones',
        'foreignKey' => 'agency_id',
        'associationForeignKey' => 'zone_id',
        'unique' => true,
        //'conditions' => '',
        //'fields' => '',
        //'order' => ''
    )
);

 var $hasMany= array(
    'Office' => array(
        'className' => 'Office',
        'foreignKey' => 'office_id',
        'dependent' => false,
        'conditions' => '',
        'fields' => '',
        'order' => '',
        'limit' => '',
        'offset' => '',
        'exclusive' => '',
        'finderQuery' => '',
        'counterQuery' => ''
    )
 );
}

Update

The debug was set to two in the beginning since it is a dev server.

Update

It's not dependent on lower/upper situation names.