I'm very new to Drupal and not much of a developer. I'm not having any luck attempting to enable the MARC module.

I installed Drupal today and a bunch of modules. When I tried first to install this MARC module, I ran into trouble because it was looking for the marc.install in the ./module/z3950/marc/marc.install (seems like there is naming confusion between your module and this portion of the z3950 module); additionally my Apache error_log showed an error like the one below.

I just tried a fresh install of Drupal 5.5 and MARC is the only module I installed. I'm still getting the same behavior: when I try to enable the module, I just see a blank page. In my Apache logs, the error is:
unexpected T_CONSTANT_ENCAPSED_STRING in /Library/WebServer/Documents/5/modules/marc/marc.install on line 83

Comments

rubinsztajn’s picture

I was able to fix this problem by adding a single quote on line 85 of the marc.install file.

The corrected line should read:

$mfdid = db_next_id('{marc_field_definitions}_mfdid');

Hope this does the trick for you as well!

mlsamuelson’s picture

Component: Miscellaneous » Code
Status: Active » Fixed

I experienced the same problem.

I've committed the fix to the CVS repository.

Thanks rubinsta!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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