WordPress.org

Forums

ClassiPress Ads Importer plugin
[resolved] Error importing csv file (4 posts)

  1. starflow
    Member
    Posted 2 years ago #

    Warning: gzinflate() [function.gzinflate]: data error in /home/shopinth/public_html/sits/wp-content/plugins/appthemes-classipress-ads-importer-plugin/classi-importer.class.php on line 224

    Error. API Key is not valid.

    What does this mean and how can I correct it?

    http://wordpress.org/extend/plugins/appthemes-classipress-ads-importer-plugin/

  2. colingreig
    Member
    Posted 2 years ago #

    The site that it references in the code is no longer up. I was able to overcome the error by commenting out that line (224) and forcing the $res value to true:

    function process($file) {
    		$res = false;
    		//eval(base64_decode(gzinflate(file_get_contents(sprintf("http://akameron.com/classi-api/validate.php?hn=%s&apikey=%s", $this -> domain_name, get_option('classi-importer_free_apikey'))))));
    		$res = true;
    		return $res;
    	}

    Now the script runs to completion but it's doesn't appear to work.. (No new ads/user/cats are added)

  3. starflow
    Member
    Posted 2 years ago #

    I did what you said and it removed the first part of the error, but not the 2nd: Error. API Key is not valid.

    and yes, it does appear that this plugin does not work, not for me anyway I can't upload anything!

  4. anaisa
    Member
    Plugin Author

    Posted 2 years ago #

    Hello,

    Error is fixed and new version is already updated. Check version 2.0.

    Best,
    Anaisa

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ClassiPress Ads Importer plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic