Hi,

I thought I had followed the instructions however, for testing my
client wants the installation in a sub dir called new and now when I
visit the site I get an error "NewController could not be found."

The site is at http://www.deane247.com/new/

The stack trace shows this:
#0 /content/HostingPlus/d/e/deane247.com/web/new/app/webroot/
index.php(96): Dispatcher->dispatch(Object(CakeRequest),
Object(CakeResponse))
#1 /content/HostingPlus/d/e/deane247.com/web/new/index.php(40):
require('/content/Hostin...')

I have changed the index.php to show:

/**
 * The full path to the directory which holds "app", WITHOUT a
trailing DS.
 *
 */
        if (!defined('ROOT')) {
                define('ROOT', DS.'web'.DS.'new'.DS.'app');
        }
/**
 * The actual directory name for the "app".
 *
 */
        if (!defined('APP_DIR')) {
                define('ROOT', DS.'web'.DS.'new');
        }

/**
 * The absolute path to the "cake" directory, WITHOUT a trailing DS.
 *
 * Un-comment this line to specify a fixed path to CakePHP.
 * This should point at the directory containing `Cake`.
 *
 * For ease of development CakePHP uses PHP's include_path.  If you
 * cannot modify your include_path set this value.
 *
 * Leaving this constant undefined will result in it being defined in
Cake/bootstrap.php
 */
        define('CAKE_CORE_INCLUDE_PATH', ROOT . DS . 'new' . DS . 'lib');


and I removed the .htaccess files and uncommented the App.baseUrl line
in app/config/core.php

Thanks in advance if anyone can shed any light,

Cheers,

Nigel.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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