Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-03-2017, 08:29 AM
boxingscene boxingscene is offline
 
Join Date: Sep 2004
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Very Odd HTTPS Problem, Need Advice

I'm running Vbulletin VB 3.8x

In order to comply with these incoming hassles from Chrome/Firefox, I am converting our Forum to HTTPS.

I have a test forum set up to work out all the issues before we go live.

I thought I was on a roll, almost no issues at all and even have the green SSL lock on both browsers.

However, I just noticed that there is a problem with the execution of cron scripts and they may not be executing.

I received an error message related to a cron script, and the script appears to be executing cron files under an "http" URL when it should be doing it under https.

Script : http://www.website.com/forums-ssl/cr...and=1486115304
Referrer : https://www.website.com/forums-ssl/forumdisplay.php?f=3

I am ONLY making our forum HTTPS at the moment, not our frontend, so on admincp I obviously changed the Forum URL to reflect HTTPS, and left our Homepage URL under HTTP.

I'm not sure if Homepage URL staying under HTTP is connected to this, or is there some hard-coded location where I need to change something to HTTPS for execution of cron scripts.

I'm a bit stumped at the moment and this appears to be the only issue left.

--------------- Added [DATE]1486120201[/DATE] at [TIME]1486120201[/TIME] ---------------

Actually, after reviewing a few things, the cron jobs may actually be executing - although I'm still not sure why the emails are showing an HTTP URL for the script error
Reply With Quote
  #2  
Old 02-05-2017, 07:34 AM
boxingscene boxingscene is offline
 
Join Date: Sep 2004
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I appear to have one more issue and I'm not sure how or where to solve this.

I was getting a mixed content error and saw that it was related to 2 Googleapi URLs that were using HTTPS.

Based on the backend, the only way to solve this is to turn YUI to none.

But there has to be a better way? Those URLs are being generated somewhere in the code?

There has to be somewhere that I can dive into within the files to make a simple URL change of http to https?
Reply With Quote
  #3  
Old 02-05-2017, 03:32 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe Paul said that there are some hard-coded URLs that will get removed in 3.8.11. So, if you are using an earlier version, you will need to modify the URLs manually.
Reply With Quote
  #4  
Old 02-05-2017, 03:48 PM
boxingscene boxingscene is offline
 
Join Date: Sep 2004
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I believe Paul said that there are some hard-coded URLs that will get removed in 3.8.11. So, if you are using an earlier version, you will need to modify the URLs manually.
Lynne, where are those URLs is the question?

--------------- Added [DATE]1486318090[/DATE] at [TIME]1486318090[/TIME] ---------------

Lynne,

Actually if you select google, instead of yahoo, it automatically becomes https, so that solved that
Reply With Quote
  #5  
Old 02-05-2017, 04:58 PM
Kane@airrifle's Avatar
Kane@airrifle Kane@airrifle is offline
 
Join Date: Jun 2011
Location: ZA
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

admincp/index.php
Reply With Quote
  #6  
Old 02-05-2017, 09:26 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I believe Paul said that there are some hard-coded URLs that will get removed in 3.8.11.
Thats for the acp & mcp, not the cron system url, that relies on auto detection of the protocol (as do many parts of vB).

There is an option in 3.8.11 (and 4.2.5) to override the auto detection and force http/https.
Reply With Quote
Reply


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 05:27 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.13282 seconds
  • Memory Usage 2,206KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete