Tuesday, December 7, 2010

Please help me get CakePHP 1.1 application running

Hi guys,

I am really hoping someone can lend a hand to a fellow developer.

I have inherited a CakePHP 1.1 application. Its running fine on the
production server, but I need to set the project up locally for
further development.

I am using Windows 7, Apache 2.2, MySQL and PHP 5.

I have DEBUG in app\config\core.php set to level 3.

PROBLEM: When I hit my root page I get a timeout.

More specifically, I get a detailed list of a ton of PHP warnings
output the the stream until finally it times out and gives the fatal
error: "Maximum execution time of 30 seconds exceeded in E:\34FTI\dev
\cake\cake\libs\model\dbo\dbo_mysql.php on line 100"

Which leads me to believe that there is a problem connecting to the
database.

app\config\database.php contains:

class DATABASE_CONFIG
{
// Developer Site Config Database
var $default = array('driver' => 'mysql',
'connect' => 'mysql_connect',
'host' => 'localhost',
'login' => 'XXXXXXXXX',
'password' => 'YYYYYYYY',
'database' => 'ZZZZZZZ',
'prefix' => '');
}

I have double checked this connection info is correct and re-entered
it into MySQL Workbench to triple check the connection to the database
is working OK. It seems to be fine.


Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate