Quote Originally Posted by tedjmaines View Post
New Install ZC 1.5.7c. Using old install instructions (do not see upgraded instructions). There is no includes/modules in the download I have (guess it is an undocumented change). Ran install, used Full DB, and did not get "Sucess message". Returned to Admin Home. Menu did not have stock by attributes. This is a virgin install, no modifications using "Responsive Classic" template that comes with 1.5.7c. Did I miss something???
Quote Originally Posted by mc12345678 View Post
There appear to be several gaps in the above making it difficult to provide any "simple" instruction. I mean even the direction given on github wasn't followed as this thread is not referenced from it. At any rate, so when you "ran stock_by_attr_install.php", did you see a screen that had a dropdown window, or were you presented with a page not found, or possibly the base admin screen of the admin? I ask, because nothing above talks about copying over the base includes/ and/or admin folder, only the "1.5.7 folder". Again it is not browser dependent, the issue has been tracked down to a design of ZC 1.5.7 and the fact that I used/continued to use a particular style of obtaining/retrieving information from the page. An improvement has been developed by the dev team even though I have implemented a "work around" in the github distribution which has been in place for a few weeks now at least...

The sql is within the stock_by_attr_install.php file in pieces and parts and is intended to auto install based on the command line. In actuality, in ZC 1.5.7, the expectation would be to run:

admin/index.php?cmd=stock_by_attr_install

Doing that will resolve the issue that is otherwise worked around.

Sorry for the delay in responding, please in the future comment in this forum thread: https://www.zen-cart.com/showthread....r-v1-3-5-1-3-9 as stated in the github repo: GitHub - mc12345678/Stock_By_Attributes_Combined: This combines the Files from SBA 1.5.3 and SBA 1.5.4 to provide a single distribution for updating applicable to ZC 1.5.1, 1.5.3, 1.5.4, 1.5.5, 1.5.6 and 1.5.7.
Quote Originally Posted by MikeyG View Post
mc12345678 thank you for your reply. Yes copied over the other base folder - includes and admin and then copied the 1.5.7 folder and renamed /copied into my template folders. The way I ran the stock_by_attr_install.php file was to add that to the URL from the admin home page. Yes this did give me a page with drop downs and I then selected from the drop down the script for install the full DB.

It was at this point that nothing happened other than it returned to the main admin home page. Tried this several time going through all of the options in the drop down and each time nothing happened.

However I have now copied over all files again and this time noted that there was a small link in the "other actions" to the attribute controller which took me to the install file and now it seems to have installed the database.

Thank you for your help and for the link to the github. Best regards.
By the way, I have updated the install code to address this issue which was the way that get style forms were being put together such that in a way there was an expectation that the cmd parameter would already be defined and defined such that it would represent the page to which the browser was to go. There has been a proposed solution that I think is good and supports the desired action(s); however, I do not believe that I have seen it incorporated into the ZC software (yet).