grantkustoms Posted July 1, 2010 Share Posted July 1, 2010 Fatal error: Maximum execution time of 30 seconds exceeded in D:\Inetpub\wwwroot\grantkustoms.com\catalog\includes\functions\database.php on line 44 I only get the error after the 1st two pages. Theres the Top page then the main catalog page, then anything selected from that page gives me this error. On a side note I do not get this error anywhere when I am on the admin side of my site. I only get it when viewing this page as if I was a customer. Any help would be great, my web people seem to be stumped. Link to comment Share on other sites More sharing options...
Kasketkarl.nu Posted July 1, 2010 Share Posted July 1, 2010 Line 40 to 49 Should look like this: if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { error_log('QUERY ' . $query . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); } $result = mysql_query($query, $$link) or tep_db_error($query, mysql_errno(), mysql_error()); if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { $result_error = mysql_error(); error_log('RESULT ' . $result . ' ' . $result_error . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); } Link to comment Share on other sites More sharing options...
grantkustoms Posted July 1, 2010 Author Share Posted July 1, 2010 Line 40 to 49 Should look like this: if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { error_log('QUERY ' . $query . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); } $result = mysql_query($query, $$link) or tep_db_error($query, mysql_errno(), mysql_error()); if (defined('STORE_DB_TRANSACTIONS') && (STORE_DB_TRANSACTIONS == 'true')) { $result_error = mysql_error(); error_log('RESULT ' . $result . ' ' . $result_error . "\n", 3, STORE_PAGE_PARSE_TIME_LOG); } thanks, I forwarded this to my web people. Hope this fixes it Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.