1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 03:31:33 +00:00

store last feed update error in the database (SCHEMA UPDATED), display warning box in preferences on feed update error

This commit is contained in:
Andrew Dolgov
2005-11-01 08:47:03 +01:00
parent f5a50b25d6
commit ab3d0b9926
6 changed files with 64 additions and 3 deletions

View File

@@ -815,6 +815,27 @@
}
}
$result = db_query($link, "SELECT id,title,feed_url,last_error
FROM ttrss_feeds WHERE last_error != ''");
if (db_num_rows($result) > 0) {
print "<div class=\"warning\">";
print "<b>Feeds with update errors:</b>";
print "<ul class=\"nomarks\">";
while ($line = db_fetch_assoc($result)) {
print "<li>" . $line["title"] . " (" . $line["feed_url"] . "): " .
$line["last_error"];
}
print "</ul>";
print "</div>";
}
print "<table class=\"prefAddFeed\"><tr>
<td><input id=\"fadd_link\"></td>
<td colspan=\"4\" align=\"right\">