support community." ); return; } /* Mark as registered */ sixscan_common_set_oracle_registered_true(); /* Save the values from registration to database */ sixscan_common_set_site_id( $sixscan_oracle_auth_struct[ 'site_id' ] ); sixscan_common_set_api_token( $sixscan_oracle_auth_struct[ 'api_token' ] ); sixscan_common_set_verification_token( $sixscan_oracle_auth_struct[ 'verification_token' ] ); sixscan_common_set_dashboard_token( $sixscan_oracle_auth_struct[ 'dashboard_token' ] ); /* Verify the site */ if ( sixscan_communication_oracle_reg_verification() == FALSE ) { sixscan_menu_show_verification_screen(); return; } sixscan_common_set_oracle_verified_true(); /* Show user his options screen */ sixscan_menu_show_options_screen( TRUE ); } } } function sixscan_menu_show_options_screen( $is_first_time = FALSE) { print "\n"; ?> \n"; sixscan_menu_show_error_msg( $err_happened ); print "\n"; } $registration_url = SERVER_HTTP_PREFIX . $_SERVER[ "SERVER_NAME" ] . $_SERVER[ "REQUEST_URI" ]; $registration_email = get_option( "admin_email" ); $register_form_url = SIXSCAN_BODYGUARD_REGISTER_FORM_URL . "?user_email=" . urlencode( $registration_email ) . "&submit_link=" . urlencode( $registration_url ); print "\n"; ?> \n"; sixscan_menu_show_error_msg( "There was a problem verifying your site with 6Scan. Please ensure your site is publicly accessible at the following URL: " . SERVER_HTTP_PREFIX . $_SERVER[ "SERVER_NAME" ] . " and then click below to try again. If you continue to encounter problems, please visit our support community." ); ?>

\n"; } function sixscan_menu_show_error_msg( $err_msg ){ ?>