Forum Replies Created

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter sybok

    (@sybok)

    I see there is a weird character in the specification of the Add to Cart button. I removed that, problem still occurs.

    I enabled script debugging, and opened the Firefox debugging console. When the page loads there are a couple of warnings about loading some of the images on the page; nothing about the Add to Cart button. For example,

    Loading mixed (insecure) display content “https://api.usno.navy.mil/imagery/moon.png?&ID=AA-URL” on a secure page

    These images are not related to the page implementing the Shopping Cart; they are in sidebars and footers. The are images from other people’s sites.

    When I click the Add To Cart button, nothing shows up in the console. No errors, etc.

    Maybe I don’t understand what you mean by mixed content links. I think it means a mixture of https:// addresses and https:// addresses. I think my links (implementing the shopping cart) are all https. Maybe you mean something else?

    Or, is there something more I can look at in the console or inspector?

    Here is the html for the button. Perhaps I am missing something here? It “acts like” the ReadForm function is not being activated.

    <form method="post" class="wp-cart-button-form" action="" style="display:inline" onsubmit="return ReadForm(this, true);">
    <input type="hidden" id="_wpnonce" name="_wpnonce" value="1255145ec0">
    <input type="hidden" name="_wp_http_referer" value="/join-sacpaypal/">
    <input type="image" src="https://saguaroastro.org/wp-content/uploads/add-to-cart-button-green-3.png" class="wp_cart_button" alt="Add to Cart">
    <input type="hidden" name="wspsc_product" value="Saguaro Astronomy Club Individual Membership Renewal">
    <input type="hidden" name="price" value="32.00">
    <input type="hidden" name="shipping" value="0">
    <input type="hidden" name="addcart" value="1">
    <input type="hidden" name="cartLink" value="https://www.saguaroastro.org:443/join-sacpaypal/">
    <input type="hidden" name="product_tmp" value="Saguaro Astronomy Club Individual Membership Renewal">
    <input type="hidden" name="item_number" value="">
    <input type="hidden" name="thumbnail" value="https://saguaroastro.org/wp-content/uploads/renewIndividual-300x169.jpg">
    <input type="hidden" name="hash_one" value="a9a8129337e6249499e40a2d5e941707">
    <input type="hidden" name="hash_two" value="cbc6b91ea0484c005b77616a13205294">
    </form>
    Thread Starter sybok

    (@sybok)

    Oops, spoke too soon. Fixed the https: code, but the problem still occurs:(

    Thread Starter sybok

    (@sybok)

    Sharp eyes there. This was initially implemented before the SSL certificate was installed, hence the error.

    Help! I am also having this problem. When I try to login (as my admin account) the login screen gives the error

    Error: unexpected error
    At first, it gave
    Error: Invalid answer
    which I suspect means it did not like the recaptcha answer.

    The reCaptcha option is activated. I recently updated WordFence to the latest (as of a couple of days ago) version.

    By now, my IP has been blocked from logging in.

    I went in through cPanel/FileManager and renamed the plugins/wordfence folder to attempt to disable wordfence. This did not work; I am still locked out. WordFence seems to still be running?

    I need to know how to get into my dashboard and change the wordfence settings.

    • This reply was modified 5 years, 6 months ago by sybok. Reason: Clarify error message
    Thread Starter sybok

    (@sybok)

    The directions for the manual upgrade state to use the dashboard to deactivate/delete the plugin. I do not have access to the dashboard – I get the white screen error.

    I think I need a way to deactivate the plugin from the cPanel file manager so I can run the dashboard.

    Forum: Fixing WordPress
    In reply to: 5.0.2 update hangs
    Thread Starter sybok

    (@sybok)

    Oops, not right after all.

    Tried to update plugins. A couple of them succeeded (Akismet, another one). Then it failed on Timely Calendar with some kind of configuration error. I tried a couple of others and they all failed with a similar configuration error. Unfortunately I did not write down the error, some type of html error DOC_TYPE configuration error.

    So, now both the dashboard and regular site report they are in maintenance mode.

    Oops, that has changed again. I now get an error
    Fatal error: require(): Failed opening required ‘/home/content/49/3791049/html/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.inc.php’ (include_path=’.:/usr/local/php5_6/lib/php’) in /home/content/49/3791049/html/wp-content/plugins/all-in-one-event-calendar/lib/bootstrap/loader.php on line 88

    in both wp-admin dashboard and the regular site.

    So, the site is down and I can’t seem to get into admin mode.

    Forum: Fixing WordPress
    In reply to: 5.0.2 update hangs
    Thread Starter sybok

    (@sybok)

    Well, something eventually changed. The Maintenance message went away, replaced by the script-loader error. Eventually I guess the update timed out? and the dashboard began working again, with a message

    “An automated WordPress update has failed to complete – please attempt the update again now.”

    I tried again, and it gave a message that the database needed to be updated (it doesn’t do that automatically? So, I said go ahead and update; that ran quickly, and now it looks like I am updated.

    So, I guess I am finally updated OK:)

    Forum: Fixing WordPress
    In reply to: 5.0.2 update hangs
    Thread Starter sybok

    (@sybok)

    More information:

    Briefly I suddenly got a message when accessing the site normally that the site is under maintenance. Now, however, I get

    Fatal error: Class ‘WP_Block_Type_Registry’ not found in /home/content/49/3791049/html/wp-includes/script-loader.php on line 2421

    I think I am updating from 4.9.9 to 5.0.2

    OK, that seems to work. I don’t know why you would need to massage the attribute names, but OK. So underscores will work – do dashes?

    You also seem to be doing some massaging of the value string. I am trying to pass in a file name (image for a PayPal sales item). The file is something like abc.jpg. Took me awhile to realize you change the period to a dash, so the file becomes abc-jpg. Obnoxious that I have to write code to convert back to the correct file name. Is there a way to escape the period in the filename?

    This does not seem to be working for me. What does “calling $my_type var” mean?

    In my snippet I do
    echo (“Price is {” . $thePrice . “}”);
    This yields an empty string in $thePrice. I.e., it prints Price is {}

    The snippet is called by
    [wbcr_php_snippet id=”635″ thePrice=”32″]

    I assume I need to do something else? I am running version 2.0.6 of PHP code snippets.

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