WordPress.org

Ready to get started?Download WordPress

Forums

WordPress HTTPS (SSL)
[resolved] Ajax / Jquery not redirecting to https (16 posts)

  1. davbel
    Member
    Posted 2 years ago #

    Howdy Mvied

    Got the SSL to work using the V2 you posted about, however I've come across another issue

    I'm using the Shopp ecommerce plugin and it uses Ajax to update the checkout page order values when you select a different delivery service. However, since I've been able to the page to show via Https, the ajax freezes whilst updating the page and I get the following error in Chrome Developer Tools console:

    'XMLHttpRequest cannot load http://www.mysitedomain.co.uk/wp-admin/admin-ajax.php?action=shopp_ship_costs&method=Express+Delivery. Origin https://www.mysitedomain.co.uk is not allowed by Access-Control-Allow-Origin.'

    http://wordpress.org/extend/plugins/wordpress-https/

  2. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey davbel,

    Depending on how the plugin is written, I may not be able to fix this. Do you mind if I login to your site and take a look? I won't actually change anything, I just need to see the JavaScript they're using to make the AJAX call. My email is mike[at]mvied[dot]com.

    Thanks,
    Mike

  3. davbel
    Member
    Posted 2 years ago #

    Hi Mike

    Have emailed details

  4. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey davbel,

    This should be fixed in the most current version. Please update and let me know if the problem is fixed.

    Thanks,
    Mike

  5. shagi
    Member
    Posted 2 years ago #

    I have the same problem with a different plugin: all-in-one-event-calendar.

    The plugin's js loads admin-ajax.php, and builds the url using admin_url( 'admin-ajax.php' )

    I'm using WordPress HTTPS 2.0.4 and WordPress 3.3.1

    Thanks,

    Shagi

  6. gwk0
    Member
    Posted 2 years ago #

    I had the same problem - WordPress HTTPS 2.0.4 and WordPress 3.3.1.

    My guess is that the bloginfo override is not being called in the new version for some reason.

    I reverted to v1.8.5 which I was using before and it all came right.

  7. shagi
    Member
    Posted 2 years ago #

    I have it working with WordPress HTTPS 1.8.5 too.

    ┬┐Anyone knows how can be fixed in las version?

    Sorry for late response :-P

  8. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    I just pushed out version 3.0 which may or may not fix the issues you were having. Please try updating and let me know if you need any help.

    Sorry for the late response. I have not had time to support the plugin for a while now. Since I just pushed out 3.0, I'll be keeping an eye on the support forums to fix any bugs that arise.

    Thanks,
    Mike

  9. shagi
    Member
    Posted 2 years ago #

    Thanks for the support! But 3.0 it's even worse than previous, now the site breaks and only shows a blank page. Returning to 1.8.5 fixed all.

    Unfortunately I didn't find any log in firebug and I can't reach server logs at this moment. I'll try again later.

    Bye,

    Shagi

  10. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey Shagi,

    That would be great. Only some users are having issues. I'd love to get a bug fix version out quickly.

    Thanks,
    Mike

  11. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey Shagi,

    Also wanted to mention that many people have issues when upgrading in the admin panel. Resetting the plugin by using the constant WPHTTPS_RESET in your wp-config.php may fix it, but I'd like to get an actual bug report of what's happening.

    Thanks,
    Mike

  12. shagi
    Member
    Posted 2 years ago #

    I have tried again, putting define('WPHTTPS_RESET', 1); in wp-config.php

    This time I can't access wp-admin with https, it returns a blank page.

    I'm no wordpress or php expert, so I'm a bit lost. I can't access error logs, and the access log says that pages where served with a 200 http code.

    I'll appreciate any help with the report. Any ideas of how could I give better info?

    I'll try setting a development server and try getting more information, but it'll take some time.

    Bye,

    Shagi

  13. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey Shagi,

    Try enabling WP_DEBUG as well. Without an error or error logs, it's hard telling what the issue is. It's definitely a PHP error, though.

    Thanks,
    Mike

  14. shagi
    Member
    Posted 2 years ago #

    I have tried with WP_DEBUG. Although many warnings are now displayed none seems related to this plugin.

    Entering wp-admin keeps giving a blank page. Firebug says that the response is completely blank, without any warning.

    Bye,

    Shagi

  15. Mvied
    Member
    Plugin Author

    Posted 2 years ago #

    Hey Shagi,

    I've done a number of bug fixes since 3.0. Please update and let me know if you have any issues.

    Thanks,
    Mike

  16. shagi
    Member
    Posted 2 years ago #

    Yes! The error that started this thread seems fixed in 3.0.3 version.

    Thanks for all your work!

    Bye,

    Shagi

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic