I had this problem as well. PHP was not configured to work with MySQL so when it tried to connect it was calling an unrecognized function. I'm not sure why that stopped it from displaying everything correctly though. There is an easy tutorial here.
http://www.techmalaya.com/2007/09/10/beginners-guide-install-php-5-mysql-5-on-apache-22-on-windows-with-screenshots/ I assume the part you need will be at the bottom titled "Configure PHP 5 to Work with MySQL with MySQL PHP Extension" The other option is to configure it manually. On Jan 16, 8:01 pm, reidster <[email protected]> wrote: > This is a new cakephp install. I'm trying to use postgresql 8.3.5. > However, whenever I rename thedatabase.php.default todatabase.php > and include the following for the postgresql details, thegraphics > disappear from my cakephp main page. > > var $default = array( > 'driver' => 'postgres', > 'host' => 'localhost', > 'login' => 'postgres', > 'password' => 'postgres', > 'database' => 'postgres', > 'prefix' => '', > ); > > If I rename thedatabase.phpback todatabase.php.default, then it > works fine, but, of course, the main page says this "Your database > configuration file is NOT present.". > > Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
