Page 1 of 1

HTTPS issue

Posted: Fri Mar 30, 2018 4:49 am
by alex067
Hi everyone, I have a FRESH install on opencart, using siteground as my host.

Right after the install, on the header I receive various errors regarding HTTPS variables being undefined, for example:

Notice: Undefined variable: _SERVER in system/startup.php on line 28
Notice: Undefined variable: _REQUEST in ystem/library/request.php on line 26
Warning: Cannot modify header information - headers already sent by (output started at /system/startup.php:28) in system/framework.php on line 108
Warning: Cannot modify header information - headers already sent by (output started at system/startup.php:28) in catalog/controller/startup/session.php on line 25
Notice: Undefined index: HTTPS in tickets/catalog/controller/startup/startup.php on line 5
Warning: Cannot modify header information - headers already sent by (system/startup.php:28) in catalog/controller/startup/startup.php on line 99
Warning: Cannot modify header information - headers already sent by (output started at system/startup.php:28) in catalog/controller/startup/startup.php on line 157
Notice: Undefined index: HTTPS in catalog/model/tool/image.php on line 43
Notice: Undefined index: HTTPS in catalog/model/tool/image.php on line 43
Notice: Undefined index: HTTPS in catalog/model/tool/image.php on line 43
Notice: Undefined index: HTTPS in catalog/model/tool/image.php on line 43

and it just goes on and on and on

the page displays but the error is cluttering up the header space

Re: HTTPS issue

Posted: Fri Mar 30, 2018 7:17 am
by IP_CAM
Notice: Undefined variable: _SERVER in system/startup.php on line 28
Notice: Undefined variable: _REQUEST in ystem/library/request.php on line 26
Well, you need to publish the content of your 2 config.php files, you seem to have screwed up in
different Lines... (publish them WITHOUT the DB Access credentials)
Ernie

Re: HTTPS issue

Posted: Fri Mar 30, 2018 10:32 am
by alex067
Hey I actually found the resolution.

I just went to the files it mentioned, so the startup and the request and removed the $_ and re-added it in, that fixed my issue