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 after applying 7.5.5 update
Author « Topic »  

kmkelso
Starting Member

USA
48 Posts

Posted - 01/09/2023 :  21:39:47  
This is an odd one I've not seen before. These error messages repeat numerous times in the 'Top Sellers' column in the ECT dashboard after applying the 7.5.5 update. However, only on one of my three stores. It traces to this select statement in incfunctions.php. Any idea what could be causing this? I tried reapplying the updater and re-ran the database update, but no joy.

Warning: Undefined array key "scheme" in /home/tekna/public_html/vsadmin/inc/incfunctions.php on line 2480

Warning: Undefined array key "host" in /home/tekna/public_html/vsadmin/inc/incfunctions.php on line 2480

$sSQL='SELECT stateAbbrev FROM states WHERE (stateCountryID=1 OR stateCountryID=2) AND ' . (is_numeric($statename) ? "stateID=" . $statename : "(stateName='" . escape_string($statename) . "' OR stateAbbrev='" . escape_string($statename) . "')");

Karl

Vince
Administrator

42692 Posts

Posted - 01/10/2023 :  01:41:16  
Hi Karl
Can you check what your Store URL is set as and make sure that it has the "http://" or "https://" before the URL. Please also check the includes.php file for the $orstoreurl / $orstoreurlssl variables.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

kmkelso
Starting Member

USA
48 Posts

Posted - 01/10/2023 :  10:23:16  
Thanks Vince! That sorted it. I've been trying to maintain a fine balance between having both a PHP site, https://tekna.us and a WP blog, https://wp.tekna.us with also integrating a WP version of the original PHP site https://wp.tekna.us/home-page with all three using the same database for continuity. Complicating this was somewhere somehow the subdomain www. kept interjecting itself into the URL and totally mucking the waters up. Tried making all kinds of changes to htaccess. None of them worked satisfactorily. I could not find where it was coming from. Using Cloudflare to cache the sites globally for both access speed and security added an extra amount of stress as when making changes with caching enabled, it took 3 days for changes to be noted. I disabled and purged Cloudflare cache, then noted directory access issues apparently caused by an Apache update applied lately.
It's been one string of dark clouds after another, and we leave for a trade show conference this coming Sunday. All the sites have to be working.
I have the Store URL set to https://tekna.us in the dashboard. Of course, that also appears in the wp site dashboard because its the same database. However, I have the $orstoreurlssl variable in includes.php for the PHP site set to https://tekna.us and I'm using https://wp.tekna.us in the includes.php for the WP site.
I think they're stable now and boss wants a new price catalog posted. Many thanks again!

Vince
Administrator

42692 Posts

Posted - 01/11/2023 :  08:10:59  
  « 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