Hi AD7six,

if (!defined('ROOT'))
{
//define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP DIRECTORY IS LOCATED
DO NOT ADD A TRAILING DIRECTORY SEPARATOR';
//You should also use the DS define to seperate your directories
    define('ROOT', dirname(dirname(dirname(__FILE__))).DS.'cakePHP');
}

I tried as you asked me to change only the ROOT, but it didn't worked
for me.
My site configuration is simple like this, i brought all the files from
the /app/webroot to /

so, can you tell me how can fix this. I have folder structure like this
E:/cakePHP
         /app
         /cake
         /css
         /index.php & so on


----------ERROR-----------------------


Warning: main(config\core.php) [function.main]: failed to open stream:
No such file or directory in e:\cakePHP\cake\bootstrap.php on line 39

Warning: main(config\core.php) [function.main]: failed to open stream:
No such file or directory in e:\cakePHP\cake\bootstrap.php on line 39

Fatal error: main() [function.require]: Failed opening required
'config\core.php'
(include_path='.;C:\php5\pear;e:\\cakePHP;e:\\cakePHP\e:\') in
e:\cakePHP\cake\bootstrap.php on line 39

--------------------- ERROR ENDS -----------------------------------

Regards,
Raghava Kotekar

X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr121490cwa;
        Mon, 22 May 2006 05:39:26 -0700 (PDT)
X-Google-Token: o5zJLAwAAADanB_go4Ti3EQZULKSIeMg
Received: from 59.92.146.54 by i39g2000cwa.googlegroups.com with HTTP;
        Mon, 22 May 2006 12:39:26 +0000 (UTC)
From: "Kotekar" <[EMAIL PROTECTED]>
To: "Cake PHP" <[email protected]>
Subject: Re: Help: Advanced Setup: Alternative Installation Options
Date: Mon, 22 May 2006 05:39:26 -0700
Message-ID: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
   <[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) 
Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain

Hi AD7six,

if (!defined('ROOT'))
{
//define('ROOT', 'FULL PATH TO DIRECTORY WHERE APP DIRECTORY IS LOCATED
DO NOT ADD A TRAILING DIRECTORY SEPARATOR';
//You should also use the DS define to seperate your directories
    define('ROOT', dirname(dirname(dirname(__FILE__))).DS.'cakePHP');
}

I tried as you asked me to change only the ROOT, but it didn't worked
for me.
My site configuration is simple like this, i brought all the files from
the /app/webroot to /

so, can you tell me how can fix this. I have folder structure like this
E:/cakePHP
         /app
         /cake
         /css
         /index.php & so on


----------ERROR-----------------------


Warning: main(config\core.php) [function.main]: failed to open stream:
No such file or directory in e:\cakePHP\cake\bootstrap.php on line 39

Warning: main(config\core.php) [function.main]: failed to open stream:
No such file or directory in e:\cakePHP\cake\bootstrap.php on line 39

Fatal error: main() [function.require]: Failed opening required
'config\core.php'
(include_path='.;C:\php5\pear;e:\\cakePHP;e:\\cakePHP\e:\') in
e:\cakePHP\cake\bootstrap.php on line 39

--------------------- ERROR ENDS -----------------------------------

Regards,
Raghava Kotekar


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to