Solved

Installing cakephp

Posted on 2011-02-25
4
1,039 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
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.
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…
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.

777 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