Hi Kotekar,
If you haven´t already, it might be easier to put the standard install
in your document root, design your site, and think about moving the
files around afterwards. You´ll get to know where cake is looking for
things as you go rather than guessing from the beginning. Anyway, It´s
as easy to do after as it is during, as it is before writing a site.
And it isn´t a complex as the error messages you have might have you
believe ;)
I don´t understand where you have put your files.
do you have
e:\
> CakePHP
>> app
>> cake
> index.php
..
or
e:\
> CakePHP
>> app
>> cake
>> index.php
>> ..
?
Where is your apache(?) document root pointing to..? e:\cakePHP ..?
The purpose of moving the files around is typically to move all of the
files that do the business OUT of the document root, not to a different
place that can still be accessed by a URL.
Anyway: The index where you define the constants (e:\cakePHP\index.php)
if I understood your post correctly) is the only important one, the
others you can delete if their containing folder isn´t in the document
root.
There's no magic fix, you need to define the right path for the ROOT
constant. Try:
if (!defined('ROOT'))
{
/ define('ROOT', "e:\CakePHP");
}
For a start
;)
AD7six
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---