Jump to content

site not loading until cache is cleared?


steve.rolfe@mac.com

Recommended Posts

Hi all,

we have the latest cubecart installed and it was working perfectly for two months .  Now, all of a sudden the page won't load - just says network not found.  When you use another browser, you get different error messages, but all point to the fact that the page won't load.  Now, as soon as you logon to the admin area and clear cache, the site loads perfectly.  However, if you click one of the category links - same message.   Then, you clear cache and that page will then load.  I'm not sure what is going on as we haven't changed anything.  The server it is hosted on is owned by us, and I've checked the httpd logs and there is nothing indicating any issues at all?   Would anyone be able to help with this please?   We have https and the site certificate is correctly installed and as I've said - was working fine for a couple of months now?  

update.. I found this in the logs:

 PHP Warning:  Stored session data did not match DB record. Session aborted as possible sess                                     ion hijack

Link to comment
Share on other sites

The "session data" message comes from CubeCart, having been given a cookie, retrieves session data (the browser you are using, the IP address, who you are if logged in, what's in your cart, etc) tied to that cookie, but the browser you are using is different. Almost always, it is because the browser version recently updated. Other times, it might be caused by a browser using a certain technique to foil attempts to track you.

However, that does not stop CubeCart from delivering the storefront. Network not found suggests a domain name or network address that does not exist or is strictly local.

Do you always get access to admin?

Is it possible you have more than one domain name pointing to where CubeCart is installed, or method of accessing it?

 

Link to comment
Share on other sites

thanks for the reply.  yes, we always get access to the admin page - sometimes though I've got to try twice.  yes, we have two other domain names pointing to that same site, but have had that for a while now.  The site is www.vintagedesigns.com.au 

We use different PCs (my wife and myself) and different browsers - I use safari, chrome and waterfox on my mac and she uses firefox and chrome on her PC and safari on her ipad.  I've also tried from my work where I use chrome.  The site exhibits the same behavior as described above on all computers.

It has only started in the last week or so though?

Link to comment
Share on other sites

The first thing I always look at when something goes wrong, with no suspects, is to look at the environment.

Did the PHP version get updated? Did the hosting provider change anything? Did you upgrade CubeCart? (I think you may be running CC640B2.)

In admin, Error log, System Error Log tab, there will be more information about the error. Specifically:

Old IP Address: 'aa.xx.yy.zz'
New IP Address: 'aa.xx.yy.zz'
Old User Agent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0'
New User Agent: 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0'

Each browser manages its own cookies. That is, no browser shares cookies with other browsers or computers.

Link to comment
Share on other sites

thanks. No, nothing in the environment has changed.  The error log is empty  The system log show:

Today, 02:21 [<strong>Deprecated</strong>] /home/vintagedesigns/public_html/admin/sources/dashboard.index.inc.php:267 - implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Passing glue string after array is deprecated. Swap the parameters
Yesterday, 22:46 [<strong>Deprecated</strong>] /home/vintagedesigns/public_html/admin/sources/dashboard.index.inc.php:267 - implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Passing glue string after array is deprecated. Swap the parameters
Yesterday, 22:45 [<strong>Deprecated</strong>] /home/vintagedesigns/public_html/admin/sources/dashboard.index.inc.php:267 - implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Passing glue string after array is deprecated. Swap the parameters
Yesterday, 22:25 [<strong>Deprecated</strong>] /home/vintagedesigns/public_html/admin/sources/dashboard.index.inc.php:267 - implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Passing glue string after array is deprecated. Swap the parameters
Yesterday, 22:24 [<strong>Deprecated</strong>] /home/vintagedesigns/public_html/admin/sources/dashboard.index.inc.php:267 - implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Passing glue string after array is deprecated. Swap the parameters
Yesterday, 22:16 [<strong>Deprecated</strong>] /home/vintagedesigns/public_html/admin/sources/dashboard.index.inc.php:267 - implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Passing glue string after array is deprecated. Swap the parameters
Yesterday, 22:16

[<strong>Deprecated</strong>] /home/vintagedesigns/public_html/admin/sources/dashboard.index.inc.php:267 - implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Passing glue string after array is deprecated. Swap the parameters

 

 

I checked the Php and it is:  Php Version PHP Version 7.4.11

 

I can't see anything else wrong.  Is there a way I can bypass this for now - or a workaround please?  My wife has just spent a LOT of time promoting this site on social media and is pretty upset that no one can even get on the site now !  If there is some way of ignoring this error can you let me know please?

Link to comment
Share on other sites

From the error message, it is apparent that you are running CubeCart version 6.2.9 or earlier.

There are a few minor issues with running CC629 (or earlier) under PHP 7.4.

Are you sure PHP has been at 7.4 for a long time? Or, perhaps, it was upgraded from PHP 7.3 recently?

I have noticed that your site takes a long time to get the first byte.

I just tried to get to your site now, but got "Secure Connection Failed". Unfortunately, there is no accompanying error message or error code to explain the nature of the failed security connection.

The following is the security report (but I have no knowledge to determine if anything is wrong):

{
	"Connection:": {
		"Protocol version:": "TLSv1.2",
		"Cipher suite:": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
		"Key Exchange Group:": "none",
		"Signature Scheme:": "RSA-PKCS1-SHA256"
	},
	"Host www.vintagedesigns.com.au:": {
		"HTTP Strict Transport Security:": "Disabled",
		"Public Key Pinning:": "Disabled"
	},
	"Certificate:": {
		"Issued To": {
			"Common Name (CN):": "www.vintagedesigns.com.au",
			"Organization (O):": "<Not Available>",
			"Organizational Unit (OU):": "<Not Available>"
		},
		"Issued By": {
			"Common Name (CN):": "RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1",
			"Organization (O):": "DigiCert Inc",
			"Organizational Unit (OU):": "<Not Available>"
		},
		"Period of Validity": {
			"Begins On:": "Saturday, August 22, 2020",
			"Expires On:": "Monday, August 22, 2022"
		},
		"Fingerprints": {
			"SHA-256 Fingerprint:": "1B:62:09:D0:3B:4A:13:3C:75:C1:32:D4:1F:F8:9A:EA:83:A7:04:62:44:AB:C1:59:EB:2F:01:61:C4:8C:EF:93",
			"SHA1 Fingerprint:": "47:0F:CE:73:0D:00:3F:98:EB:87:F5:AD:70:A4:43:DB:77:6E:28:26"
		},
		"Transparency:": "<Not Available>"
	}
}

On this Mozilla page (https://support.mozilla.org/en-US/kb/error-codes-secure-websites), there is this:

The error occurs on one particular site only

* Certificate issued by a authority belonging to Symantec

After a number of irregularities with certificates issued
by Symantec root authorities came to light, browser vendors,
including Mozilla, are gradually removing trust from these
certificates in their products. Firefox will no longer trust
server certificates issued by Symantec, including those
issued under the GeoTrust, RapidSSL, Thawte and Verisign
brands. For more information, see this Mozilla blog post
(https://blog.mozilla.org/security/2018/10/10/delaying-further-symantec-tls-certificate-distrust/).

I just finished running a certificate check at:

https://ssltools.digicert.com/checker/views/checkInstallation.jsp

Link to comment
Share on other sites

West Coast USA

I can reach your web server and negotiate a TLS handshake in 300mS. So network latency and certificate analysis isn't an issue (as far as I am concerned).

Did I see on your site a (number) alongside the category names in the top bar? (Before upgrading to CC640.) As if this was a count of the number of products in this category and sub categories?

Are you running any plugins?

Edit: The latest page load - just a few seconds ago - got first byte in 370mS.

Link to comment
Share on other sites

In the template element.navigation_tree.php:

Find:
<a href="{$BRANCH.url}" title="{$BRANCH.name}">{$BRANCH.name}</a>

Change to:
<a href="{$BRANCH.url}" title="{$BRANCH.name}">{$BRANCH.name}{if $BRANCH.product_count} ({$BRANCH.product_count}){/if}</a>

Then clear CubeCart's cache.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...