Faced same error while migration of project from 1.2 to 2.x. Try clearing cache
/App/temp/cache
You will find some folders...like model,view etc..dont delete those but delete all files in them..
On 18-Jun-2013 6:54 PM, "Raxit" <rajpandya1985@gmail.com> wrote:
-- Hi,
I am facing this problem from past 5 days. Didn't find any solution. I have checked connection many times. my team have also checked all the connections with Mysql. File is also present under same path.
Error: Confirm you have created the file : app\Config\database.php.
Notice: If you want to customize this error message, create app\View\Errors\missing_connection.ctp.
Stack Trace
--
- ROOT\lib\Cake\Model\ConnectionManager.php line 101 → DboSource->__construct(array)
- ROOT\lib\Cake\Model\Model.php line 3417 → ConnectionManager::getDataSource(string)
- ROOT\lib\Cake\Model\Model.php line 1083 → Model->setDataSource(string)
- ROOT\lib\Cake\Model\Model.php line 3443 → Model->setSource(string)
- ROOT\lib\Cake\Model\Model.php line 2698 → Model->getDataSource()
- APP\Model\Setting.php line 16 → Model->find(string)
- APP\Controller\FunfordayController.php line 268 → Setting->updateCache()
- APP\Controller\FunfordayController.php line 47 → FunfordayController->_loadSettings()
- [internal function] → FunfordayController->beforeFilter(CakeEvent)
- ROOT\lib\Cake\Event\CakeEventManager.php line 246 → call_user_func(array, CakeEvent)
- ROOT\lib\Cake\Controller\Controller.php line 670 → CakeEventManager->dispatch(CakeEvent)
- ROOT\lib\Cake\Routing\Dispatcher.php line 100 → Controller->startupProcess()
- ROOT\lib\Cake\Routing\Dispatcher.php line 85 → Dispatcher->_invoke(FunfordayController, CakeRequest, CakeResponse)
- APP\webroot\index.php line 94 → Dispatcher->dispatch(CakeRequest, CakeResponse)
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment