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 Only local images are allowed., 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

Comments

slidenby@techtainment.net’s picture

I have the same problem. I looked at the code but can't figure out why it is displaying as such.

simoesp@tudodoido.com’s picture

at 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

simoesp@tudodoido.com’s picture

Modified File with Bug Corrected

sigfredo’s picture

It worked fine, thank you very much

sigfredo’s picture

An 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

sillygwailo’s picture

Status: Active » Needs review
StatusFileSize
new793 bytes

I've attached a patch which should fix this issue.

sillygwailo’s picture

Priority: Critical » Normal
StatusFileSize
new793 bytes

The previous attachment was backwards. The one attached now should be a correct patch.

moggy’s picture

Version: 4.6.x-1.x-dev » master
StatusFileSize
new828 bytes

patch updated to work with the "latest" cvs. I've also changed it to use the new feed icon instead of the xml icon

msameer’s picture

Status: Needs review » Fixed
msameer’s picture

Assigned: Unassigned » msameer
Status: Fixed » Closed (fixed)