marty.net 1001 Postcards Love Love Love Meep Meep ZenZodiac DailyQuotation

YOU ARE HERE:
Intermittent Maintenance Message

HOME

CPSHOP|

|

|

EMAIL MARTY
  marty.net message board
  « Intermittent Maintenance Message »
Welcome, Guest. Please Login or Register.
01/21/18 at 14:48:52
Home Help Search Login Register
   marty.net message board
   About cpshop
   General cpshop Support
   Intermittent Maintenance Message
(Moderator: Marty)
Pages: 1 Reply Notify of replies Send the topic Print 
   Author  Topic: Intermittent Maintenance Message  (Read 671 times)
bige2533
White Dragon
**

Posts: 24




   

Intermittent Maintenance Message
« on: 07/17/10 at 17:42:53 »
Reply with quote Modify message

I was clicking through my shop the other day and came upon some products where I would get the following message:

We're sorry, but this store is currently down for maintenance. Please check back in a little while.

I don't have that option selected in my admin page and I couldn't tell a pattern on why it would come up. If I clicked reload a couple times, the product would eventually appear. I did a search and saw something was done with this in the 2.6 release. I'm on version 2.7a and came across this issue.

Any suggestions on where to start troubleshooting?
Logged
flippinsweetgear
Gold Dragon
****

Posts: 171



Go Scots!
   

WWW
Re: Intermittent Maintenance Message
« Reply #1 on: 07/18/10 at 08:13:12 »
Reply with quote Modify message

Attn Marty, this seems to be an ongoing problem. I saw this other day and now today only on random designs.  On those designs/sections with product thumbs some of the product pages just go to shop down/error page.
Then after a few clicks on the same product it will eventually load the correct product page.  Most the products seem to be the organic ones for whatever reason.  Is something not connecting on CP's end?

For instance on this page, many of the products are just defaulting to my error page as of right now.  http://tinyurl.com/35eomhd
 
Logged

Flippin Sweet Gear | Kids T-shirts | Big Lebowski Shirts
groovynet
White Dragon
**

Gender: female
Posts: 19



Yeah, I'm blonde.
   

WWW E-Mail
Re: Intermittent Maintenance Message
« Reply #2 on: 07/21/10 at 13:20:12 »
Reply with quote Modify message

Mine was doing the same thing.  I changed the Cache Expiration Time to "only when I clear the cpshop cache" and that fixed it.
Hope this helps

***EDIT****
NEvermind.. It worked for a few minutes but is broken again.  
« Last Edit: 07/21/10 at 13:23:53 by groovynet » Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: Intermittent Maintenance Message
« Reply #3 on: 07/22/10 at 01:15:08 »
Reply with quote Modify message

I'm looking into it.  It's likely a change rooted at CP, but I'm not sure what it is yet.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: Intermittent Maintenance Message
« Reply #4 on: 07/22/10 at 01:48:49 »
Reply with quote Modify message

Can you guys try something for me?

Around line 1000 of cppage.lib, you'll find code that looks like this:


Code:
if (($cpdata =~ /(product|store) not found/i)
  ||
     ($target && ($cpdata !~ /qty/))
  ||
     (!$target && ($cpdata !~ /store_id\t/))
  ||
     ($cpdata =~ /down for maintenance/i)
     ) {
     $cached = 0;
     $cpdata = "";
}


Can you try removing these two lines:

||
($target && ($cpdata !~ /qty/))


The end result should look like this:


Code:
if (($cpdata =~ /(product|store) not found/i)
  ||
     (!$target && ($cpdata !~ /store_id\t/))
  ||
     ($cpdata =~ /down for maintenance/i)
     ) {
     $cached = 0;
     $cpdata = "";
}


Let me know if that fixes the problem, or if it's still happening.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
groovynet
White Dragon
**

Gender: female
Posts: 19



Yeah, I'm blonde.
   

WWW E-Mail
Re: Intermittent Maintenance Message
« Reply #5 on: 07/22/10 at 05:37:09 »
Reply with quote Modify message

Same thing.  Thanks Marty
Logged
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: Intermittent Maintenance Message
« Reply #6 on: 07/22/10 at 08:28:26 »
Reply with quote Modify message

Okay, still looking...
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
Marty
Administrator Dragon
*****

Gender: male
Posts: a whole lot



That's me. :)
   

WWW E-Mail
Re: Intermittent Maintenance Message
« Reply #7 on: 07/22/10 at 09:23:56 »
Reply with quote Modify message

It's definitely something on the CP side (which I suppose is obvious, since nothing changed in cpshop).  The servers are returning error messages intermittently when requesting product pages.

Try downloading the 2.7b update, and see if that works around the problem.
Logged

--
Regards,
Marty·.¸¸.·´¯`·.¸¸.-> marty@marty.net
bige2533
White Dragon
**

Posts: 24




   

Re: Intermittent Maintenance Message
« Reply #8 on: 07/23/10 at 08:45:41 »
Reply with quote Modify message

The update appears to have resolved the issue. thanks!
Logged
groovynet
White Dragon
**

Gender: female
Posts: 19



Yeah, I'm blonde.
   

WWW E-Mail
Re: Intermittent Maintenance Message
« Reply #9 on: 07/25/10 at 07:16:27 »
Reply with quote Modify message

Yep yep!  Thanks Marty!
Logged
dhvanit
Green Dragon
*

Gender: male
Posts: 1



Ninja
   

E-Mail
Re: Intermittent Maintenance Message
« Reply #10 on: 07/28/10 at 15:24:55 »
Reply with quote Modify message

Marty,

After using update from 2.7b i am still getting following message.

---------------------------------
We're sorry, but this store is currently down for maintenance. Please check back in a little while. (error code: noconnection 5) (Permission denied)
---------------------------------

Please let me know what should I do?
Logged
Pages: 1 Reply Notify of replies Send the topic Print 
Jump to:


marty.net message board (http://www.marty.net/cgi/marty/board/messageboard)

Powered by YaBB 1 Gold - Release (Yet Another Bulletin Board)
Copyright © 2000-2001, X-Null. All Rights Reserved.