function do_migration_checks() { $errors = 0; $check = check_php_version("../../info/"); $errors += $check['errors']; echo $check['msg']; $check = check_php_settings(); $errors += $check['errors']; echo $check['msg']; $check = check_db_loaded_extension('mysql'); $errors += $check['errors']; echo $check['msg']; $check = check_session(); $errors += $check['errors']; echo $check['msg']; $dirs_to_check = array('../../../gui/templates_c', '../../../logs'); $check = check_with_feedback($dirs_to_check); echo $check['msg']; $errors += $check['errors']; return $errors; }
</span></td> <td align="right"><span class="headers"><?php echo $the_title; ?> </span></td> </tr> <tr class="fancyRow2"> <td colspan="2" class="border-top-bottom smallText" align="right"> </td> </tr> <tr align="left" valign="top"> <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="1"> <tr align="left" valign="top"> <td class="pad" id="content" colspan="2"> <?php $check = check_db_loaded_extension($db_type); if ($check['errors'] > 0) { echo $check['msg']; close_html_and_exit(); } ?> TestLink setup will now attempt to setup the database:<br /> <?php $update_pwd = 0; $create = false; $errors = 0; $table_prefix = ''; $adminname = ''; $adminpass = ''; // do some database checks