Hello,
Today I purchased the vboptimise pro and installedi it on one of my client websites ,
but after installation I have strange errors in vboptimise settings...
For example when I click on flush cache or check for optimal settings it gives me this :
Please help me cause his website is not working properly and I should fix it ASAP...
thanks
Today I purchased the vboptimise pro and installedi it on one of my client websites ,
but after installation I have strange errors in vboptimise settings...
For example when I click on flush cache or check for optimal settings it gives me this :
Code:
ng trouble locating a destination on Yahoo!, try visiting the Yahoo! home page or look through a list of '; echo ''; print_table_start(); print_table_header('vB Optimise: Resource Saving Statistic'); print_description_row('
'); print_table_footer(); echo ''; print_cp_footer(); } // ###################### vB Optimise: Test Setup ####################### if ($_REQUEST['do'] == 'test') { if (!$vbulletin->options['vbo_online']) { print_cp_header($vbphrase['vboptimise_testsetup']); print_cp_message($vbphrase['vboptimise_testsetup_offline']); } if ($_REQUEST['act'] == '') { print_cp_header($vbphrase['vboptimise_testsetup']); echo ''; print_table_start(); print_table_header($vbphrase['vboptimise_testsetup']); print_description_row('' . $vbphrase['vboptimise_runtest'] . ': ' . $vbphrase['vboptimise_connectionto'] . ' ' . $vbulletin->options['vbo_operator'] . '', 0, 2, 'optiontitle'); print_description_row('
'); print_description_row('' . $vbphrase['vboptimise_runtest'] . ': ' . $vbphrase['vboptimise_storecache'] . '', 0, 2, 'optiontitle'); print_description_row('
'); print_description_row('' . $vbphrase['vboptimise_runtest'] . ': ' . $vbphrase['vboptimise_fetchcache'] . '', 0, 2, 'optiontitle'); print_description_row('
'); print_description_row('' . $vbphrase['vboptimise_runtest'] . ': ' . $vbphrase['vboptimise_flushcache'] . '', 0, 2, 'optiontitle'); print_description_row('
'); echo ''; print_table_footer(); print_cp_footer(); } else { require_once(DIR . '/includes/class_xml.php'); switch ($_REQUEST['act']) { case 'connection': { $result = vb_optimise::$cache->connect(); } break; case 'store': { vb_optimise::$cache->set('vbo_systest_temp', 'vB Optimise System Test'); if (vb_optimise::$cache->get('vbo_systest_temp') != 'vB Optimise System Test') { $result = false; $message = $vbphrase['vboptimise_cachefail']; } else { $result = true; } } break; case 'fetch': { // A repeat of the above, but without being set prior. This tests the opcachers ability to maintain cache between sessions. This is a common issue on fastcgi setups if (vb_optimise::$cache->get('vbo_systest_temp') != 'vB Optimise System Test') { $result = false; $message = $vbphrase['vboptimise_cachefail']; } else { $result = true; } } break; case 'flush': { vb_optimise::$cache->flush(); if (vb_optimise::$cache->get('vbo_systest_temp') == 'vB Optimise System Test') { $result = false; $message = $vbphrase['vboptimise_flushfail']; } else { $result = true; } } break; } $response = new vB_AJAX_XML_Builder($vbulletin, 'text/xml'); $response->add_group('test'); $response->add_tag('result', $result ? 'OK' : 'bad'); if (trim($message)) { $response->add_tag('message', $message); } $response->close_group(); $response->print_xml(); } } // ###################### vB Optimise: Optimal Settings Check ####################### if ($_REQUEST['do'] == 'optimal') { print_cp_header($vbphrase['vboptimise_settingscheck']); $check_settings = array( 'storecssasfile' => array( 'good' => array(1), 'edit' => 'options.php?' . $vbulletin->session->vars['sessionurl'] . 'do=options&dogroup=stylelang', ), 'attachfile' => array( 'good' => array(1, 2), 'edit' => 'attachment.php?' . $vbulletin->session->vars['sessionurl'] . 'do=storage', ), 'usefileavatar' => array( 'good' => array(1), 'edit' => 'avatar.php?' . $vbulletin->session->vars['sessionurl'] . 'do=storage', ), 'nocacheheaders' => array( 'good' => array(0), 'edit' => 'options.php?' . $vbulletin->session->vars['sessionurl'] . 'do=options&dogroup=http', ), 'threadviewslive' => array( 'good' => array(0), 'edit' => 'options.php?' . $vbulletin->session->vars['sessionurl'] . 'do=options&dogroup=server', ), 'attachmentviewslive' => array( 'good' => array(0), 'edit' => 'options.php?' . $vbulletin->session->vars['sessionurl'] . 'do=options&dogroup=server', ), ); print_table_start(); print_column_style_code(array('width:55%', 'width:45%')); print_table_header($vbphrase['vboptimise_settingscheck']); foreach ($check_settings as $setting => $optimal) { if (!isset($vbulletin->options[$setting])) { continue; } print_description_row('[' . $vbphrase['vboptimise_edit_setting'] . ']' . $vbphrase['vboptimise_' . $setting], 0, 2, 'optiontitle'); $result = 'good'; if (!in_array($vbulletin->options[$setting], $optimal['good'])) { $result = 'bad'; } $result = '' . ( $result == 'good' ? $vbphrase['vboptimise_setting_good'] : $vbphrase['vboptimise_setting_bad']); print_label_row('
' . $vbphrase['vboptimise_' . $setting . '_desc'] . '
', $result, '', 'top'); } print_table_footer(); print_cp_footer(); } ?>
Please help me cause his website is not working properly and I should fix it ASAP...
thanks