XHanch Studio Log in | Register | Cart

Forum

Notifications
Clear all

My Twitter breaks SSL in WP Admin

8 Posts
2 Users
0 Likes
8,489 Views
(@sjpanther)
Posts: 6
Active Member
Topic starter
 

My site and admin uses SSL.  However, because Xhanch either hardcodes or doesn't use WP API there are some images that are not loaded via SSL.  I have attached a file that demonstrates the issue.  Please fix.

 
Posted : 14/04/2012 4:44 am
(@sjpanther)
Posts: 6
Active Member
Topic starter
 

Attached is another instance but this breaks my application/shopping cart.  Take note of that the CSS doesn't load securely.  Love the plugin but this is urgent.  I need a fix to keep confidence of my customers.

 
Posted : 14/04/2012 6:40 am
XHanch
(@xhanch-alt)
Posts: 2105
Member Admin
 

In this case, you should change your WordPress address (URL) and Site address (URL) (on WP Admin > Settings > General) to secured URL of your site.
This plugin displays the URL/path to CSS and JS files based on that configuration.

 
Posted : 16/04/2012 4:34 am
(@sjpanther)
Posts: 6
Active Member
Topic starter
 

I don't think you understand the scenario.  First of all, I shouldn't need to do what you suggested.  In this scenario, most pages are non-SSL--only certain pages are SSL (including Admin).  Secondly, as I pointed out it is working for most of your URLs--it is NOT working for the select URLs I provided to you.  How would you explain this?  This is generally a problem due to how an application specifies the URL--the biggest reason are the following:

  • Elements loaded via JavaScript that are hard-coded to HTTP. Usually this can be fixed by altering the JavaScript calling these elements.
  • External elements that can not be delivered over HTTPS. These elements will have to be removed from the page, or hosted locally so that they can be loaded over HTTPS.

I have had other plugin developer rectify this issue with their plugins so their plugins can be used on e-Commerce or other places where SSL is required--I hope you will do the same.  Let me know what other additional information is necessary.

 
Posted : 16/04/2012 5:59 pm
XHanch
(@xhanch-alt)
Posts: 2105
Member Admin
 

I've made a small adjustment.
Download and extract the attached file and upload common.php to xhanch-my-twitter/inc

 
Posted : 18/04/2012 3:59 pm
(@sjpanther)
Posts: 6
Active Member
Topic starter
 

It broke.  I got the following error: (tried in Chrome)
Fatal error: Cannot redeclare xmt_is_ie6() (previously declared in /home/norman/public_html/wp-content/plugins/xhanch-my-twitter/inc/backup.common.php:3) in /home/norman/public_html/wp-content/plugins/xhanch-my-twitter/inc/common.php on line 8

 
Posted : 19/04/2012 3:23 am
XHanch
(@xhanch-alt)
Posts: 2105
Member Admin
 

It broke.  I got the following error: (tried in Chrome)
Fatal error: Cannot redeclare xmt_is_ie6() (previously declared in /home/norman/public_html/wp-content/plugins/xhanch-my-twitter/inc/backup.common.php:3) in /home/norman/public_html/wp-content/plugins/xhanch-my-twitter/inc/common.php on line 8

That's because you have backup.common.php.
Remove that file.

 
Posted : 19/04/2012 3:55 am
(@sjpanther)
Posts: 6
Active Member
Topic starter
 

Okay, I reloaded the new one.  Here are the errors I get going to Xhanch preferences in Admin

 
Posted : 19/04/2012 4:16 am
Share:

× Close Menu