Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › photo seller – total not updating when add number to buy
- This topic has 20 replies, 3 voices, and was last updated 6 years, 9 months ago by Peter.
-
AuthorPosts
-
February 5, 2018 at 12:56 am #75173PeterMember
I’ve had trouble with it on some themes
This could be the cause of your issues and you will need to ask the theme developer to address it.
I just did a test on a proper SSL site and I can see no issues with incorrect loading of http pages.
I think the problem you are seeing is being caused by something on your setup.
Can you please do the following:
1. undo any changes you made to this plugin by deactivating and deleting it and reinstalling a fresh version.
2. deactivate all other plugins except this one
3. revert to a properly coded theme (twentyseventeen)
Then and try your test again. Let me know how that goes.
February 5, 2018 at 1:07 am #75174tralayMemberI did that a little bit ago, all the changes that i had done earlier to change all the http to https is gone, it is a fresh install. I have no other plugins activated, i have tried it on several browsers with many different themes, i have cleared all my cache and it keeps coming up with the same thing. I am seeing this error when i use chrome and firefox inspect apps. whatever it is it it’s breaking the site if i allow the script to play and it is only on that one particular page after you click add to cart from the pop up photo. it is instantly getting blocked.
February 5, 2018 at 1:44 am #75175PeterMemberSo are you saying that when you reverted the theme to twentyseventeen you are still seeing the same issue?
That’s strange because I just did the same test and I don’t see the same problem as you.
I’ve sent you an email.
February 5, 2018 at 10:19 am #75176tralayMemberi can send you a screenshot if you want
February 5, 2018 at 10:32 am #75177tralayMemberand yes, I even reverted it back to the theme that is so bare bones that it doesn’t even have a header
February 5, 2018 at 10:48 am #75178PeterMemberI checked the photo seller plugin code and it is correct.
The part of the code which serves up the location of that js script file looks like this:
<?php echo site_url(); ?>?wps_load_dynamic_js=js-gallery-photo-details
Note the use of the core wordpress site_url() function.
https://codex.wordpress.org/Function_Reference/site_url
This function will return either https or http depending on what your server is configured as.
What might be happening is that the site_url function could be returning “http” because the “is_ssl()” check it does is coming back as false.
The wordpress is_ssl() core page states that there may be cases where that function will not work when a server is behind a loadbalancer. It also provides some workaround code you can apply to your wp-config.php file:
-
AuthorPosts
- You must be logged in to reply to this topic.