View Single Post
  #1 (permalink)  
Old 4th October 2008, 20:34
alquimista's Avatar
alquimista alquimista is offline
D4PHP Guru
 
Join Date: Aug 2008
Location: Guadalajara, México
Posts: 234
alquimista is on a distinguished road
Default Fatal error: Maximum execution time...

Hi,

Some days ago I posted it a problem with the IDE's Debugger

There have been no answers; I'm trying to isolate the problem here. I have developed 4 foms in my application; the first two ran Ok in the debugger; when I wanted to test the additional 2 If in a form, the run crhashed with time-outs. Then I created a dummy test form, and copied the use-units and includes I have for my forms; if I include the basic "use_units", the debugger seems to run fine:

use_unit("buttons.inc.php");
use_unit("comctrls.inc.php");
use_unit("dbctrls.inc.php");
use_unit("db.inc.php");
use_unit("mysql.inc.php");
use_unit("dbtables.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php");

If I add my data module:

require_once("LYR_ModuloDatos.php");

the problem begins; the CPU goes up to 100% and the debugger takes 10 seconds to respond. I have one db connection, 2 tables, 2 data sources in the dataModule.

If I add a PHP file with class definitions:

require_once("GNsis/GNsis_bd.php");

It takes 20 seconds to start.

If I add all that have to go, I get "Fatal error: Maximum execution time of 30 seconds exceeded":

PHP Code:
require_once("vcl/vcl.inc.php");

//Inclusiones

require_once("lyr_proveedor.php");

require_once(
"GNsis/GNsis_bd.php");
require_once(
"GNsis/GNsis_bd_listas.php");
require_once(
"LyR_Plantilla.php");

require_once(
"lyr_proveedor_operaciones.php");

require_once(
"LYR_ModuloDatos.php");
use_unit("buttons.inc.php");
use_unit("comctrls.inc.php");
use_unit("dbctrls.inc.php");
use_unit("db.inc.php");
use_unit("mysql.inc.php");
use_unit("dbtables.inc.php");
use_unit("forms.inc.php");
use_unit("extctrls.inc.php");
use_unit("stdctrls.inc.php"); 
If I run it with no debugger or in my production server, I have no problem. Is there something I should setup on the IDE arround the debugger? or is it a debugger bug?

Guillermo
Reply With Quote
Sponsored Links