PDA

View Full Version : 30 Seconds in display.php



txt
12-13-2005, 09:18 AM
Hello 2 all...

I had the news script in my site since 6 months ago... and all goes so good, but yesterday the script says:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/centro/public_html/noticias/classes/display.php on line 102

Please people... I dont know why! can you help me please!
Thanks to all...

PD: If I change in the index of site the Idīs of the forums... it runs perfectly, ex:

work with (1, 2 so good....):
<?php include_once("/home/centro/public_html/noticias/news.php");
$forum_obj = new EP_Dev_Forum_News();
$forum_obj->display_Headlines("10", "1,2", "0", "0"); ?>

And the problem (note the 3):
<?php include_once("/home/centro/public_html/noticias/news.php");
$forum_obj = new EP_Dev_Forum_News();
$forum_obj->display_Headlines("10", "1, 2, 3", "0", "0"); ?>

uhmmm!
bye!

Patrick
12-14-2005, 12:29 PM
Is the line number that the scripts gives the same every time. In other words, is the line number for the error always line 102?

Are you using the latest version?
What forum script are you using?
Have you modified the script recently (or did it just stop working without you making ANY modifications)?

Is there a HUGE post in the category ID that isn't working (in the example you gave, is there a huge post in category with the id 3).

What happens when you turn off "Auto-Link URLs" in the script settings page of the EP-Dev Forum News Admin Panel?

If possible could you provide the URL to your forum (or PM me the URL if you prefer)?

neo
01-08-2006, 10:12 PM
Hey the same thing just happened to me...exceeded 30 seconds in display.php line 102

It was on a fairly long post that was in
tags.

If I turn off the Auto-Link URLs it will then show the post.

Any ideas?

Patrick
01-08-2006, 11:24 PM
Does anyone have a link so that I can see HOW long the post is?