New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for price-indexer in Magento 1.7 #85
base: master
Are you sure you want to change the base?
Conversation
…the price indexing error in Magento 1.7.x
Hello magdev, i tried your commits in a new installed shop with the sample data and on our staging server. the price indexer did not work. out of the exeption.log : the message : hopefully you can digg into it again. Thanks a lot |
… be pi.group_price
Hi Sebastian, you're right - in line 88 it should be pi.group_price instead of pi.base_group_price. Greetings Marco |
Working here as well, please integrate :) |
Bumped worked perfectly for me, (with the included adjustment to line 8) |
I also have a problem: I can't reindex price. 2012-08-03T02:39:36+00:00 DEBUG (7): Exception message: SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 1 Any thoughts how to fix it? |
Hi, This fix also helped us out with a Magento 1.7 shop. Regards, |
I already tried that, and it did fix my product price index but not the error on the frontend Annel van der Westhuizen Cell: 083 483 5106 Email: mailto:annelvdw@uthgroup.co.za annelvdw@uthgroup.co.za Description: http://www.uthgroup.co.za/images/logo_uth.jpg From: yireo [mailto:notifications@github.com] Hi, This fix also helped us out with a Magento 1.7 shop. Regards, — Description: Image removed by sender. |
Hi, This thread is not a forum-thread for support, it is a comment-thread on a specific pull request, to confirm or unconfirm that this pull request contains correct code. Looking at your error-dump, I can't see anything mentioning the OrganicInternet module. I do see the mentioning of "app/code/local/Innoexts/StorePricing" - perhaps this indicates that you should look in that direction instead of this module? Regards, PS: Please note that my answer is not ment as a start of a wider discussion. That's not what GitHub is for. I don't think your problem is related to this pull request. But if you have any code to add to this pull request, this is definitely the place. |
Can someone please give a detailed instruction on how to fix? I have same issue with 1.7. Thanks |
1 similar comment
Can someone please give a detailed instruction on how to fix? I have same issue with 1.7. Thanks |
$select->columns(array( $outerSelect->columns(array( Please try this in /var/www/troemner/app/code/community/OrganicInternet/SimpleConfigurableProducts/Catalog/Model/Resource/Eav/Mysql4/Product/Indexer/Price/Configurable.php 'base_group_price' => new Zend_Db_Expr('pi.group_price'), this is the highlighted code in Configurable.php thanks! |
For Magento 1.6 I just commented these 4 lines added here 6d88e5e and it reindex again and worked. Could this cause some problem in future? |
Hello Hallandellon, for 1.6 this is correct, but if you upgrade to 1.7 you need this 4 lines !! Sebastian |
Hi MagDev, Glad to know your this methord. I am runing one Magento shop, which site is http://www.herawigs.com . After we upgrade from 1.6 -> 1.7, there is problem "products price re-index" and "tag re-index" can't work. We have tried many methods to fix that but can't work. We just notice that the price show error now so we have to fix that now,which all show save 100%. When we want to try to add the columns what you said but we can't find the folder "OrganicInternet" under our server, so we wonder do we need to add new "OrganicInternet" folder and the correct path, please? I have attached some pictures for your reference. Hope you can help us when you are convenient. Thanks in advance. |
Hi WebDux, If you could not find a folder OrganicInternet, it sounds like you didn't actually install the module itself. If the module itself is not existing, there's no point in fixing it. All the files that should exist are listed here: |
Hi Yireo, Many thanks for your answer. We have installed the module now and changed the configurable.php for Magento 1.7 and we have cleared the cache but it still can't work, which problem is that it always show "Cannot initialize the indexer process." when I run "reindex data"; And you can see from http://www.herawigs.com/european-hand-tied-skin-weft-tape-hair.html, which there is not any change, no mattery you buy 2 or 3, it show save 100%; Would you like to help us, please? Thanks in advance. |
Dear WebDux, Please note that this website - GitHub - is ment for developers to collaborate on code. It seems you are not a developer yourself, so my first suggestion is to hire a developer to make modifications to your site - before something really bad happens. Magento is complicated, and it assumes you know what you are doing. The module this entire project is about, is simply mentioned on the MagentoConnect site. If you have end-user questions, not developer-questions, GitHub is not the place, MagentoConnect is. For using third party modules in Magento, refer to the Magento Users Guide first. If you have any code-suggestions regarding SimpleConfigurableProducts, please do use this thread. If you have an issue with Magento itself, please post on the Magento Forums. |
Awesome!!! This works perfectly in 1.7 |
Superb, thanks |
Hey thanks. I'm using 1.8 and this worked like a charm. How come this isn't changed in the code I just downloaded? |
This fix messes up magento 1.5.1 and probably previous versions as it tries to import 12 rows in the database while there are only 10 available. Just remove the adjustments made in this fix and index and product saving works again. |
Added columns group_price and base_group_price to column-list to fix the price indexing error in Magento 1.7.x