Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
  #1  
Old 12-28-2016, 11:57 PM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Would anyone like to discuss moving to SSL/HTTPS?

I'm guessing this isn't something anyone really wants to talk about. My vBulletin 3 sites seem to find SSL very attractive. No problems. vBulletin 4 is another story. Is anyone running SSL on vB4 without any problems? A few issues I've encountered so far...

1. The editor doesn't work anymore. You need to edit code in class_bootstrap.php to fix that problem. FIXED BY DAVE

2. The "Reply With Quote" button doesn't work anymore - unless you click it once, wait for the spinning "loading" gif to appear - and then click again. Just double clicking doesn't work. FIXED BY DAVE

3. Attachments don't work. You can get as far as clicking submit to upload your file - but then the attachment window just fills with a vBulletin page that states you don't have permission to do what you're doing...

4. Quick User Finder doesn't work anymore and if I search for an email address, I can only search for the domain name - like "gmail.com" - the @ sign or anything before it will prevent it from working. I can hit enter or submit and the data will just clear out...

That's all I found before I gave up and turned SSL off... If anyone would like to talk about their challenges and/or successes, please do...
Reply With Quote
  #2  
Old 12-29-2016, 12:01 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sal Collaziano View Post
I'm guessing this isn't something anyone really wants to talk about. My vBulletin 3 sites seem to find SSL very attractive. No problems. vBulletin 4 is another story. Is anyone running SSL on vB4 without any problems? A few issues I've encountered so far...

1. The editor doesn't work anymore. You need to edit code in class_bootstrap.php to fix that problem.

2. The "Reply With Quote" button doesn't work anymore - unless you click it once, wait for the spinning "loading" gif to appear - and then click again. Just double clicking doesn't work.

3. Attachments don't work. You can get as far as clicking submit to upload your file - but then the attachment window just fills with a vBulletin page that states you don't have permission to do what you're doing...

That's all I found before I gave up and turned SSL off... If anyone would like to talk about their challenges and/or successes, please do...
I did not have those problems at all and there already is a discussion going on about switching to https://..

What version of Vbulletin are you using?
Reply With Quote
Благодарность от:
MarkFL
  #3  
Old 12-29-2016, 05:55 AM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I moved all my vb4 boards over to https a few weeks back and had none of those issues, I just changed the site url in the admincp, added a few replacement variables to catch anything I'd hard coded to http and rebuilt the styles - all done and working fine within 15 minutes.
Reply With Quote
  #4  
Old 12-29-2016, 01:54 PM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
I did not have those problems at all and there already is a discussion going on about switching to https://..

What version of Vbulletin are you using?
That's awesome. I wonder if it has something to do with the type of certificate used. I use a free certificate from Cloudflare. Is THIS the discussion you're referring to?:
https://vborg.vbsupport.ru/showthread.php?t=322813

If not, would you point me in the right direction?

Quote:
Originally Posted by z3r0 View Post
I moved all my vb4 boards over to https a few weeks back and had none of those issues, I just changed the site url in the admincp, added a few replacement variables to catch anything I'd hard coded to http and rebuilt the styles - all done and working fine within 15 minutes.
Wow. Nice... I wonder if the replacement variables did the trick. You didn't even have to deal with this?:
http://tracker.vbulletin.com/browse/VBIV-15721
Reply With Quote
  #5  
Old 12-29-2016, 01:58 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your problem sounds like JavaScript files that are still loaded over HTTP.
If you open up the developer tools (F12) in Chrome and refresh the page that has issues, you should see some red errors in the console tab that indicate what's going wrong.
Reply With Quote
  #6  
Old 12-29-2016, 02:18 PM
z3r0's Avatar
z3r0 z3r0 is offline
 
Join Date: Apr 2005
Posts: 339
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sal Collaziano View Post
Wow. Nice... I wonder if the replacement variables did the trick. You didn't even have to deal with this?:
http://tracker.vbulletin.com/browse/VBIV-15721
No I didn't have to deal with that, everything just worked fine.

As Dave has said open your F12 developer tools on the console and check the errors, most things should be easy enough to sort.
Reply With Quote
  #7  
Old 12-29-2016, 02:35 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this is the thread RichieBoy67 meant: https://vborg.vbsupport.ru/showthread.php?t=323946

I moved to https just recently as well, using Let's Encrypt, and I did not have any issues. I didn't use any replacements vars, but I did edit my templates and changed everything which was hard coded. I used a SQL query to find them all.

Also, this link was a huge help with some of the cleanup things: https://www.vbulletin.com/forum/arti...forum-to-https
Reply With Quote
  #8  
Old 12-29-2016, 05:52 PM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, guys. I read that discussion just now... I have a "stock", unmodified vB4 running the latest non-beta version that I use to test things here:
https://lf3performance.com/

I just converted that over to SSL and it's got all the issues. Considering it's unmodified - I wonder if there's a certain type of server setting that's causing my problems. If some of you guys are simply installing the SSL certificate and updating the URLs in the Admin CP to get it working - then I'm surprised. I guess you're lucky...
Reply With Quote
  #9  
Old 12-29-2016, 06:01 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried using the style variable replacement tool to convert: "http://www.lf3performance.com" to "https://www.lf3performance.com"? Also try clearing the server cache in the AdminCP under maintenance.

When I check the source code of the forum, I still see a couple of references to the HTTP version of your site.

HTML Code:
(index):93 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/spacer.gif'. This content should also be served over HTTPS.
(index):280 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/misc/navbit-home.png'. This content should also be served over HTTPS.
(index):329 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/collapse_40b.png'. This content should also be served over HTTPS.
(index):345 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):378 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):429 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):447 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/subforum_old-48.png'. This content should also be served over HTTPS.
(index):477 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):529 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/collapse_40b.png'. This content should also be served over HTTPS.
(index):545 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):578 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):629 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):666 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):696 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/icons/icon14.png'. This content should also be served over HTTPS.
(index):699 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):750 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):783 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):865 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/misc/forum_stats.png'. This content should also be served over HTTPS.
(index):881 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/misc/legend.png'. This content should also be served over HTTPS.
(index):884 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_new-16.png'. This content should also be served over HTTPS.
(index):885 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-16.png'. This content should also be served over HTTPS.
(index):887 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/category-16.png'. This content should also be served over HTTPS.
(index):888 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_link-16.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/misc/arrow.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/search.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure favicon 'http://www.lf3performance.com/favicon.ico'. This content should also be served over HTTPS.
HTML Code:
<link rel="Shortcut Icon" href="http://www.lf3performance.com/favicon.ico" type="image/x-icon" />
HTML Code:
	var IMGDIR_MISC = "http://www.lf3performance.com/images/misc";
	var IMGDIR_BUTTON = "http://www.lf3performance.com/images/buttons";
I also noticed that the site uses the www subdomain at some locations where at other locations it doesn't use it.
Reply With Quote
  #10  
Old 12-29-2016, 06:03 PM
Sal Collaziano Sal Collaziano is offline
 
Join Date: Dec 2001
Location: Royal Palm Beach, Florida
Posts: 232
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah! You beat me to that. I just updated all the images to /images/ and now I've got the nice green "lock" icon. But the other issues are still there...

Quote:
Originally Posted by Dave View Post
Have you tried using the style variable replacement tool to convert: "http://www.lf3performance.com" to "https://www.lf3performance.com"? Also try clearing the server cache in the AdminCP under maintenance.

When I check the source code of the forum, I still see a couple of references to the HTTP version of your site.

HTML Code:
(index):93 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/spacer.gif'. This content should also be served over HTTPS.
(index):280 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/misc/navbit-home.png'. This content should also be served over HTTPS.
(index):329 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/collapse_40b.png'. This content should also be served over HTTPS.
(index):345 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):378 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):429 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):447 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/subforum_old-48.png'. This content should also be served over HTTPS.
(index):477 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):529 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/collapse_40b.png'. This content should also be served over HTTPS.
(index):545 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):578 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):629 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):666 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):696 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/icons/icon14.png'. This content should also be served over HTTPS.
(index):699 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):750 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-48.png'. This content should also be served over HTTPS.
(index):783 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/lastpost-right.png'. This content should also be served over HTTPS.
(index):865 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/misc/forum_stats.png'. This content should also be served over HTTPS.
(index):881 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/misc/legend.png'. This content should also be served over HTTPS.
(index):884 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_new-16.png'. This content should also be served over HTTPS.
(index):885 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_old-16.png'. This content should also be served over HTTPS.
(index):887 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/category-16.png'. This content should also be served over HTTPS.
(index):888 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/statusicon/forum_link-16.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/misc/arrow.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure image 'http://www.lf3performance.com/images/buttons/search.png'. This content should also be served over HTTPS.
(index):1 Mixed Content: The page at 'https://lf3performance.com/' was loaded over HTTPS, but requested an insecure favicon 'http://www.lf3performance.com/favicon.ico'. This content should also be served over HTTPS.
HTML Code:
<link rel="Shortcut Icon" href="http://www.lf3performance.com/favicon.ico" type="image/x-icon" />
HTML Code:
	var IMGDIR_MISC = "http://www.lf3performance.com/images/misc";
	var IMGDIR_BUTTON = "http://www.lf3performance.com/images/buttons";
I also noticed that the site uses the www subdomain at some locations where at other locations it doesn't use it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:52 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04324 seconds
  • Memory Usage 2,299KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (6)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete