Vinai / groupscatalog2

Magento extension to enable you to hide categories and products from customers depending on their customer group. This is a Magento 1.6 and newer compatible version of the Netzarbeiter Customer Groups Catalog extension.
139 stars 60 forks source link

Are the sql files missing? #68

Closed xinsnake closed 10 years ago

xinsnake commented 11 years ago

The latest sql file is 0.2.7, and the package is now 0.3.1. So when installing the packet from scratch, the tables will not be created. So many people got a "tables not find" error.

I copied the 0.2.7 file to 0.3.1 directly without any modification and I am not sure whether there will be problem for that.

Vinai commented 11 years ago

There are no SQL file for every version.
The only reason I've been incrementing the version numbers is because I want to keep the version in sync with the Magento Connect release version.
Also, it helps during support so I know which code base they are working with.

The latest setup script version is install-0.2.9.php (for fresh installes) and upgrade-0.2.8-0.2.9.php (for upgrades).

The latest version I've uploaded on Magento Connect is 0.3.1.
Are they missing for you in the Magento Connect package you downloaded?? They are present in the package I've uploaded (just checked).

xinsnake commented 11 years ago

It's not missing from the package I downloaded. Instead the problem is the file is not executing unless I changed it into 0.3.1 and remove the attribute in the core_resource table. Have you tried to install that directly to a new Magento distribution?

Vinai commented 11 years ago

I have tried the installer a couple of times so far, yes. It's so strange, you aren't the first one for whom setup files don't run.
I don't want to update the install scripts every time the version is incremented, thats actually not necessary if you look at the code in Mage_Core_Model_Resource_Setup.
Any other ideas why the setup scripts sometimes don't run are very welcome!

Vinai commented 10 years ago

Closing this issue since there have been no additional updates from the original poster.