Closed (fixed)
Project:
Bibliography Module
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jul 2011 at 08:03 UTC
Updated:
7 Aug 2011 at 18:21 UTC
Since 7.x-1.0-beta1 up to today's dev all downloaded Bibtex / RIS / EndnoteXML-Files, regardless of single entries or longer lists, produce a file with something like this:
<br />
<b>Fatal error</b>: Call to undefined function biblio_get_contributor_category() in <b>[serverpath]/blog/modules/biblio/modules/bibtexParse/biblio_bibtex.module</b> on line <b>382</b><br />
The database is MySQL 5.1.43.
But it worked normally on this installation before, can anyone make sense of it?
Comments
Comment #1
rjerome commentedYou definitely DON'T want to use beta1 (a nasty bug slipped into that one) but I can't reproduce your issue and I can't think of anything that would have changed to cause it.
Try clearing your caches (this is the Drupal equivalent of re-booting a Windows machine :-) it often fixes all the problems.
Comment #2
Thorsten commentedUnfortunately, clearing the cache doesn't help, and I'm having these issues with beta2 and the latest dev as well ... and I experienced this issue in multiple test installations with different data sets. E.g. http://www.thorsten-ries.net/biblio , which is a fresh setup with the latest devel of biblio.
However, RTF export is still working just fine.
Comment #3
rjerome commentedAlthough I can't reproduce this, I've pushed a change that should fix it.
http://drupalcode.org/project/biblio.git/commit/ec57c0e
Ron
Comment #4
Thorsten commentedTHX A LOT! You rock, greets, Thorsten
Update: I applied the patch manually, confirm: works like a charm! Thanks again!
Comment #5
Thorsten commentedOk, I overlooked one little thing while testing: now the export links for the whole bibliography work correctly, but the links for individual entries still act wacky ... maybe this magic codeline is still missing elsewhere ...
Comment #6
rjerome commentedOpps, I put it inside a conditional which (as you found out) only applies to the global link, I've move that line up a bit (out of the conditional) and it will apply to all exports now.
Ron.
http://drupalcode.org/project/biblio.git/commit/ada74f5
Comment #7
Thorsten commentedThat's it! Works! :-) Thanks, again!
Comment #8
rjerome commentedThat's good to hear. I still don't know why that didn't happen on my installations, but that's not important.
Comment #9.0
(not verified) commentedAdded MySQL version, as this was asked on a similar issue.