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