Okay,
@Tomz.
Do you or anyone know how to resolve the issue?
After creating an event, the popup event view works but single event view page doesn't work it shows error 404.
OK, here’s how to null EventON for both the main plugin and the addons. These instructions are for 2.6.5 and line numbers are for unedited files (so if you add code somewhere, the line numbers will change accordingly).
In the file eventON/includes/admin/class-license.php, after line 19 which is
PHP:
public function purchase_key_format($key){
Add:
Then in the function remote_validation($args), after line 325 which is
PHP:
$output['api_url'] = $url;
Add:
PHP:
if($this->slug == 'eventon'){
$this->set_prop( 'buyer', 'whatever_name_you_want_here');
$output['status'] = 'good';
$this->set_prop('remote_validity','valid' );
} else {
$this->set_prop('remote_validity','valid' );
$this->set_prop('key',$key );
$output['status'] = 'good';
}
return $output;
Then in the file eventON/includes/admin/class-admin-ajax.php, after line 894 which is function get_remote_validation_results($validation, $PROD, $type){
Add:
PHP:
$output['status'] = 'good';
$PROD->set_prop('status', 'active');
EVO_Error()->record_activation_rem();
return $output;
Then in the function deactivate_product(), after line 927 which is
Add:
PHP:
if($_POST['type'] == 'main'){
$PROD = new EVO_Product_Lic('eventon');
$status = $PROD->deactivate();
$slug = 'eventon';
EVO_Error()->record_deactivation_loc($slug);
$html = $this->get_html_view('main',$slug);
$error_code = 33;
} else { //for addons
$PROD = new EVO_Product_Lic($_POST['slug']);
$error_code = 33;
EVO_Error()->record_deactivation_rem();
$PROD->deactivate();
$html = $this->get_html_view('addon',$_POST['slug']);
$status = 'success';
}
$return_content = array(
'status'=> ($status?'success':'bad'),
'msg'=>EVO_Error()->error_code($error_code),
'html'=> $html,
);
echo json_encode($return_content);
exit;
Any details can be used to activate the plugin. Also, any addons that get installed you can use any details to activate those too. It’s also safe to deactivate should you need to for any reason.