?
Solved

Installing cakephp

Posted on 2011-02-25
4
Medium Priority
?
1,049 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 1000 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

765 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