• Resolved 11whyohwhy15

    (@11whyohwhy15)


    Hi,

    I have just noticed that my like button (it’s a little heart) underneath all my posts has stopped working since the latest update to geoblock. So now no one can tick any likes for my posts.

    I tested this on chrome and also safari on my iphone.

    It works fine if I deactivate geoblock (which I obviously don’t want to do).

    I also noticed yesterday a warning telling me to ‘clear cache’ or I would be locked out on my next attempt to login ?

    Thanks

    Ian

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi Ian,

    Sorry about your issue.

    This could be the same issue with https://ww.wp.xz.cn/support/topic/blacklist-resets-to-whitelist-automatically/

    So could you once check your settings of this plugin if matching rule and country code had changed?

    Thanks for your cooperation.

    Thread Starter 11whyohwhy15

    (@11whyohwhy15)

    HI,

    No nothing has changed I have whitelist checked and GB in my country code.

    I think it is something else that is stopping people from being able to tick the ‘likes heart’ under each post ?

    I can tick the likes heart whilst in dashboard or if I deactivate geo block.

    Thanks

    Ian

    Thread Starter 11whyohwhy15

    (@11whyohwhy15)

    I’ve put a link to a pic of the likes button which is underneath all my posts on my blog to help understand the problem.

    likes button

    • This reply was modified 9 years, 3 months ago by 11whyohwhy15.
    • This reply was modified 9 years, 3 months ago by 11whyohwhy15.
    Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi Ian,

    Thank you for your detailed information. I think there are two possibilities. One is some JavaScript errors occurred because of incompatibility. For this case, I’d appreciate if you check in your browser and let me know which plugin do you use for “likes heart”.

    The other is some blocking happened because of some reason.
    For this case, could you find the blocked requests in the logs of this plugin? The “Result” column showed the reason of blocking which helps to resolve this issue.

    Also I’d like to know from which version did you upgrade, 2.2.9.1 or 3.0.1?

    I’d appreciate if you let me know those things.

    Thanks for your cooperation.

    Thread Starter 11whyohwhy15

    (@11whyohwhy15)

    Hi,

    The likes button is incorporated into the wordpress theme not a plug-in.

    Is it easier for you to goto http://www.whodoido.com/ and inspect the properties under the post of the likes button ?

    I don’t remember which version upgraded from sorry. I juast know I’m running version 3.0.1.1

    Thanks

    Plugin Author tokkonopapa

    (@tokkonopapa)

    OK, I’ll inspect your site.

    By the way, it’s a beautiful site!

    Thread Starter 11whyohwhy15

    (@11whyohwhy15)

    Hi,

    Excellent.

    And thank you so much for the compliment !! 😉

    Ian

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi Ian,

    I’ve investigated your site and the like button.

    1. You may use CloudFlare CDN whose server is placed in US. I think this is OK.

    2. When I push the like button, 503 Service Unavailable is returned. I’m in Brazil now on business. If you deactivate IP Geo Block for now, I think there’s another issue. If you activate IGB and set 503 Service Unavailable as “Response code“, I think it is exactly the issue of this topic.

    3. I put a code snippet at https://gist.github.com/tokkonopapa/e7421a5203a3c9fde863c9175f824e1b so that this plugin works with your theme. Please refer to the link to find how to use it.

    If you have any questions or issues, please feel free to order me more support.

    Thanks.

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi Ian,

    I’ll provide another solution. Please follow the steps:

    1. Add define('IP_GEO_BLOCK_DEBUG', true); in wp-config.php.
    2. Put like_post into “Exception for admin action and page” at “Back-end target settings” section of this plugin’s settings page. This feature is a hidden functionality.
    3. After saving settings, you can safely remove the definition of 1. to hide 2.

    I think this is easier than the previous solution. Please try!

    Thanks.

    Thread Starter 11whyohwhy15

    (@11whyohwhy15)

    Hey,

    You’re a star *****

    The second solution worked a treat.

    Thanks

    Ian 😉

    I ran into a similar problem on my site (meltedphotography.com) with not being able to add photos to favorites. I’m using the Sunshine Photo Cart plugin. According to the developer it had to do with the way Ajax calls are handled as administrator tasks.

    Would the information you provided to 11whyohwhy15 above correct this issue as well?

    At the moment I have unchecked the ‘Prevent Zero-day Exploit’ box in the Admin ajax/post section of the settings and this is serving as a workaround. I can still Block By Country which is my main concern, but there are bad actors within the US and other ‘friendly’ countries that I allow into my site.

    Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi @meltedphoto,

    Sorry for your issue.

    I’m now investigating Sunshine Photo Cart at demo site. And I found that ajax action sunshine_gallery_upload in multipart form data is used to upload a photo.

    Basically, I designed this plugin so that it can handle that form data. But something might be wrong. So I’ll test SPC in my environment. Please give me some time.

    For your side, could you try my beta version? The following is more improved way which I provided to @11whyohwhy15.

    1. Download https://github.com/tokkonopapa/WordPress-IP-Geo-Block/archive/3.0.2.zip and unzip it.

    2. Deactivate IP Geo Block.

    3. Upload ip-geo-block in unzipped folder. Overwriting is OK.

    4. Activate IGB again.

    5. Specify sunshine_gallery_upload in “Exceptions” at “Admin ajax/post” section.

    By this setting, I hope you will be able to enable WP-ZEP for all other admin ajax/post requests.

    Thank for your reporting.

    • This reply was modified 9 years, 3 months ago by tokkonopapa.
    Plugin Author tokkonopapa

    (@tokkonopapa)

    Hi @meltedphoto,

    I had tested Sunshine Photo Cart in my site but no problem was found. IGB can properly handle the actions of SPC.

    So please check your environment after referring “Why “Sorry, your request cannot be accepted” ?“.

    And if you found no error but still had issues, please open a new thread.

    Thanks.

    • This reply was modified 9 years, 3 months ago by tokkonopapa.
Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Like button not working on posts’ is closed to new replies.