Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m having this issue too. It looks like the developers site, https://ww2.m2soft.co.in/ expired or got bought up by some other company, hard to tell….but the main issue is line 40 in “contact-form-7-custom-skins.php”…apparently the software goes to the developers site to get some kind of key and pass it on

    Line 40:
    curl_setopt($ch, CURLOPT_URL, 'https://m2soft.co.in/dev/plugin_cf7ct/?action=generate_secure_key&websitekey='.$key.'&uri='.urlencode($uri).'&version='.serialize("version 1.1"));

    Removing some of the “cf7ct_website_secure_key” stuff worked for me, Haven’t gone through all the code to see what else it affects, but seems to have worked for me…..take with a grain or two of salt….

    try replacing the activation code section in “contact-form-7-custom-skins.php” with the following.

    basically set $secure_token = '', and remove line 46-50,

    /* Start Activation code*/
    
    function cf7ct_activate() {
    	$get_pre_int_ver = get_option('cf7ct');
    	if(!empty($get_pre_int_ver) && unserialize($get_pre_int_ver)=='version 1.0'){
    		global $wpdb;
    		$wpdb->query("UPDATE $wpdb->posts SET post_type = 'cf7ct' WHERE post_type like 'cf7ct_%'");
    		update_option( 'cf7ct',serialize('version 1.1') );
    	}else{
    		////tracking of previous install version
    		add_option( 'cf7ct',serialize('version 1.1') );
    		/////tracking of previous install version
    	}
    	ob_start();$uri=get_bloginfo("url");$key=md5(time().$uri);$ch=curl_init();
    	curl_setopt($ch, CURLOPT_URL, 'https://m2soft.co.in/dev/plugin_cf7ct/?action=generate_secure_key&websitekey='.$key.'&uri='.urlencode($uri).'&version='.serialize("version 1.1"));
    	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    	$secure_token = '';
    	if ($secure_token=='') {
    		$secure_token ='secure_token_not_generated';
    	}
    }
    register_activation_hook(__FILE__, 'cf7ct_activate' );
    /* End Activation code */
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘The requested URL could not be retrieved’ is closed to new replies.