mysql - Cake model bake Error: The datasource configuration "493" was not found in database.php -


i’m using cakephp 2.4.1. i’m baking cake models having table name roles got following error on console

creating file c:\wamp\www\projectnexus\app\model\role.php  error: datasource configuration "493" not found in database.php 

it comes after

look okay? (y/n) [y] > array(0) { } notice error: undefined offset: 0 in [c:\wamp\www\projectnexus\lib\cake\console\com mand\task\templatetask.php, line 79] 

previously, i’ve baked many models, time don’t know happen. tried bake baked models verification, giving me same error. connection okay because rest of application running smoothly.

please help


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -