You are here:  » Problem with 'Drop Record If Not RegExp' filter

Support Forum



Problem with 'Drop Record If Not RegExp' filter

Submitted by marco@flapper on Wed, 2010-05-19 21:24 in

Hello,

With one of my feeds (csv from tradetracker) I have a problem if I apply the 'Drop Record If Not RexExp' filter. I apply the filter on the categories column.
The error message I get, when I try to re-import is:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/bestekoo/public_html/laptops/includes/database.php on line 21

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/bestekoo/public_html/laptops/includes/database.php on line 26

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/bestekoo/public_html/laptops/includes/database.php on line 21

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/bestekoo/public_html/laptops/includes/database.php on line 26

Warning: Cannot modify header information - headers already sent by (output started at /home/bestekoo/public_html/laptops/includes/database.php:21) in /home/bestekoo/public_html/laptops/admin/feeds_import.php on line 29

Can you please help?

Submitted by support on Thu, 2010-05-20 11:34

Hello Marco,

I'm not sure why adding a filter would result in a broken query. Please could you email me your includes/admin.php and includes/database.php and I'll take a look for you...

Cheers,
David.