If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / resetting Master Category ID for all products in a category = HTTP 406 error!

resetting Master Category ID for all products in a category = HTTP 406 error!

Locked

Started by bodyjewelrystores on 17 Nov 2009, 8:57 PM · Views: 1,865

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
17 Nov 2009, 8:57 PM
#1
bodyjewelrystores avatar

bodyjewelrystores

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Post #1 by bodyjewelrystores

I am trying to reset the Master Category ID for all products in a certain category (the bottom-most option in "Multiple Categories Link Manager").

No matter what category number I type - all I get is a blank page.
I checked for PHP errors and found none, so I checked my HTTP logs, and all these requests show a 406 status code.

This happens both on my dev server (localhost) and on the live website.

Here's a log entry example, from the dev server:

127.0.0.1 - - [17/Nov/2009:22:13:56 +0200] "POST /138store/my_admin_dir/products_to_categories.php?action=reset_categories_products_to_another_category_master&products_filter=3293&current_category_id=412 HTTP/1.1" 406 5

Any idea what is going wrong??
I could probably figure out other ways to do the same thing (a few SQL statements...) but I would highly appreciate it if someone could help troubleshoot this issue.

We're using Zen Cart 1.3.8a with latest patches.

Many thanks in advance.

17 Nov 2009, 11:57 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Post #2 by ajeh

I cannot reproduce this error ...

Check that you have applied the Known Bug Fixes for v1.3.8 then try it again ...
http://www.zen-cart.com/forum/showthread.php?t=82619

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

18 Nov 2009, 2:14 AM
#3
bodyjewelrystores avatar

bodyjewelrystores

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Post #3 by bodyjewelrystores

Thanks for your reply. Yes, I had already applied many of those fixes - I just went ahead now and caught a few more that looked relevant, but still no luck.

I've already managed doing this another way, running some SQL queries and then updating products_price_sorter for everything... so this is less urgent now :)

Still, the "HTTP 406" message seems so obscure (never encountered it or even heard about it until today) - guess I'll do some reading up on this one...

18 Nov 2009, 3:02 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 by drbyte

That 406 error should have an entry in your webserver's "error_log" file, which will tell you why it gave you a 406 error. Likely a mod_security rule your hosting company has set up.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

18 Nov 2009, 3:25 AM
#5
bodyjewelrystores avatar

bodyjewelrystores

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Post #5 by bodyjewelrystores

That was my first thought, after I did some googling... but then I found that my simple dev server (on which the same problem happens) doesn't even have mod_security.

I also cannot find any other info in the logs, only what I posted above... same format on the live site, more or less. I'll talk to our hosts though, they've been good to us so far (it's a Zen Certified host), hopefully this will be taken care of. Thanks.