zc 1.5.1
When installing "CSAR_install.sql" via the admin "install sql patches"(send) it fails if you have first installed "fec_1-14-2_by Numinixi.
"CSAR_install.sql" Installs just fine on a installation without fec installed.
The error is very generic and I am not getting any debug data in the logs folder.
WARNING: An Error occurred, please refresh the page and try again.
I changed the gID=32 and associated entries from 32 to 36 but no joy....
I'm not a programmer let alone a MySql guy so I just spent 4 hours debugging the problem.
Here's what I found.......................
In the "configuration" tables fec adds a "configuration_tab" column.
Well CSAR_install.sql doesn't take that into account so it just fails with the above generic message.
My 2 questions are:
1:
if I add ,' ' to the end of all three of these INSERT(s) it seems to install the "CSAR_install.sql" OK.....
INSERT INTO configuration VALUES ('', 'Hide Prices for Specific Categories', 'CATEGORY_RESTRICTION_HIDEPRICE_CATEGORY', '0', 'Restrict product price display for specific categories if the customer is not logged in.<br /><br />Enter the categories ID as a comma delimited list - do not use spaces (eg 12,19,45, 7_45).<br /><br />In this example categories 12, 19 and 45 can be restricted (Because category 45 is a subcategory of category 7 you need to enter both 45 and 7_45).<br />', 32, 150, '0001-01-01 00:00:00', now(), NULL, NULL, ' ');
Is that a good workaround?
2:
Other plugin's have already used gID=32 so with
INSERT INTO admin_pages VALUES ('csar_regn', 'BOX_CONFIGURATION_CATEGORY_RESTRICTION', 'FILENAME_CONFIGURATION', 'gID=32', 'catalog', 'Y', @sortorder+1);
I now have two plugins using gID=32. Why doesn't the csar plugin increment to the next highest gID?
Can I change it manually at the above entry and the other 4 places it's referenced?
Keep in mind I have not done the complete install of CSAR so I'm wanting to know if the above will work as it's a very tedious plugin to install over other plugins like fec and easy populate
Thanks


Reply With Quote
from me on this, love it's flexibility!

