Hi! Great work on your latest release. Biblio has become a wonderfull module.

I had some php snippet that used to work with previous version of Biblio. I installed Biblio in a new drupal site and I now get this error message

Fatal error: Call to undefined function biblio_db_search() in /var/alternc/html/p/p0732658/bva/includes/common.inc(1641) : eval()'d code on line 1

when I tried to use this snippet:

<?php print biblio_db_search("inline", "year","2007"); ?>

Everthing else seem to work fine.

Thank you,

Denis

Comments

p0732658’s picture

I'm sorry. I should have done my homework before posting this issue. After searching in this forum, I found this:

<?php
include_once  drupal_get_path('module','biblio') . '/biblio.pages.inc';

print biblio_db_search("inline", "year","1999"); 
?>

So, apparently the line

<?php
include_once  drupal_get_path('module','biblio') . '/biblio.pages.inc';
?>

Is now required.

rjerome’s picture

Yes, this is required due to the fact that I moved biblio_db_search() out of the main module file. I'll make note of this in the release notes.

Ron.

liam morland’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

This version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.