• Resolved jstacklin

    (@jstacklin)


    Hello. I have tried to add the shortcodes to the editor, however they always either load for a few seconds, and then unload in Firefox, or they don’t show at all in Edge, Chrome, and IE. What did I do wrong and/or what do you need from me so you can help me?

    Plugin is installed without a dedicated node, using additional CoinPayments plugin for third-party support. No errors showing up on dashboard.

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author dashed-slug.net

    (@dashedslug)

    Hello,

    Was this on version 2.5.0? There was a known javascript issue, fixed in 2.5.1. That could be it. Can you check that you’re running the latest version, and also check your JavaScript console for errors?

    Thanks

    regards,
    Alex

    Thread Starter jstacklin

    (@jstacklin)

    Hey Alex. Sorry for taking so long. I have been doing so much work it’s not even funny. It still has the same error with the latest updates to Wallet (ver. 2.5.4). To be 100% honest, I have no idea what I am looking for in the console. I see that there are issues, but it isn’t with the website, it’s with a plugin that I have or other tabs.

    Thanks for your help.

    Thread Starter jstacklin

    (@jstacklin)

    Okay, script debug spat out two errors:

    JQMIGRATE: jQuery.attrFn is deprecated
    and
    JQMIGRATE: jQuery.fn.load() is deprecated

    hope this helps!

    Thread Starter jstacklin

    (@jstacklin)

    Further watching came up with this error:
    Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ for file view-source:https://allcoininvesting.tk/wp-includes/js/jquery/jquery.js?ver=1.12.4

    but I don’t see how that would cause issues.

    Plugin Author dashed-slug.net

    (@dashedslug)

    Hello,

    The errors you mention are actually warnings, probably not the cause of your problems. Thanks for reporting them though.

    I believe there may be another issue with loading JavaScript sources in some situations, I will have a look again now and if necessary release another fix.

    best regards,
    Alex

    Plugin Author dashed-slug.net

    (@dashedslug)

    OK after some investigation this is what I found:

    Short version:
    Install 2.6.0 and you should be fine.

    Long version:
    In 2.5.4 I decided to stop relying on CDNs to load external assets and I included a local copy of Knockout.js, a library that is used extensively on the frontend. I had modified the build process to call grunt on the Knockout project and build a deployable version of the library, passing it through uglify.js, etc. Due to a mistake I did in my deployment code, the library was not deployed in the .zip file that I regularly upload to the site. The library was uploaded to ww.wp.xz.cn though, so any user who had installed the program through that site would not have experienced a problem. This explains why noone complained up to now. My guess is that you installed the plugin by downloading it from the website, which should normally be fine, but in this situation there was this bug only in the zip file and not in the ww.wp.xz.cn copy.

    I took the opportunity in 2.6.0 to release some code that gets used by a lot of extensions and is now in the main plugin. It has to do with pulling exchange rates between currencies. Over the next few releases the code will be factored out of these extensions.

    Please install 2.6.0 either from the website or ww.wp.xz.cn and you should be fine.

    Let me know so I can close this issue. Apologies for the inconvenience and thank you for reporting this issue.

    best regards,
    Alex

    Thread Starter jstacklin

    (@jstacklin)

    Uhh.. For updates in the WP directory 2.5.4 is the latest that is available. Should I try to get it from the d-s site and load it that way?

    Thanks.

    Sorry for the issues.

    Plugin Author dashed-slug.net

    (@dashedslug)

    The site just takes a while to update. Right now I see that 2.6.0 is up. You could also download the update from dashed-slug.net/downloads or simply update from your plugins admin page. All of these should be equivalent.

    Also make sure that when testing the frontend, you are logged in as a user whose role has the appropriate capabilities (check the wallets -> capabilities menu).

    Please let me know if you face further problems.

    Thread Starter jstacklin

    (@jstacklin)

    Well.. Crap. Updated and it still only shows the white bars after a few seconds of loading. I’m in a separate browser, I have the perms set, and it’s updated to the WP Plugin Directory version 2.6.0.

    (sigh)

    Should I wipe the WPPD version and just use the one from the D-S website instead?

    Thread Starter jstacklin

    (@jstacklin)

    Troubleshooting steps thusfar:

    Disabled CloudFlare traffic, disabled security software, disabled WP Fastest Cache (all now re-enabled). None of these worked.

    Plugin Author dashed-slug.net

    (@dashedslug)

    Is at least one coin adapter enabled and responding?

    Thread Starter jstacklin

    (@jstacklin)

    AHH-HA!

    Not Responding: The Bitcoin on CoinPayments adapter failed on get_balance(): The API call returned error: Too many errors in the last two minutes from 107.150.18.3 - please fix your code and try again...

    This is the same for the other coins from CP.

    I have double checked the info and have pretty much everything checked in CP settings! The only issue was when I contacted them, Mr.Data said that I had to give an exact IPN return domain, not just the main domain! This is what he said:

    "Make sure to include your IPN script in the URL, ie. https://allcoininvesting.tk/ipn.php - If you don't have an IPN script then you don't need an IPN URL set."

    I hope this helps! Maybe I was just dumb and missed something in the tutorial!

    Plugin Author dashed-slug.net

    (@dashedslug)

    You need to provide the following:

    Public key
    Private key
    Merchant ID
    IPN secret

    Do not enter any domain, only the IPN secret as set in your CoinPayments settings. This is step 6 in the instructions.

    If you have already done this, then simply wait out the two minutes and try again. This could be an one-off error. Their API throttles errors but errors are caused every time they introduce new coins with various peculiarities.

    I am testing the adapter right now and do not see any problem, so please try again.

    Let me know how it goes.

    Thread Starter jstacklin

    (@jstacklin)

    Thank you! It must have been a bad copy/paste on my part (or an issue with my settings for the API key). Thank you so much for guiding me through my mistakes. I hope you have a great day!

    Plugin Author dashed-slug.net

    (@dashedslug)

    Happy to help.

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

The topic ‘Blank pages?’ is closed to new replies.