php - CakePHP find returns results with missing fields -


i need user info , when call

$this->user->find('first', array('conditions' => array('user.id' => $user_id)));

the result contains of fields.

i've updated database schema. on dev server runs fine , returns fields on production server new fields missing. servers have same configuration.

i've tried remove contents of app/tmp/cache/models , using file engine caching.

the schema.php file date, contents of files in app/tmp/cache/models indicate fields present have not been able retreive them on production server. difference perhaps database , debug level. i've tried copying database , using dev server , worked well.

i cannot set debug 2 on production server.

did of experience sort of similar behavior?

ps using cake 2.3.3

the answer pretty simple. had remove not contents of app/tmp/models, made work removing of contents of app/tmp/persistent.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -