hi david,
I have an old pricetapestry installation database that i imported to the new version of pricetapestry.
everything seems ok but on importing new feeds i am getting the error below.
---------------------------------------------
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/accountusername/public_html/addondomain/includes/database.php on line 21
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/accountusername/public_html/addondomain/includes/database.php on line 26
Warning: Cannot modify header information - headers already sent by (output started at /home/accountusername/public_html/addondomain/includes/database.php:21) in /home/accountusername/public_html/addondomain/admin/feeds_import.php on line 29
---------------------------------------------
but the feed is being imported successfully.
what seems to be the problem?
Hi,
If you are running the new code against the old database, this is most likely going to be caused by the the code to implement product mapping; as the product mapping table is probably not in the current database.
You should be able to add the table by browsing to:
setup.php?installDB=1
This will not modify your existing tables so all the feeds / products will stay registered, but it will add the new product mapping table; after which you should be able to import without any error message displayed.
Cheers,
David.