6.0.0-beta1
9/24/25

[#690] application block: news
Summary application block: news
Queue Jonah
Type Bug
State Resolved
Priority 1. Low
Owners
Requester tobias.nix (at) gmail (dot) com
Created 10/13/2004 (7651 days ago)
Due
Updated 10/14/2004 (7650 days ago)
Assigned
Resolved 10/14/2004 (7650 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/14/2004 01:30:49 AM Chuck Hagenbuch Comment #3
State ⇒ Resolved
Reply to this comment
Fixed in CVS.
10/13/2004 05:45:43 PM Jan Schneider Queue ⇒ Jonah
 
10/13/2004 05:42:38 PM tobias (dot) nix (at) gmail (dot) com Comment #2 Reply to this comment
sorry. wrong queue. has to be jonah.


10/13/2004 05:24:31 PM tobias (dot) nix (at) gmail (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ application block: news
Queue ⇒ Giapeto
Reply to this comment
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"]


Saved Queries