I found an interesting thing.
If I don't create database.php @ config/, then the welcome page has css and
layout and says
Your database configuration file is NOT present.
Rename config/database.php.default to config/database.php

if I did the rename, the welcome page bacomes non css img again.

by the way if found the following link
http://osdir.com/ml/CakePHP/2009-08/msg00421.html

I changed the debug level to 0, the welcome page has css and layout
however, Instead of the following text

*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.*

The welcome page became
Not Found

*Error: * The requested address *'/'* was not found on this server.


I am confused.

On Tue, Nov 10, 2009 at 1:37 AM, Tianyin Zhang <[email protected]> wrote:

> the cakephp welcome page "http://localhost"; has no img, css, layout.
>
> I double checked the mod_rewrite:
> create link in mods-enabled/rewrite.load
> add loadmodule line to httpd.conf
> when i restart apache it says "mod_rewrite already loaded, skipped".
>
> i tried "http://localhost/sdfasfsfd";
> it redirect to the missing controller page that has css effect.
>
> Here is my folder structure
> 'webroot' => '/var/www'
> 'root' => '/opt/cake'
> 'app' => '~/Programs/appname'
>
> is there any problem with this setting?
>
> thanks
>

--

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=.


Reply via email to