Sunday, August 25, 2013

Back in Time

I'm helping (trying) to move and old 1.3.x version to a new server in a development folder but setting up the paths are not working. webroot / index.php snip below.

 

It's looking in the main folder (root) for the css, images, js assets.

 

/**

* The full path to the directory which holds "app", WITHOUT a trailing DS.

*

*/

       if (!defined('ROOT')) {

              define('ROOT', DS.'home'.DS.'25696'.DS.'public_html'.DS.'holding');

       }

/**

* The actual directory name for the "app".

*

*/

       if (!defined('APP_DIR')) {

              define ('APP_DIR', 'app');

       }

/**

* The absolute path to the "cake" directory, WITHOUT a trailing DS.

*

*/

       if (!defined('CAKE_CORE_INCLUDE_PATH')) {

              define('CAKE_CORE_INCLUDE_PATH', DS.'home'.DS.'25696'.DS.'libs'.DS.'1.3.17');

       }

 

Folder structure:

 

public_html

                /app <-current working site

                holding / app <- work on the 2.x upgrade is taking place

 

The site loads so its finding the 'CAKE_CORE_INCLUDE_PATH' just not correctly processing the root and app_dir.

 

Any ideas?

 

Thanks,

Dave

No comments: