The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
have looked through the forum but found no answers .... any help with this apache error?
PHP Notice: Undefined index: HTTPS in /var/www/html/forum/includes/class_core.php on line 1575, referer: http://www.bla-bla-bla.com/forum/index.php line-1575 define('REQ_PROTOCOL', (($_SERVER['HTTPS'] == 'on' OR $_SERVER['HTTPS'] == '1') ? 'https' : 'http')); vBulletin 3.6.5 PHP Version 4.3.9 Apache/2.0.52 (CentOS) sql 4.1.20 many thanks |
#2
|
||||
|
||||
![]()
You forgot to check if variable exists at all.
define('REQ_PROTOCOL', (isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on' OR $_SERVER['HTTPS'] == '1') ? 'https' : 'http')); |
#3
|
|||
|
|||
![]()
Thanks for your help
![]() that did the trick! |
#4
|
|||
|
|||
![]()
Add the following in the top of your script:
PHP Code:
PS do you get this error in the default vB index.php file?? |
#5
|
|||
|
|||
![]() Quote:
Many thanks for your comments .. im afraid i would not know were to put this code.. Add the following in the top of your script: [php]error_reporting(E_ALL & ~E_NOTICE); sorry? ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|