Problems with MARC Upload

Help
dude4linux
2004-08-21
2013-05-30
  • dude4linux

    dude4linux - 2004-08-21

    I just installed the 0.5 version with a new install.  Most functions are working as expected, but I'm having a problem with the MARC upload.  I receive the following error.

    Fatal error: Call to undefined function: file_get_contents() in /web/openbiblio/catalog/upload_usmarc.php on line 48

    Anyone have any suggestions?  I'm running RedHat 9.0 with Apache 2.0.

    TIA - John

     
    • Micah Stetson

      Micah Stetson - 2004-08-21

      That's a bug that's been fixed in CVS.  It only appears on PHP versions before 4.3.0 (that is, those that don't have file_get_contents()).  Just add a line to upload_usmarc.php in the section with all the 'require_once' lines that says "require_once('../functions/fileIOFuncs.php');" and change the file_get_contents call to use fileGetContents (our replacement for compatibility).

      Micah

       
    • dude4linux

      dude4linux - 2004-11-09

      Thanks Micah,
      That fixed it.  Sorry for the long delay in acknowledging your help.
      John

       


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks