CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Problems with reports

Print topic Send  topic

Author Message
Seppoapa

Posts: 2
Posted: 09/12/2007, 10:54 AM

I get this message when trying to open a webreport.

Fatal error: Maximum execution time of 30 seconds exceeded in c:\inetpub\wwwroot\Papu\Common.php on line 1331

The report is ok, when there is less data, but now there is more than 2000 rows and this problem occurs. How can I change the maximum execution time?

- seppo -


_________________
- seppo -
View profile  Send private message
klwillis


Posts: 428
Posted: 09/12/2007, 1:05 PM

You'll need to update PHP.INI and then restart your webserver.

Look for the following flag wthin PHP.INI
max_execution_time = <seconds-for-script-to-execute>

Quote Seppoapa:
I get this message when trying to open a webreport.

Fatal error: Maximum execution time of 30 seconds exceeded in c:\inetpub\wwwroot\Papu\Common.php on line 1331

The report is ok, when there is less data, but now there is more than 2000 rows and this problem occurs. How can I change the maximum execution time?

- seppo -



_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
datadoit.com
Posted: 09/12/2007, 4:19 PM

In your page's BeforeShow event add this:

set_time_limit(60); //set execution time to one minute.

This will override whatever is set in your PHP.ini.
Seppoapa

Posts: 2
Posted: 09/13/2007, 10:07 AM

Thanks a lot! Now it's working.

_________________
- seppo -
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.