Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter Mark

    (@mark_1)

    No problem ninjew.

    Yes, we only actually have the one location, our guesthouse. We use the plugin in order to allow the user to search for other locations (local attractions, places of interest etc) within a specified radius of the guesthouse. This allows guests to plan their days out and get driving directions to these destinations from our location.

    Obviously, the local file solution won’t work for the majority of plugin users, but for our particular application it works fine.

    Thanks again for a great plugin and excellent support.

    Mark

    Thread Starter Mark

    (@mark_1)

    Just an update on this.

    I was finally able to debug server-side and confirmed that the status code being returned from the API was OVER_QUERY_LIMIT as ninjew had suspected.

    Following review, I realised that since I have always have a fixed location in the address field (the user is not given an option to enter it as we are trying to determine distances from the same location), I could take the XML returned from a successful server call (since the result will always be the same) and save it off to a file. I amended the code to read the XML from the file and commented out the API call altogether. This has resolved the issue.

    Thanks ninjew for pointing me in the the right direction on this issue.

    By the way, I also confirmed that Google no longer takes notice of API keys in version 3. See here for more information.

    Thread Starter Mark

    (@mark_1)

    Hi ninjew,

    Thanks for the quick response on this. I think you are definitely on the right track with the Google Geocode API. As you requested, I tried searching with no address in the address field and the results did come up.

    When I first activated your plugin during testing, I set up a Google APIs account in order to get a free Google API key. I selected the Google Maps API v3 from the API list (which I’m assuming was correct) and generated a key which I added to the field in the plugin admin section.

    Earlier today I noticed I had an option to use either a browser or server API key. I had been using a server key (which I think uses the IP address of the server), so I thought that could be the problem based on what you said in your initial response. I switched to using a browser key and everything immediately starting working again, but about an hour or so later the issue resurfaced and results were no longer being returned.

    I should also note that I removed the keys altogether and left the APi field in the plugin admin section empty, but it made no difference. Again, if I try to run the identical code on my local machine at the exact same time there are issues on the server, then results are returned locally without any issues.

    I’m not sure if any of the above information helps, but I thought I should mention it.

    Is there anywhere in the plugin code where I could see the status code that is being returned from the API? I notice Google provides a list of status codes on the page you linked to.

    Thanks again for your help,

    Mark

    Hi Héctor,

    I’ve been experiencing the same type of issue where the Google Analytics pageviews are so much higher than those being recorded in WP Popular Posts. I am also running the latest version of WP Super Cache.

    Any help you could provide would be very much appreciated.

    Thanks again for a great plugin,

    Mark

    Not to worry. After debugging the code, I finally discovered the problem.

    In leaguemanager\admin\admin.php, there is a typo on line 976. The word championship is spelt incorrectly as champioship. See below.

    if ( !$matches && $league->mode == 'champioship' ) {
        global $championship;
        $championship->proceed( false, $championship->getFinalKeys(1) );
    }

    Change champioship to championship and that will resolve the issue.

    Hi there,

    I’m experiencing this exact same problem when using championship mode. I followed the solution that mikkyx provided above to the letter, but I am still getting the It seems the previous round is not over yet error.

    Does anyone have any other ideas what this might be? I guess I must be missing something really obvious, but I can’t for the life of me see what it is!

    Any help would be greatly appreciated.

    Just made the change.

    Thanks for sharing ??

    I was having this issue as well and just applied the fix.

    The insert functionality is working fine now.

    Thanks notami.

Viewing 8 replies - 1 through 8 (of 8 total)