Congratulations! You have completed the installation. MachForm is now installed."; }else{ $install_message = "An error has occured during installation."; } $state = 'install_report'; }else{ //do a pre installation check $state = 'show_preinstall_check'; //check for PHP version if(version_compare(PHP_VERSION,"4.3.0",">=")){ $is_php_version_passed = true; }else{ $is_php_version_passed = false; $pre_install_has_error = true; } //check for MySQL version if(version_compare(mysql_get_server_info(),"4.1.0",">=")){ $is_mysql_version_passed = true; }else{ $is_mysql_version_passed = false; $pre_install_has_error = true; } //check for MySQL user,password and database existance if(empty($mysql_connect_error)){ $is_mysql_connect_passed = true; }else{ $is_mysql_connect_passed = false; $pre_install_has_error = true; } if(empty($mysql_select_db_error)){ $is_mysql_select_db_passed = true; }else{ $is_mysql_select_db_passed = false; $pre_install_has_error = true; } //check for data folder permission if(is_writable(DATA_DIR)){ $is_data_dir_writable = true; }else { $is_data_dir_writable = false; $pre_install_has_error = true; $data_dir_writable_error = "MachForm require read and write access to this folder. Please set the correct permission."; } if($pre_install_has_error){ $pre_install_message = "Your system does not match the minimum requirements necessary. Please take the appropriate actions to correct the errors."; }else{ $pre_install_message = "Your system passed the minimum requirements necessary. You can now start the installation process."; } } } } $hide_nav = true; ?>
Please fix the following error before you can continue the installation process:
Please follow the step below to be able to continue: