I have taken off the trailing comma as you suggested and I get the
same result; namely, the main cakephp page comes up with no graphics.
If I remove the database.php file, I get the graphics OK, but this is
not a usable configuration because I need a database connection, of
course.

Here is essential part of my database.php file.  Any ideas would be
greatly appreciated.

class DATABASE_CONFIG {
        var $default = array(
                'driver' => 'postgres',
                'host' => 'localhost',
                'login' => 'postgres',
                'password' => 'postgres',
                'database' => 'postgres',
                'prefix' => ''
        );
}
?>


The webpage says this below with no graphics:

Release Notes for CakePHP 1.2.1.8004.
Read the changelog

Your tmp directory is writable.

The FileEngine is being used for caching. To change the config edit
APP/config/core.php

Your database configuration file is present.

On Jan 17, 1:01 pm, brian <[email protected]> wrote:
> You have an extra comma here: 'prefix' => '',
>
> I can't think of why this is happening, though. Weird
>
> On Sat, Jan 17, 2009 at 11:50 AM,reidster<[email protected]> wrote:
>
> > Here is the bottom part of my database.php file.  I don't think it has
> > a syntax error.
>
> > class DATABASE_CONFIG {
> >        var $default = array(
> >                'driver' => 'postgres',
> >                'host' => 'localhost',
> >                'login' => 'postgres',
> >                'password' => 'postgres',
> >                'database' => 'postgres',
> >                'prefix' => '',
> >        );
> > }
> > ?>
>
> > Here is what I see on the cakephp main page when I have this file in
> > place.  This is listed with just text and no graphics.
>
> > Release Notes for CakePHP 1.2.1.8004.
> > Read the changelog
>
> > Your tmp directory is writable.
>
> > The FileEngine is being used for caching. To change the config edit
> > APP/config/core.php
>
> > Your database configuration file is present.
>
> > On Jan 17, 12:54 am, brian <[email protected]> wrote:
> >> No graphics? That's because real Postgres users do everything from a
> >> terminal window. And LIKE it!
>
> >> ...
>
> >> I kid! Long-time pg user here. I've no idea what the problem might be,
> >> though. You're not missing a closing brace or something?
>
> >> On Fri, Jan 16, 2009 at 10: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 the database.php.default to database.php
> >> > and include the following for the postgresql details, the graphics
> >> > disappear from my cakephp main page.
>
> >> > var $default = array(
> >> >                'driver' => 'postgres',
> >> >                'host' => 'localhost',
> >> >                'login' => 'postgres',
> >> >                'password' => 'postgres',
> >> >                'database' => 'postgres',
> >> >                'prefix' => '',
> >> >        );
>
> >> > If I rename the database.php back to database.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
-~----------~----~----~----~------~----~------~--~---

Reply via email to