ANRON Posted November 25, 2002 Posted November 25, 2002 what's the problem with this messege...? Fatal error: Maximum execution time of 30 seconds exceeded in c:appservwwwcatalogincludesfunctionsdatabase.php on line 19 please...is there someone can help with this... friendly everyone around th world!!
greree Posted November 25, 2002 Posted November 25, 2002 I can help you a little. There's a line in php.ini that says "max_execution_time = 30". Change it to 60 and see if it takes 60 seconds to get the message. If it does then see what's on line 19 of database.php that might be taking too long. If Windows is the same as Linux, then line 19 says $$link = mysql_connect($server, $username, $password); So your script is taking longer than 30 seconds to connect to the database. See if you can manually connect to it. This will get you started.
ANRON Posted November 25, 2002 Author Posted November 25, 2002 I can help you a little. There's a line in php.ini that says "max_execution_time = 30". Change it to 60 and see if it takes 60 seconds to get the message. If it does then see what's on line 19 of database.php that might be taking too long. If Windows is the same as Linux, then line 19 says $$link = mysql_connect($server, $username, $password); So your script is taking longer than 30 seconds to connect to the database. See if you can manually connect to it. This will get you started. thank you sir...i'm trying your way..testing now!!anyway thanks very much!! ANRON friendly everyone around th world!!
ANRON Posted November 26, 2002 Author Posted November 26, 2002 I can help you a little. There's a line in php.ini that says "max_execution_time = 30". Change it to 60 and see if it takes 60 seconds to get the message. If it does then see what's on line 19 of database.php that might be taking too long. If Windows is the same as Linux, then line 19 says $$link = mysql_connect($server, $username, $password); So your script is taking longer than 30 seconds to connect to the database. See if you can manually connect to it. This will get you started. sir...i tried it for couple days..and the problem still on it...what else can i do...thanks!! friendly everyone around th world!!
ANRON Posted November 26, 2002 Author Posted November 26, 2002 I can help you a little. There's a line in php.ini that says "max_execution_time = 30". Change it to 60 and see if it takes 60 seconds to get the message. If it does then see what's on line 19 of database.php that might be taking too long. If Windows is the same as Linux, then line 19 says $$link = mysql_connect($server, $username, $password); So your script is taking longer than 30 seconds to connect to the database. See if you can manually connect to it. This will get you started. sir...i tried it for couple days..and the problem still on it...what else can i do...thanks!! help me please...my site openning while this problem can fix it... friendly everyone around th world!!
jonsteward Posted November 26, 2002 Posted November 26, 2002 Make sure that you have started your MySQL server I had the same problem this morning.
greree Posted November 26, 2002 Posted November 26, 2002 My advice wasn't a solution to the problem, just some tests. There was no need to try it for a couple of days. Just one would have been sufficient. I assume setting the timeout to 60 seconds didn't work. Did the error message change to "Fatal error: Maximum execution time of 60 seconds exceeded in...". If that's the case then I assume you tried to connect to the database manually. Did that work? If not then what were the error messages, if any. You need to provide more information.
ANRON Posted November 28, 2002 Author Posted November 28, 2002 My advice wasn't a solution to the problem, just some tests. There was no need to try it for a couple of days. Just one would have been sufficient. I assume setting the timeout to 60 seconds didn't work. Did the error message change to "Fatal error: Maximum execution time of 60 seconds exceeded in...". If that's the case then I assume you tried to connect to the database manually. Did that work? If not then what were the error messages, if any. You need to provide more information. i tried it...mysql is working!!and i had set it to 60 secs..but it still shows 30 secs...is anywhere wrong?it really made me nuts...anyway? friendly everyone around th world!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.