Exceeding Maximum Execution Time Error (30s)
Increase the time limit As a last resort, you could temporarily extend the time limit, using either ini_set('max_execution_time', '300'); //300 seconds = 5 minutes or set_time_limit(300); In php.ini, like this: max_execution_time = 360; Maximum execution time of each script, in seconds (I CHANGED THIS VALUE) max_input_time = 120; Maximum amount of time each script may spend parsing request data ;max_input_nesting_level = 64; Maximum input variable nesting level memory_limit = 128M; Maximum amount of memory a script may consume (128MB by default)