Unless you have some special reason to change the directory structure
Id say the best thing to begin with is to just extract cake and put
the cake folder into your root folder. Then change the name of the
cake folder to the name of your site and now your application should
be accessible at localhost/site/

On Jun 3, 2:30 pm, gakkou <gakusei2...@gmail.com> wrote:
> hi! i am new to cakephp and obviously i have some perhaps typical
> problems.
>
> my directory structure:
>
> C:/.../upp/cake/
> C:/.../upp/app_upp/
> C:/.../upp/public_html/upp/
>
> localhost is set on C:/.../upp/public_html/upp/
>
> I set path
>
> > define('APP_DIR', 'app_upp');
> > define('DS', DIRECTORY_SEPARATOR);
> > define('ROOT', 'C:/.../upp/');
> > define('WEBROOT_DIR', '../public_html/upp');
> > define('WWW_ROOT', ROOT . DS . APP_DIR . DS . WEBROOT_DIR . DS);
>
> And it's still the same, it just doesn't work ;/
>
> error on localhost:
> Fatal error: Cannot redeclare config() (previously declared in C:\www
> \upp\cake\basics.php:60) in C:\www\upp\cake\basics.php on line 77
>
> what should I do now? please help smile.gif
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to