/** * Show an error message for load average blocking problems. * It shows a complete page independent of language files or themes. * It is used only if the load averages are too high to continue execution. * It stops further execution of the script. */ function display_loadavg_error() { // If this is a load average problem, display an appropriate message (but we still don't have language files!) set_fatal_error_headers(); echo '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="robots" content="noindex" /> <title>Temporarily Unavailable</title> </head> <body> <h3>Temporarily Unavailable</h3> Due to high stress on the server the forum is temporarily unavailable. Please try again later. </body> </html>'; die; }
/** * Show an error message for load average blocking problems. * * What it does: * - It shows a complete page independent of language files or themes. * - It is used only if the load averages are too high to continue execution. * - It stops further execution of the script. */ function display_loadavg_error() { // If this is a load average problem, display an appropriate message (but we still don't have language files!) set_fatal_error_headers(); echo '<!DOCTYPE html> <html> <head> <meta name="robots" content="noindex" /> <title>Temporarily Unavailable</title> </head> <body> <h3>Temporarily Unavailable</h3> Due to high stress on the server the forum is temporarily unavailable. Please try again later. </body> </html>'; die; }