Re: without default Database Configuration: Fatal error: ConnectionManager::getDataSource - Non-existent data source default

2009-01-03 Thread Smelly_Eddie
the bake script and create a database conf called local, then run it again and create one called live, then start trying to build models, it will fail with this error message: Fatal error: ConnectionManager::getDataSource - Non-existent data source default in C:\tmp\1.2.x.x\cake\libs\model

without default Database Configuration: Fatal error: ConnectionManager::getDataSource - Non-existent data source default

2009-01-02 Thread james revillini
- Non-existent data source default in C:\tmp\1.2.x.x\cake\libs\model \connection_manager.php on line 109 The exact step of model building that it will fail on is right after you answer the question about adding validation criteria for the model fields. I'm guessing cake is hard coded to use default

Fatal Error (256): ConnectionManager::getDataSource - Non-existent data source

2008-01-18 Thread roliver
::getDataSource - Non-existent data source ppc_alerts [CORE/cake/libs/model/connection_manager.php, line 113] notice the datasource ppc_alerts is set. I can connect to via mysql console just fine any clues? Thanks --~--~-~--~~~---~--~~ You received this message because you

Re: Fatal error: ConnectionManager::getDataSource - Non-existent data source

2007-12-31 Thread AD7six
On Dec 31, 3:13 pm, Eng.Ahmed El.Hussaini [EMAIL PROTECTED] wrote: Conside the following: Controller === class UserController extends AppController { function index() { $users = User::findAll(); } } The above code isn't how cake works. try the blog tutorial for your

Re: Fatal error: ConnectionManager::getDataSource - Non-existent data source

2007-12-31 Thread nate
\cake \libs\model\model_php5.php on line 1145 Fatal error: ConnectionManager::getDataSource - Non-existent data source in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs \savvy\cake\libs\model\connection_manager.php on line 110 --~--~-~--~~~---~--~~ You

Re: Fatal error: ConnectionManager::getDataSource - Non-existent data source

2007-12-31 Thread Eng.Ahmed El.Hussaini
\htdocs\savvy\cake \libs\model\model_php5.php on line 1145 Fatal error: ConnectionManager::getDataSource - Non-existent data source in C:\Program Files\Apache Software Foundation\Apache2.2\htdocs \savvy\cake\libs\model\connection_manager.php on line 110

Re: ConnectionManager::getDataSource - Non-existent data source

2007-09-10 Thread nej
error: ConnectionManager::getDataSource - Non-existent data source in /var/www/html/platsort_adm/cake/cake/libs/model/ connection_manager.php on line 115. The configuration datafile is ok (we tried connecting) and all the permissions are set also. Any ideas? Regards from Paraguay

Re: ConnectionManager::getDataSource - Non-existent data source

2007-09-10 Thread AD7six
: ConnectionManager::getDataSource - Non-existent data source in /var/www/html/platsort_adm/cake/cake/libs/model/ connection_manager.php on line 115. Did you move from php4 to php5? The error message is formated as follows: ConnectionManager::getDataSource - Non-existent data source %s You just need

Re: ConnectionManager::getDataSource - Non-existent data source

2007-09-10 Thread nej
to a production server. In the first one, everythink works fine but when trying to login in the second one, the following error appears: Fatal error: ConnectionManager::getDataSource - Non-existent data source in /var/www/html/platsort_adm/cake/cake/libs/model/ connection_manager.php

Re: ConnectionManager::getDataSource - Non-existent data source

2007-09-10 Thread AD7six
On Sep 10, 3:06 pm, nej [EMAIL PROTECTED] wrote: We moved from PHP 5 - MySQL 5 to PHP 4 MySQL 3. Are there PHP - MySQL version requirements for CakePHP? It is not afaik the reason for your specific error but unless you have MySql version 4.x joins won't work. hth, AD

ConnectionManager::getDataSource - Non-existent data source

2007-09-08 Thread NicoE
Hello everybody. We are moving a site made with CakePHP from one development server to a production server. In the first one, everythink works fine but when trying to login in the second one, the following error appears: Fatal error: ConnectionManager::getDataSource - Non-existent data source

Re: Fatal error: ConnectionManager::getDataSource - Non-existent data source in /var/www/cake/cake/libs/model/connection_manager.php on line 110

2007-08-13 Thread Samuel DeVore
As a heads up make sure you avoid reserved words in php as well as cake On 8/12/07, Muhammad Ishaq [EMAIL PROTECTED] wrote: Thanks a lot Geoff, It solved the problem... :) Everything works fine now... CakePHP is really MVC taken to the extreme... On 8/13/07, Geoff Ford [EMAIL PROTECTED]

Re: Fatal error: ConnectionManager::getDataSource - Non-existent data source in /var/www/cake/cake/libs/model/connection_manager.php on line 110

2007-08-12 Thread Muhammad Ishaq
/dispatcher.php, line 333 [main] - CORE/app/webroot/index.php, line 83 *Fatal error*: ConnectionManager::getDataSource - Non-existent data source in */var/www/cake/cake/libs/model/connection_manager.php* on line *110* 3. Errors are also generated when I click Delete for a record (the record

Re: Fatal error: ConnectionManager::getDataSource - Non-existent data source in /var/www/cake/cake/libs/model/connection_manager.php on line 110

2007-08-12 Thread Geoff Ford
Looking at the screenshot - it appears that you are using a Model called File. There is a core class called File so try changing the name of your model. Geoff -- http://lemoncake.wordpress.com On Aug 13, 3:51 am, Muhammad Ishaq [EMAIL PROTECTED] wrote: Sorry, the lines that had displayed

Re: Fatal error: ConnectionManager::getDataSource - Non-existent data source in /var/www/cake/cake/libs/model/connection_manager.php on line 110

2007-08-12 Thread Muhammad Ishaq
Thanks a lot Geoff, It solved the problem... :) Everything works fine now... CakePHP is really MVC taken to the extreme... On 8/13/07, Geoff Ford [EMAIL PROTECTED] wrote: Looking at the screenshot - it appears that you are using a Model called File. There is a core class called File so try