I have been stuck with this for a few days already, and really hope
you could help me. I am trying to install CakePHP on a shared hosting
account at HostGator and after defining path constants at index.php in
webroot I get the following when accessing my website:
Sweet, "mytestapp" got Baked by CakePHP!
Fatal error: Call to undefined method Debugger::checkSecurityKeys()
in /home/myhostgatorusername/cakeapps/mytestapp/views/pages/home.ctp
on line 5
Googling the error got me nowhere.
My directory structure is the following:
-+ /home/myhostgatorusername
----+ /cake
---------+ /cake
--------------- /config
--------------- /console
--------------- /libs
--------------- /tests
--------------- /basics.php
--------------- /bootstrap.php
--------------- /dispatcher.php
---------- /plugins
---------- /vendors
---------- /.htaccess
---------- /index.php
----+ /cakeapps
---------+ /mytestapp
--------------- /config
--------------- /controllers
--------------- /libs
--------------- /locale
--------------- /models
--------------- /plugins
--------------- /tests
--------------- /tmp
--------------- /vendors
--------------- /views
--------------- /.htaccess
--------------- /app_controller.php
--------------- /index.php
--------------- ... etc
---------- /myothertestapp
----+ /public_html
---------+ /mycakewebsite.com
--------------- /css
--------------- /img
--------------- /js
--------------- /.htaccess
--------------- /css.php
--------------- /favicon.ico
--------------- /index.php
---------- /myNONcakewebsite.com
---------- /myotherNONcakewebsite.com
I have set up the path constants in index.php as follows:
/**
* The full path to the directory which holds "app", WITHOUT a
trailing DS.
*
*/
if (!defined('ROOT')) {
define('ROOT',
DS.'home'.DS.'myhostgatorusername'.DS.'cakeapps');
}
/**
* The actual directory name for the "app".
*
*/
if (!defined('APP_DIR')) {
define('APP_DIR', 'mytestapp');
}
/**
* 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.'myhostgatorusername'.DS.'cake');
}
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" 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?hl=en