I've been trying to test 4.0 alpha and coming across some warnings when running the update script. The errors I get are :

user warning: Table 'nickorr_drupaltest.ec_product_ptypes' doesn't exist query: select * FROM ec_product_ptypes in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_features' doesn't exist query: SELECT * FROM ec_product_features ORDER BY weight ASC in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_features' doesn't exist query: INSERT INTO ec_product_features (ptype, ftype, weight) VALUES ('coupon', 'anonymous', -10) in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_ptypes' doesn't exist query: select * FROM ec_product_ptypes in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_features' doesn't exist query: SELECT * FROM ec_product_features ORDER BY weight ASC in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_features' doesn't exist query: SELECT * FROM ec_product_features ORDER BY weight ASC in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_features' doesn't exist query: INSERT INTO ec_product_features (ptype, ftype, weight) VALUES ('generic', 'anonymous', -10) in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_features' doesn't exist query: SELECT * FROM ec_product_features ORDER BY weight ASC in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_features' doesn't exist query: SELECT * FROM ec_product_features ORDER BY weight ASC in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_features' doesn't exist query: INSERT INTO ec_product_features (ptype, ftype, weight) VALUES ('tangible', 'anonymous', -10) in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
user warning: Table 'nickorr_drupaltest.ec_product_features' doesn't exist query: SELECT * FROM ec_product_features ORDER BY weight ASC in /users/home/nickorr/web/public/includes/database.mysql.inc on line 172.
warning: uasort() [function.uasort]: Invalid comparison function. in /users/home/nickorr/web/public/sites/test.goya.com.au/modules/ecommerce/ec_customer/ec_customer.module on line 341.

That last one is repeated about a dozen times.

I do have one oddity in that I've got a modified version of the coupon module that allows reusable coupons, but I don't think it modified the database structure.

Are these critical issues, or are they ok to ignore.

Thanks,
Nick

Comments

nickorr’s picture

Just as a followup, I've added the default currency which stops the store updates from working and re-run the update.php scripts. This time, I only get 4 warnings :

warning: array_merge() [function.array-merge]: Argument #2 is not an array in /users/home/nickorr/web/public/update.php on line 309.
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /users/home/nickorr/web/public/update.php on line 309.
warning: Invalid argument supplied for foreach() in /users/home/nickorr/web/public/update.php on line 542.
warning: Invalid argument supplied for foreach() in /users/home/nickorr/web/public/update.php on line 542.

Now when I go back to the modules screen and try to save configuration any changes it only ever goes to a blank page. Even without changing any modules and clicking save it's always blank.

Let me know if you need any more details.

Cheers,
Nick

chrisroditis’s picture

the exact same problem here

nickorr’s picture

Another followup. I've now re-tried this on the latest dev version at 2008-Mar-31.

I now always get a blank screen when I copy the receipts module to the folder. Regardless of whether or not I enable it, just copying this one part of the whole e-com package, if I then try to load /admin/build/modules, the entire site goes blank. And I need to have this one included to get past the 5406 update :

Update #5406
Failed: Default currency needs to be set before the update can continue. Use the Receipt type settings to set the default currenecy

I've removed (by deleting the folders) every other module except core and e-com and still get the blank page if I try to copy receipts to the modules directory.

I do get a whole heap of warnings when doing other updates, but will leave them for another post once this one is sorted. Let me know if you need anything more.

Cheers,
Nick