Closed (fixed)
Project:
Article
Version:
master
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
10 Oct 2005 at 19:32 UTC
Updated:
25 Jun 2006 at 10:17 UTC
Jump to comment: Most recent file
Hi I have just migrated my site from drupal 4.3 to drupal 4.6. After installing the Article module, everything seems to be ok Except that when I make the article listings I get
, just after the first section. How can I corectit. (if you want to see the error you can see it at: http://www.transformando.info/articulos
Thanks in advance
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | feedIcon.patch | 828 bytes | moggy |
| #7 | article.module.xml_icon.patch_0.txt | 793 bytes | sillygwailo |
| #6 | article.module.xml_icon.patch.txt | 793 bytes | sillygwailo |
Comments
Comment #1
slidenby@techtainment.net commentedI have the same problem. I looked at the code but can't figure out why it is displaying as such.
Comment #2
simoesp@tudodoido.com commentedat line 162:
change it to
$body = theme('box', variable_get('article_recent_box_title', t('Latest Articles')), module_invoke('node', 'title_list', article_get_latest(variable_get('article_recent_display', '5')), '') . theme('xml_icon', url("article/feed")));
that should do it
:D
Regards
Pedro Simões
Comment #3
simoesp@tudodoido.com commentedModified File with Bug Corrected
Comment #4
sigfredo commentedIt worked fine, thank you very much
Comment #5
sigfredo commentedAn other question, when I click on any of the lower level links of the articles category I get this errors
warning: Wrong parameter count for array_merge() in /home/p/x/user1061288/html/modules/taxonomy.module on line 838.
warning: Bad arguments to implode() in /home/p/x/user1061288/html/modules/taxonomy.module on line 838.
user error: You have an error in your SQL syntax near ') AND n.status = 1' at line 1
query: SELECT COUNT(DISTINCT(n.nid)) FROM node n INNER JOIN term_node tn ON n.nid = tn.nid WHERE tn.tid IN () AND n.status = 1 in /home/p/x/user1061288/html/includes/database.mysql.inc on line 66.
user error: You have an error in your SQL syntax near ') AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 15' at line 1
query: SELECT DISTINCT(n.nid), n.sticky, n.title, n.created FROM node n INNER JOIN term_node tn ON n.nid = tn.nid WHERE tn.tid IN () AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 15 in /home/p/x/user1061288/html/includes/database.mysql.inc on line 66.
if you want to see it go to http://www.transformando.info/?q=articulos and click on any link under Traducciones del NLP Newsletter 2005 (17) or any link under Traducciones del NLP Newsletter 2004 (12)
Excuse me for that many quiestions I new on PHP
Thanks in advance
Comment #6
sillygwailoI've attached a patch which should fix this issue.
Comment #7
sillygwailoThe previous attachment was backwards. The one attached now should be a correct patch.
Comment #8
moggy commentedpatch updated to work with the "latest" cvs. I've also changed it to use the new feed icon instead of the xml icon
Comment #9
msameer commentedComment #10
msameer commented