Tuesday, February 26, 2013

Re: error on installation -db config file

Yes, I read the message but this is in code written by the Cake team, it doesn't make sense that it wants a closing parenthesis because it's right in the middle of a long, multi-line array definition.  Look in your own copy of the code at that point.  That's not user code, that's just the place where we plug in our own database variables.  i'm used to dealing with code Igniter, but I'm new to Cake.

On Tuesday, February 26, 2013 4:40:15 PM UTC-6, AD7six wrote:
Did you cheat and read the error message =)?

On Tuesday, 26 February 2013 21:12:31 UTC+1, Jeremy Burns wrote:
It's just a wild guess, but I reckon you are missing a closing bracket on line 67 of /app/Config/database.php

Jeremy Burns
Class Outfit

http://www.classoutfit.com

On 26 Feb 2013, at 00:40:14, Osgaldor Storm <osga...@gmail.com> wrote:

I have just set up a fresh install of Cake, When I set the db credentials, it threw the following fatal error when I browsed to the cake directory.

Fatal Error

Error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')'
File: C:\wamp\www\Cake\cakephp-2.2.7\app\Config\database.php
Line: 67


--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+u...@googlegroups.com.
To post to this group, send email to cake...@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
 
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments: