vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Who is moving to https? (https://vborg.vbsupport.ru/showthread.php?t=323946)

KevinL 12-01-2016 10:18 PM

Quote:

Originally Posted by RichieBoy67 (Post 2579014)

I cannot understand why everything is messed up in Chrome.. looks like my entire theme is screwed up.

Looks OK to me.

RichieBoy67 12-01-2016 10:19 PM

Ok, I fixed that.. just had to add the full url to those images for the theme.

I just need to figure out my htaccess next and done. :)

CAG CheechDogg 12-01-2016 10:19 PM

I hate chrome dude ... I stay with firefox exclusively ...

RichieBoy67 12-01-2016 10:23 PM

Quote:

Originally Posted by CAG CheechDogg (Post 2579019)
I hate chrome dude ... I stay with firefox exclusively ...

I usually do but lately firefox has been sluggish and laggy mostly due to my speeddials and the sheer amount of tabs I have open at any one time.

Chrome seems to handle it ok but it is not always so friendly.

I have actually tried the latest IE and it is pretty quick but it doesn't have the tools I need, webdeveloper tool bar, Firebug, etc..

Anyways I use Firefox mostly still though my sites have to be user friendly to everyone.

shimei 12-01-2016 10:27 PM

This is my .htaccess:

Quote:

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.christforums\.org [OR,NC]
RewriteCond %{HTTPS} off
RewriteRule ^ https://www.christforums.org%{REQUEST_URI} [NE,R=301,L]
Regarding Browsers, I now use Brave. Ex Mozilla CEO Is Back

For a direct link to Brave: https://brave.com/

I haven't any issue now with Cloudflare, though I did have to create a pagerule for the admincp. Rocket Loader is off for pages that have the Ckeditor, but overall Cloudflare has increased performance and lowered my page load time by several seconds. My load times are consistently under two seconds.

Enjoy,
Shim

RichieBoy67 12-01-2016 10:37 PM

Ok, I got a working solution. I did this myself and I am not very skilled at htaccess so please let me know if this is ok:

PHP Code:

Options +FollowSymLinksRewriteEngine onRewriteBase /RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]RewriteCond %{HTTP_HOST} ^mysite\.com$ [NC]RewriteRule ^(.*)$ https://mysite.com/$1 [L,R=301] 

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

The solution I found that works better than htaccess is to use page rules in cloudflare. The only issue is that browsers will still have issues with mixed content such as images from third party sites not using https..

I have been using that import plug in for years so hopefully we will not have an issue with this. The plug in has a url replace setting so just put in your https://yoursite.XXX

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

Hmmmmm

I have everything set I believe but I am having issues now with both browsers in the admincpanel.

I cannot rebuild the search table because it will not load the next page. This is javascript..

When updating settings I do not ever get to the new page once completed.

I did update some of the urls for jquery, etc to include https


##Dave I did incorporate your change but it has helped this issue..

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

Quote:

Originally Posted by Dave (Post 2579003)
I also encountered problems in the AdminCP with HTTPS and Cloudflare. This is what I had to change:

/admincp/index.php look around line 495, and replace the $mainframe variable with
PHP Code:

$mainframe "<frame src="" . str_replace("http://", "https://", iif(!empty($vbulletin->GPC['loc']) AND !preg_match('#^[a-z]+:#i', $vbulletin->GPC['loc']), create_full_url($vbulletin->GPC['loc']), "index.php?" . $vbulletin->session->vars['sessionurl'] . "do=home")) . "" name="main" scrolling="yes" frameborder="0" marginwidth="10" marginheight="10" border="no" />\n"; 


When I use this I get:
PHP Code:

PHP Warningtrim() expects parameter 1 to be string, array given in ..../includes/adminfunctions_options.php on line 1032 

when saving admincp options..

RichieBoy67 12-02-2016 08:53 AM

1 Attachment(s)
Everything seems to be working fine except for the admincp.. I can see that the the url that pushes to the next page as in the image below are not https:// for some reason..

Dave 12-02-2016 01:04 PM

The error
HTML Code:

PHP Warning: trim() expects parameter 1 to be string, array given in ..../includes/adminfunctions_options.php on line 1032
Seems to be caused by a plugin because it happens in the validate_setting_value function.

RichieBoy67 12-03-2016 07:31 AM

This is the htaccess I ended up using. This redirects everything to https://

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RichieBoy67 12-07-2016 06:46 PM

I am still having some issues inside the admincp.

I cannot use the user search now. In firefox it will not search at all and in Chrome the section where the search is shows up blank once I trigger a search.

Also, if I edit a forum it never finishes and redirects back. Same thing when I edit an option in the settings. Then if I look at the link below where it says the following:

If you are not automatically redirected, please click here.
Processing Complete - Proceed

Both of those links show no https://

I really need these functions fixed. Especially the user search. Some help would be appreciated please. :)




All times are GMT. The time now is 08:32 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.01712 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete