X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Finstall-inc.php;h=18af33b97dc2d136af0e86564ce398ec2efe379f;hb=0e104a9282a1cdc7d769bbccb03bd3462aa8f4e0;hp=681e7c14aa5bf0f802276cad573ab586cb6f0aad;hpb=18307767587d0bbb96c9e545790e590ebf3ea396;p=mailer.git diff --git a/inc/install-inc.php b/inc/install-inc.php index 681e7c14aa..18af33b97d 100644 --- a/inc/install-inc.php +++ b/inc/install-inc.php @@ -200,9 +200,11 @@ if ((!isInstalled()) || (!isAdminRegistered())) { // You have submitted data then we have to reset the SQLs initSqls(); - // Restore PHPs error handler to prevent ours to handle errors, - // e.g. failed connection attempts. We want to handle them on - // our own. + /* + * Restore PHPs error handler to prevent ours to handle errors, + * e.g. failed connection attempts. We want to handle them on + * our own. + */ restore_error_handler(); // Connect to database server @@ -215,7 +217,7 @@ if ((!isInstalled()) || (!isAdminRegistered())) { // Check for dumps if ((!isFileReadable(postRequestParameter('spath') . 'install/tables.sql')) || (!isFileReadable(postRequestParameter('spath') . 'install/menu-'.getLanguage().'.sql'))) { // Installation area not found - addFatalMessage(__FILE__, __LINE__, '{--INSTALL_MISSING_DUMPS--}'); + debug_report_bug(__FILE__, __LINE__, 'SQL dumps not found. Please extract ALL files from the archive or checkout all files out from SVN.'); return; } // END - if