Post by alex067 » Fri Mar 30, 2018 4:49 am

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

New member

Posts

Joined
Wed Jul 12, 2017 9:50 am

Post by IP_CAM » Fri Mar 30, 2018 7:17 am

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

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by alex067 » Fri Mar 30, 2018 10:32 am

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

New member

Posts

Joined
Wed Jul 12, 2017 9:50 am
Who is online

Users browsing this forum: JessiesBoutique, pprmkr and 499 guests