[Tickets #690] NEW: application block: news

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Oct 13 10:24:31 PDT 2004


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=690
-----------------------------------------------------------------------
 Ticket     | 690
 Created By | tobias.nix at gmail.com
 Summary    | application block: news
 Queue      | Giapeto
 State      | Unconfirmed
 Priority   | 1. Low
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


tobias.nix at gmail.com (2004-10-13 10:24) wrote:

Option 'first story' has to be zero by default. 
if its not set you got the following errors:

--> settings

block type: application block
application: news: content by channel
news source: selected channel
view: detailed
maximum stories: 20
first story: null

--> webinterface

Notice: Undefined index: story_desc in /home/horde/jonah/lib/News/sql.php on
line 264

Warning: Cannot use a scalar value as an array in
/home/horde/jonah/lib/News/sql.php on line 298

--> horde.log

Oct 13 19:17:24 HORDE [error] [jonah] DB Error: syntax error: SELECT * FROM
jonah_stories WHERE channel_id = 1 ORDER BY story_date DESC LIMIT , 21
[nativecode=1064 ** You have an error in your SQL syntax.  Check the manual
that corresponds to your MySQL server version for the right syntax to use
near ' 21' at line 1] [on line 295 of
"/home/horde/jonah/lib/News/sql.php"]





More information about the bugs mailing list