As your local environmet can be slower, you can write this set_time_limit(0) what removes the limit or set_time_limit(x) x-big value in secs as you desire.
Regards. 2010/12/7 M4ngoB00M <[email protected]> > 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 [email protected] > To unsubscribe from this group, send email to > [email protected]<cake-php%[email protected]>For > more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
