I cant install cakephp.I had wamp installed me.But when i try to install cakephp i got the following errors

CakePHP: the rapid development php framework
Release Notes for CakePHP 2.1.1.
Read the changelog

Notice (1024): Please change the value of 'Security.salt' in app/Config/core.php to a salt value specific to your application [CORE\Cake\Utility\Debugger.php, line 806]

Notice (1024): Please change the value of 'Security.cipherSeed' in app/Config/core.php to a numeric (digits only) seed value specific to your application [CORE\Cake\Utility\Debugger.php, line 810]

URL rewriting is not properly configured on your server. 1) Help me configure it 2) I don't / can't use URL rewriting

Your version of PHP is 5.2.8 or higher.

Your tmp directory is writable.

The FileEngine is being used for core caching. To change the config edit APP/Config/core.php

Your database configuration file is present.

Cake is NOT able to connect to the database.

Database connection "SQLSTATE[28000] [1045] Access denied for user 'user'@'localhost' (using password: YES)" is missing, or could not be created.
Editing this Page

To change the content of this page, create: APP/View/Pages/home.ctp.
To change its layout, create: APP/View/Layouts/default.ctp.
You can also add some CSS styles for your pages at: APP/webroot/css.
Getting Started

New CakePHP 2.0 Docs

The 15 min Blog Tutorial
More about Cake

CakePHP is a rapid development framework for PHP which uses commonly known design patterns like Active Record, Association Data Mapping, Front Controller and MVC.

Our primary goal is to provide a structured framework that enables PHP users at all levels to rapidly develop robust web applications, without any loss to flexibility.

Cake Software Foundation
    Promoting development related to CakePHP
CakePHP
    The Rapid Development Framework
CakePHP Documentation
    Your Rapid Development Cookbook
CakePHP API
    Quick Reference
The Bakery
    Everything CakePHP
The Show
    The Show is a live and archived internet radio broadcast CakePHP-related topics and answer questions live via IRC, Skype, and telephone.
CakePHP Google Group
    Community mailing list
irc.freenode.net #cakephp
    Live chat about CakePHP
CakePHP Code
    For the Development of CakePHP Git repository, Downloads
CakePHP Lighthouse
    CakePHP Tickets, Wiki pages, Roadmap

CakePHP: the rapid development php framework

I got issues with database connection.The error says:

Cake is NOT able to connect to the database.

Database connection "Mysql" is missing, or could not be created.

I created a database in PHPMYADMIN with name cake in WAMP.I havent set password for the database.My user privileges has user name as root.Any help would be appreciated.

I found this thread. Do you have PDO enabled? I don't think WAMP has it enabled by default.

Hi,

Double check that your app/Config/database.php is properly filled up with your database credentials. You need to fill up two of them like so..

class DATABASE_CONFIG {

    public $default = array(
       'datasource' => 'Database/Mysql',
       'persistent' => false,
       'host' => 'localhost',
       'login' => 'root',
       'password' => '',
       'database' => 'cake',
       'prefix' => '',
       //'encoding' => 'utf8',
     );

    public $test = array(
       'datasource' => 'Database/Mysql',
       'persistent' => false,
       'host' => 'localhost',
       'login' => 'root',
       'password' => '',
       'database' => 'cake',
       'prefix' => '',
      //'encoding' => 'utf8',
   );

If that does not do the trick, try writing a simple database connection script and use the same credentials as you have for your cake php. Something like this

<?php
 $db_host = "localhost";
 $db_user = "root";
 $db_password = "";
 $db_database ="cake";

 $conn = mysql_connect($db_host,$db_user,$db_password) or die(mysql_error());
 echo "connected to your mysql<br/>";
 $db = mysql_select_db($db_database,$conn)  or die(mysql_error()); 
 echo "connected to ".$db_database;

If the two options above do not make the cut.. Dump the WAMP, and try XAMPP.. Running this XAMPP on any thumbdrive. I have Zend, Igniter, and CAKE. I am running them on the same thumbdrive powered by xampp.

For my linux box, I am also running xampp with Zend, Igniter, Cake, and ffmpeg php with all the trimmings and dlls...More likely it is the WAMP that is faulty..

go to app/Config/core.php and change the default value to any as you wish

/* below are just examples */

Configure::write('Security.salt', 'hG93b0qyJfIxfs2guVoUubWwvniR2G0FgaC9');

Configure::write('Security.cipherSeed', '8593096574535424967496836');

this will solve two errors.For database error you can follow veedeoo 's answer.

Even after applying all the changes given as above if you face errors then i hope this post can help you : Cakephp installation

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.