marty.net message board
    About cpshop >> General cpshop Support >> Message started by: kaptainmyke.com on 11/03/09 at 19:26:55

Title: dark short sleeves and other products missing
Post by: kaptainmyke.com on 10/09/09 at 05:17:48
I rebuild my cache last night (Thursday 10-8-09) when now dark short sleeves, baseball jerseys, and a handful of other products are not showing up or returning back.  

I have several pages where I spent a lot of time and many years filtering by color swatch and it seems that all products that deal with color swatches are gone now.  Sounds like an update issue....does CPSHOP need to be updated again?

Thanks

-Mike


Title: Re: dark short sleeves and other products missing
Post by: Marty on 10/09/09 at 13:06:18
Can you send me example URLs?


Title: Re: dark short sleeves and other products missing
Post by: KaptainMyke Brand on 10/09/09 at 13:50:11
i have emailed you a list of links that show the odd behavios and missing products...

thanks Marty!


Title: Re: dark short sleeves and other products missing
Post by: valerie2008 on 10/10/09 at 11:51:00
I'm having this same problem.  I updated my sort order today and added some new designs and now I'm missing a ton of products including women's dark and fitted tees, all the regular toddler and baby clothes, steins, jr. hoodies, women's zip hoodies, rectangle magnet, dog shirts, sigg water bottles and more.  Please help!


Title: Re: dark short sleeves and other products missing
Post by: dmp65 on 10/10/09 at 11:56:24


on 10/10/09 at 11:51:00, valerie2008 wrote:
I'm having this same problem.  I updated my sort order today and added some new designs and now I'm missing a ton of products including women's dark and fitted tees, all the regular toddler and baby clothes, steins, jr. hoodies, women's zip hoodies, rectangle magnet, dog shirts, sigg water bottles and more.  Please help!


Same problem here. What gives??


Title: Re: dark short sleeves and other products missing
Post by: valerie2008 on 10/10/09 at 11:58:56
I've also emailed you some links and a more in depth explanation Marty.  I hope you'll be able to take a look at it!


Title: Re: dark short sleeves and other products missing
Post by: dmp65 on 10/10/09 at 12:09:50


on 10/10/09 at 11:58:56, valerie2008 wrote:
I've also emailed you some links and a more in depth explanation Marty.  I hope you'll be able to take a look at it!


I didn't change a thing and several product categories (ie: dark long sleeve t-shirts, regular size mugs, infant bodysuits, etc) have just gone missing.

Some still show up properly (white t-shirts, mousepads, etc) but not others.



Title: Re: dark short sleeves and other products missing
Post by: valerie2008 on 10/10/09 at 12:18:00
Strange, it seems we have different products missing.  I'm seeing the regular and large size mugs but not the stein.  No Sigg water bottles or keepsake boxes either.  

I just manually cleared my cache which also made no difference.


Title: Re: dark short sleeves and other products missing
Post by: dmp65 on 10/10/09 at 13:41:26

on 10/10/09 at 12:18:00, valerie2008 wrote:
Strange, it seems we have different products missing.  I'm seeing the regular and large size mugs but not the stein.  No Sigg water bottles or keepsake boxes either.  

I just manually cleared my cache which also made no difference.


The problem (for me, anyway) doesn't appear to be caused by the sortorder file. Certain StoreID content files themselves have stopped pulling the product categories in question.

Example, click on this page: http://arcadenovelties.com/cgi-bin/store/cpshop.pl/long_sleeve_dark_tshirt

It's one of my CPshop content files that has been up until now pulling all my long sleeve dark t-shirts. As I look at it right now, no products are showing up. Again, I haven't changed or added anything on my end to cause this.


Title: Re: dark short sleeves and other products missing
Post by: Marty on 10/10/09 at 14:18:32
Yep, it's a CafePress bug.  A bunch of people are seeing it -- it happens any time there's a product that has more than one color, and it affects more than just the multi-color products.

I'll release a workaround, but if you want to fix it yourself locally, make this change to cppage.lib:

Around line 727 or so, you'll find this line:

Code:
if ($getheader == 1) {

Add a line above it, like this:

Code:
$sectiondata =~ s/\ttruep\t/\ttrue\np\t/g;

if ($getheader == 1) {


Title: Re: dark short sleeves and other products missing
Post by: dmp65 on 10/10/09 at 14:34:38
That did the trick. You rock Marty! And thanks for such a quick response.

Dave


Title: Re: dark short sleeves and other products missing
Post by: valerie2008 on 10/10/09 at 14:47:07
Worked for me too! Thank you!


Title: Re: dark short sleeves and other products missing
Post by: KaptainMyke Brand on 10/10/09 at 18:26:02
nope, didn't work.  i got your fix placed  now and it still didn't work for me.


Title: Re: dark short sleeves and other products missing
Post by: KaptainMyke Brand on 10/10/09 at 18:46:00
there's actually two lines of code that you add that fix above to...once I spotted that other line below...now it worked.  whew!  


Title: Re: dark short sleeves and other products missing
Post by: jrotem on 10/11/09 at 03:40:06
I noticed products missing tonight too and was going nuts emptying the cache over and over and not seeing a change. So glad to see this solution here. Thanks, Marty, for the quick fix!


Title: Re: dark short sleeves and other products missing
Post by: orangemoonapparel on 11/03/09 at 19:16:32
I tried the manual fix, then uploaded the 2.7a update.  Still no luck :(.

Any idea what I'm doing wrong?


Title: Re: dark short sleeves and other products missing
Post by: Marty on 11/03/09 at 19:26:55
Did you clear your cache?  And are you certain you loaded the update?



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.