A community in which webmasters can ask for help with topics such as PHP coding , MySQL , IT jobs, web design, IT security.
Current location:homephp forumphp talk in 2009 yearInstalling cake php on xampp - page 1
User InfoPosts
Installing cake php on xampp#1
I(ve got xampp installed on my laptop runing XP, and it(s been running without any problems for ages.

I(ve just tried installing cakephp, and have altered the database config and enabled mod_rewrite.

But now I get the following on the welcome page:

Your tmp directory is writable.

The FileEngine is being used for
caching. To change the config edit

Your database configuration file is

Cake is NOT able to connect to the

I have no idea why it(s not connecting to the database. Has anyone else ever come across this problem and have any idea how to resolve it?

*edit Advice on configuring datalogging in cake would be a great help too

posted date: 2009-04-12 15:34:00

Re: Installing cake php on xampp#2
I had made out the solution of this problem. click to view my topic...

hope that hepls.

posted date: 2009-04-12 15:34:01

Re: Installing cake php on xampp#3
Have you configured the error log for cakephp? I would look in there first for clues.

posted date: 2009-04-12 16:33:00

Re: Installing cake php on xampp#4
I'm not sure how to do this I'm afraid. I found configure.php and cake_log.php, but the documentation doesn't really help much when it comes to altering values. As far as I can see the only docs on the cake website relate to logging for your app, not the core cakephp framework.

posted date: 2009-04-13 02:41:00

Re: Installing cake php on xampp#5
First, edit ~/app/config/core.php and raise debug to 2, this will give you more detailed error reporting.Second, triple check your ~/app/config/database.php and be 110% sure there is no typo in there. If there is no typo, try connecting with that same data with a non-cake script.If that fails too, you might want to check Apache and MySQL log files, or even your firewall if you have one.

posted date: 2009-04-13 06:44:00

Re: Installing cake php on xampp#6
good tip to try the connection data outside cake. Was a convoluted process, but eventually it got me to the bottom of the problem

posted date: 2009-04-13 08:53:00

Re: Installing cake php on xampp#7
Glad I couly help!

posted date: 2009-04-13 11:45:00

Re: Installing cake php on xampp#8
Have you checked if your database user name and password is correct?Also ensure that your database does exist. The following is the default username and password (actually, no password) XAMPP uses:var $default = array((driver( => (mysql(,(persistent( => false,(host( => (localhost(,(login( => (root(,(password( => ((,(database( => (db_name(,(prefix( => ((,);

posted date: 2009-04-19 15:57:00

Re: Installing cake php on xampp#9
When using phpmyadmin to add a user for phpcake to connect with I had to set the host to localhost instead of %.

posted date: 2011-02-26 11:18:00

select page: « 1 »
Copyright ©2008-2017 www.momige.com, all rights reserved.