Bug: Error combining bookx filters with manufacturer
Hi Sasha,
the manufacturer error is really a bug. Here is how you can fix it until a new version is out.
in [YOUR_ZEN_CART_INSTALLATION]/includes/index_filters/bookx_filter.php you have to change the code around line 76
from this:
Code:
LEFT JOIN ' . TABLE_PRODUCT_BOOKX_EXTRA . ' be ON be.products_id = p.products_id';
to this:
Code:
LEFT JOIN ' . TABLE_PRODUCT_BOOKX_EXTRA . ' be ON be.products_id = p.products_id
LEFT JOIN ' . TABLE_MANUFACTURERS . ' m ON m.manufacturers_id = p.manufacturers_id';
That should make the error go away.
I am stil looking into the installation script, but this way you can keep working.
Regards,
p.
Quote:
Originally Posted by
nikerymis
I'm not sure if this affected anything or if it's related to any of the other issues I've encountered, but I figured it couldn't hurt to mention. The biggest problem I've run into is that the filter links don't work for me. The syntax is correct, so far as I can tell -- /index.php?main_page=index&typefilter=bookx&bookx_genre_id=6 -- but I get that same "WARNING: An Error occurred..." message when I click any of the links. Is there something I need to turn on for this? My site's design doesn't use sidebars, so if I need to turn on something behind the scenes, let me know. The log for this says:
Re: Bug: Error combining bookx filters with manufacturer
That did the trick! Everything is working for me now, and I'll probably implement on our live site later this week. Any chance I could get the fix for the disappearing product descriptions? I can use my workaround if not (updating product descriptions in the database directly), but that's probably the biggest remaining issue, user-flow-wise for me.
Thanks again!
Sasha
Re: Bug: Error combining bookx filters with manufacturer
Hey Sasha,
many thanks for the donation, that is very kind of you and much appreciated!
I am considering to release yet another Beta version, even if I was hoping to make the jump to 1.0 directly. I'm worried that giving you some files from the next release will introduce other problems when combined with files of a previous version, so i prefer not to do it that way.
I'll see what I can do...
Regards,
p.
Re: Bug: Error combining bookx filters with manufacturer
Hey Phil,
No problem! :)
I'm pulling for another beta release, but I can also hold my horses and wait for a 1.0 release. Whichever you want to do, I will still be using. :)
Sasha
Re: Bug: Error combining bookx filters with manufacturer
Sasha,
could you give me more details about the disappearing product descriptions: Are you saying that when converting products from another product type to bookx the descriptions are lost? Or do you mean that after your created a new product of type Bookx and entered a description, this description is somehow lost if you edit the product again and save the changes? I can't reproduce the problem in my development shop running the 0.9.2 version you are using.
Best,
p.