Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Error on localhost prodinfo page - OK online
Author    Topic »  

myraltis
Advanced Member

202 Posts

Posted - 10/24/2026 :  11:47:13  
Hi All,

Not a huge problem, just one that's bugging me.

I upgraded the online site to PHP v8.3.6 today and all is working well, as expected.

To keep things consistent, I also updated the localhost version from PHP v7.4 to v8.3 then to 8.3.8 and that works well too. Except for on the prodinfo pages where there is an extra line of text that says "Warning: Undefined array key "HTTPS" in F:\UniformServer-HMO2016-XV\www\vsadmin\inc\metainfo.php on line 112"

The online site is https, the localhost version is http. I thought that might have been the cause, but if I fall back to PHP v7.4 the error message disappears.

Both versions of the site are running ECT v7.9.6.

Line 112 of metainfo is this:

$GLOBALS['canonicalurl']=($seodetailurls ? 'http' . ($_SERVER['HTTPS']=='on' ? 's' : '') . '://' . $_SERVER['HTTP_HOST'] . '/' : @$GLOBALS['storeurl']) . getdetailsurl($rs['pID'],$rs['pStaticPage'],$rs[$pntxt],$rs[$sturltxt],'','');


Can anyone point me in the right direction please?

Many thanks,
Tim

Edited by - myraltis on 10/24/2026 11:51:34
     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000