Hello everyone,

Im getting this error when i try to access publications (like in /epublish/1):

Fatal error: Call to undefined function translation_node_nid() in /var/www/test02/sites/all/modules/epublish/epublish_layout_nodes.inc on line 58

i seen there an issue about something like this, but it calls for line 41, theres a patch and so , i tried it but it still doesnt works, even using the dev version that is most up to date than beta.

line 58 says:

$transnid = translation_node_nid($nid, $lang);

just fyi im actually using

Drupal 6.15
E-Publish 6.x-1.x-dev and 6.x-1.3
Internationalization 6.x-1.2

so any ideas?

Thanks!

Comments

jerdiggity’s picture

Assigned: Unassigned » jerdiggity

Not sure what the problem is, but I think one of the previous patches I applied may not have been "complete." After looking at the code for each file, I made a couple changes & committed those to HEAD... Please give the new HEAD version a try and let me know if that solves the problem (or if it completely breaks it too, for that matter). :)

xecstasyx’s picture

Yay!
now it seems to be working, im going to test it the whole day but like i said it wont give the error anymore.
Thanks a lot for your help.

jerdiggity’s picture

No errors for me either (so far)... New code committed as latest stable release (6.x-1.4).

@xecstasyx: Thank you just as much. Also you said you'll be testing all day, so I'm going to leave the issue in active status pending what you find out; if you don't have any more problems, please change the status to fixed (or RTBC) if possible (or just let me know and I'll take care of it... either way).

Thanks again.

jeremy

xecstasyx’s picture

Status: Active » Fixed

well it seems to work perfect. i cant find other problems so far, so ill set this issue to fixed.

thanks Jeremy

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.