class DATABASE_CONFIG { <?php public $default = array( 'datasource' => 'Database/Mysql', 'persistent' => false, 'host' => 'localhost', 'port' => '', 'login' => 'root', 'password' => '', 'database' => 'cake_db', 'schema' => '', 'prefix' => '', 'encoding' => '' );
Parse error: parse error, expecting `T_FUNCTION' in C:\wamp\www \lightcake\cakephp-cakephp-4ed3d35\app\Config\database.php on line 62 On Mar 27, 2:31 pm, Brian Bowler <bbowle...@gmail.com> wrote: > That usually means that you didn't close out one of your brackets or > something. Can you post the code (sensitive details omitted)? > > On Tue, Mar 27, 2012 at 9:27 AM, AKinwunmi Damilare <damilareak...@gmail.com > > > > > > > > > wrote: > > Yes it helped. Thanks. But its giving an error saying expecting > > T_function in one of the lines. Pls, help. Thanks > > > On Mar 27, 12:57 pm, vaughany <paulie...@gmail.com> wrote: > > > This may be of some use: > > > >http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/blog.html#... > > > > On Tuesday, 27 March 2012 12:11:03 UTC+1, AKinwunmi Damilare wrote: > > > > > Please, i need help in the cakephp database configuration. Thanks > > > -- > > Our newest site for the community: CakePHP Video Tutorials > >http://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > cake-php+unsubscr...@googlegroups.com For more options, visit this group > > athttp://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php