In the v0.1.4 release, delete.php fails because it's
using the variables for the table names - $FEED_TABLE
and $ITEM_TABLE. These should be $FOF_FEED_TABLE and
$FOF_ITEM_TABLE.
I just noticed you've made the table names constants, so it
looks like the 2 sql delete statements should be:
$result = fof_do_query("delete from " . FOF_FEED_TABLE . "
where id = $feed");
$result = fof_do_query("delete from " . FOF_ITEM_TABLE . "
where feed_id = $feed");
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just noticed you've made the table names constants, so it
looks like the 2 sql delete statements should be:
$result = fof_do_query("delete from " . FOF_FEED_TABLE . "
where id = $feed");
$result = fof_do_query("delete from " . FOF_ITEM_TABLE . "
where feed_id = $feed");
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-06-16
Logged In: YES
user_id=794003
Thanks. I'll fix in the next version.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-06-17
Logged In: YES
user_id=794003
Fixed in 0.1.6
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2004-06-17
status: open --> closed-fixed
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1064761
I just noticed you've made the table names constants, so it
looks like the 2 sql delete statements should be:
$result = fof_do_query("delete from " . FOF_FEED_TABLE . "
where id = $feed");
$result = fof_do_query("delete from " . FOF_ITEM_TABLE . "
where feed_id = $feed");
Logged In: YES
user_id=1064761
I just noticed you've made the table names constants, so it
looks like the 2 sql delete statements should be:
$result = fof_do_query("delete from " . FOF_FEED_TABLE . "
where id = $feed");
$result = fof_do_query("delete from " . FOF_ITEM_TABLE . "
where feed_id = $feed");
Logged In: YES
user_id=794003
Thanks. I'll fix in the next version.
Logged In: YES
user_id=794003
Fixed in 0.1.6