Solved

Installing cakephp

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
parse url to form? 7 25
cannot set chrome as the default browser 10 61
Accessing specific element - DOM PHP HTML 8 34
jQuery force form POST 7 42
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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.
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

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