Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\seven\includes\database\database.inc on line 2168
I've been having this issue for about a month now, unable to install the new profile. I'm using XAMPP 3.2.1 (most recent I think, compiled: May 7th 2013). I'm also using Seven 2_0_23.
Help?
Hi Damian:
Your server is cutting down the import script due to a execution time limit of 30 seconds, but it takes usually 60. So please, do what is explained here http://doublemthemes.com/comment/41#comment-41
And then restart your Apache Server on XAMP.
Bests!
Thanks for that! So I've done as you suggested, and it threw this error once i configured the administrator account & timezone and stuff.
Fatal error: Maximum execution time of 90 seconds exceeded in C:\xampp\htdocs\seven\includes\database\database.inc on line 2168
Uncaught exception thrown in shutdown function.
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'my_db.semaphore' doesn't exist: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 1486638678527b55de2d49c6.89460469 ) in lock_release_all() (line 269 of C:\xampp\htdocs\seven\includes\lock.inc).
Uncaught exception thrown in session handler.
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'my_db.sessions' doesn't exist: SELECT 1 AS expression FROM {sessions} sessions WHERE ( (sid = :db_condition_placeholder_0) AND (ssid = :db_condition_placeholder_1) ) FOR UPDATE; Array ( [:db_condition_placeholder_0] => 4G0cUIRuVm1Aox_7e2tPDJccwpZ_WYiHz68H6gaonZg [:db_condition_placeholder_1] => ) in _drupal_session_write() (line 209 of C:\xampp\htdocs\seven\includes\session.inc).
How do I fix this?
Hi Damian:
Thing is now that the database has some tables due to the previous incomplete runs of the import script.
1 - Clean up the database using phpmyadmin (Drop all Tables)
2 - The number you increased to 90, now do it to 300, as I see you have another timeout error. Restart apache.
3 - Restart the installation again.
Let us know.
Best!
Yeah, I tried with a whole new DB, same scenario, just took a lot longer to throw the error.
Hi Damian:
Wow.... really weird...
Then set it to 3000. I have really no idea why your php takes that much time to run the import script.
Let me know.
Best!