Quote:
Originally Posted by RaiinbowEyes
However, whenever I try and edit existing products I get "Database error "Warning: mysqli_query() [function.mysqli-query]: (42S22/1054): Unknown column 'uploadimg' in 'field list' in [path]/includes/class_core.php on line 1391".
|
That's a good start...
Sounds like the addon was unable to alter your database, so let's do it the fun way:
Run the queries below (via your AdminCP, mySQL shell or something like phpMyAdmin):
Code:
ALTER TABLE pf_product ADD uploadimg TINYINT NOT NULL DEFAULT '0';
ALTER TABLE pf_product ADD mainphoto_small VARCHAR(150) NOT NULL DEFAULT '';
ALTER TABLE pf_product ADD uploadimg mainphoto_thumb VARCHAR(150) NOT NULL DEFAULT '';
If you are using table prefixes, those go before pf_product but without spaces (i.e. vb_pf_product).