Map Cache Beta

This topic contains 7 replies, has 4 voices, and was last updated by  Stiofan O’Connor 6 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #413275

    DC
    Lifetime Member
    Post count: 65

    Good Afternoon

    I enabled the Map Cache Beta and since doing this I keep getting the following error. I don’t know if this is due to my local setup or if this is related to the Beta and needs investigating. Either way, I thought it best to make you aware.

    PHP Warning: readfile(https://ayecode.b-cdn.net/home/myloc/public_html/attractionsnearme.co.uk/wp-content/plugins/geodirectory/geodirectory-functions/map-functions/map-cache/d49aee799dc475f1f3481f33d9f342bc.json): failed to open stream: No such file or directory in /home/myloc/public_html/attractionsnearme.co.uk/wp-content/plugins/geodirectory/geodirectory-functions/map-functions/get_markers.php on line 71

    Regards
    Dan – http://www.attractionsnearme.co.uk

    #413287

    Kor
    Moderator
    Post count: 16516

    Hi Dan,

    Do you mean you’re working on a local? If not, please share WP admin access in private reply and we’ll check on it.

    Thanks!

    #413420

    DC
    Lifetime Member
    Post count: 65
    This reply has been marked as private.
    #413565

    Kor
    Moderator
    Post count: 16516

    Hi Dan,

    Just inspected your Website but I’m not able to see any errors on the homepage when the map cache is switched “On”. How do I replicate it? Could you provide a screenshot of the said area which is displaying the error?

    Thanks!

    #413582

    Dirk
    Full Member
    Post count: 390

    Hi Kor,

    When I’m looking at my access logs I’m also seeing this warning.

    With a quick look at the source the function is deleting the json files (and all of them) if the cache lifetime (24h) is reached. Next step is trying to read the file, but it does not exists (deleted before).

    But at the end the map is still working or I have not seen any user issues with it.

    Best,
    Dirk

    #413810

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    OK, i see that it might fail once every 24 hours, i have fixed this and it will be in the next release.

    Thanks,

    Stiofan

    #413812

    DC
    Lifetime Member
    Post count: 65

    Hi Stiofan/Kor

    Apologies for the delayed response, I am guessing that you no longer require details from me of how to replicate the error. Thanks Dirk for providing the additional info. I look forward to the next release.

    Many Thanks
    Dan – https://www.attractionsnearme.co.uk

    #413849

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    No need for details i seen the issue in the code and fixed it, thanks 🙂

    Stiofan

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket