Solved

Installing cakephp

Posted on 2011-02-25
4
1,036 Views
Last Modified: 2012-05-11
I am trying to install cakephp on my host server for the first time.

I have created a subdomain called cake(http://cake.wowislandcharter.com/) to trial the application.
I've uploaded and extracted the cakephp installation package to the root of the subdomain. Then rename the main extracted file to cakephp.

Not sure what to do next. When I try to access it through url:

http://cake.wowislandcharter.com/cakephp/

I get the following error:

 Release Notes for CakePHP 2.0.0-dev.


Fatal error: Class 'Debugger' not found in /home/wowisla1/public_html/cake/cakephp/cake/libs/view/pages/home.ctp on line 26

I checked the line 26 in the document referred in the error and I have paste line 24,25,26,27 & 28 below
<?php
if (Configure::read() > 0):
      Debugger::checkSecurityKeys();
endif;
?>

How do I work around this
0
Comment
Question by:Sheils
  • 3
4 Comments
 
LVL 11

Accepted Solution

by:
siliconbrit earned 500 total points
Comment Utility
If you don't need to use the debugger, set the debugger level to 0 in the php.ini file.

If you do need the debugger, try adding:

   App::import('Core', 'Debugger');

to .../app/config/bootstrap.php

Sounds like you will know enough to work out where to put that line in the file.
0
 
LVL 16

Author Comment

by:Sheils
Comment Utility
I can't find the php.ini file. Which directory is it suppose to be in.

0
 
LVL 16

Author Comment

by:Sheils
Comment Utility
There is a file called acl.ini.php in .../app/config/bootstrap.php is that the one you are referring to
0
 
LVL 16

Author Closing Comment

by:Sheils
Comment Utility
got me on the right track
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now