Regards
Pablo Viojo
pviojo@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.needish.com
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.Pablo Viojo
pviojo@gmail.com
http://pviojo.net
¿Que necesitas?
http://www.needish.com
On Thu, Jan 21, 2010 at 10:07 PM, cricket <zijn.digital@gmail.com> wrote:
Check to make sure there is no whitespace after the closing "?>" in
database.php. Even better, delete the closing tag altogether.
> page I'm talking about please follow the linkhttp://yfrog.com/jp130beforedatabasep;
On Jan 21, 5:44 pm, Lucas Loss <lucasbasi...@gmail.com> wrote:
> Hi guys!
>
> I've been trying to understand this problem for a while now and I have
> no clue on what is going on. Here go some steps to explain what is
> happening:
> 1. I've downloaded (today - January 21, 2010) the versions 1.2.5 and
> 1.3.0 beta from CakePHP.org website;
> 2. Uncompressed them and put on the folder where apache reads them;
> 3. Accessing the version 1.3.0 (on my machine:http://localhost/cakephp-1.3.0/)
> I get a beautiful screen (with colours, CSS, all the stuff you expect
> to see...) where there is a sentence that says: "Your database
> configuration file is NOT present. Rename config/database.php.default
> to config/database.php"; And that's expected; To see a print of this
> 4. Then I've renamed the file database.php.default to database.php;> the database connection; To sse a print of the page please openhttp://yfrog.com/08130afterdatabasep;
> 5. Back to the browser I reloaded the page and noticed a new sentence:
> "Your database configuration file is present. Cake is NOT able to
> connect to the database." - That's what I was expecting - the same
> beautiful page with colours and CSS but with a different message about
>> see a print of the page onhttp://yfrog.com/0n125beforedatabasep;
> So... what's the problem?
> The problem is that these same steps don't work for cakephp version
> 1.2.5, which is the stable version. Here is what happens:
> 1. On the 1.2.5 version, the screen has colours, CSS and the sentence
> "Your database configuration file is NOT present. Rename config/
> database.php.default to config/database.php", all as expected; Please
> 2. So I'll go and rename the database.php.default file to simply> see a print of the page onhttp://yfrog.com/jp125afterdatabasep;
> database.php;
> 3. Back to the browser, I reload that page and that's when the problem
> happens: There are no more colours, no CSS, no styles and there is
> just about 1/4 of all text the this page is supposed to show; Please
>
> I was using cakephp on Windows and I believed that it was a Windows
> problem because a friend of mine tried the same steps on his machine
> (Ubuntu) and didn't get this error.
> So I installed Ubuntu and after having everything ready to start
> studying cakephp, I got the same problem!
>
> Any ideas on how to solve this?
>
> Cheers
> Lucas Loss
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment