Solved

Installing cakephp

Posted on 2011-02-25
4
1,047 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 11

Accepted Solution

by:
siliconbrit earned 500 total points
ID: 34984607
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
ID: 34984723
I can't find the php.ini file. Which directory is it suppose to be in.

0
 
LVL 16

Author Comment

by:Sheils
ID: 34984733
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
ID: 35045212
got me on the right track
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Several part series to implement Internet Explorer 11 Enterprise Mode
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…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.

739 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