I am just working my way thru setting up opencalais, RDF, and installing that ARC2 package on my host...
As noted in another issue (pending patch) the path for the ARC2 /preview/ release I unzipped into rdf/vendor was arc and not arc2. Rather than apply that patch, however, I simply renamed the directory.
But Drupal + RDF module still wasn't loading ARC2, so I opened the code. Turns out I had to make a small modification to line 32 of rdf.module...
Original:
@include_once RDF_ARC2_PATH . '/ARC2.php';
Modified:
@include_once RDF_ARC2_PATH . '/arc2.php';
Sorry I don't have a patch to attach. Maybe someone can upload one. I don't use CVS much.
Also not sure why this inconsistency... the ARC website mentions a "completely rewritten preview release", so maybe that is how the filename capitalization changes got introduced?
Comments
Comment #1
michael.k commentedI'm hitting a wall trying to get OpenCalais running on Drupal and can't get past a version of this ARC2 path or naming problem. I tried adjusting the path or name (BTW, had to create /vendor directory) and, regardless of what I do, I don't see anything about ARC2 and get these two messages in the status report:
Am I missing something obvious?
Thanks for any help
Comment #2
portulacaI got the message to disappear when I moved all the files from
sites / all / modules / rdf / vendor / arc2 / arc
to
sites / all / modules / rdf / vendor / arc2
It depends on the way the archive was unzipped. I created arc2 folder myself and unzipped the archive there so I got additional arc folder. If you unzipped it in vendor/ maybe you just need to rename arc/ to arc2/.
Comment #3
michael.k commented*sigh* thanks but as you can see I already have that directory structure. Renaming the arc > arc2 as one of the first things I did. I also extracted the zip file inside the vendors directory and changed the prefs to read & write for all, still nothing. Apparently that fix mentioned above to rename the rdf.module is the wrong way to go, especially if the filenames themselves are capped up.
Comment #4
Arto commentedMatt (the original poster), as the latest ARC2 release (2008-09-30) still contains a file
ARC2.php, named in all uppercase, it seems to me your problem would have to have been related to either: a) case-sensitivity issues in the file system you use (which platform was this on?), or, b) an incorrectly packaged earlier ARC2 release zip file on behalf of the ARC2 author. Lacking further information, I'm not going to change the code for the time being; if you could provide more information, I would consider changing the line you pinpointed so that it will load up eitherARC2.phporarc2.php, whichever is found, to alleviate any case-sensitivity issues.Michael, did you manage to solve your problem? If you could post the output of a directory listing of your
vendordirectory, that would help in understanding what's going on. BTW, pending the next release, I would recommend using 6.x-1.x-dev instead of 6.x-1.0-alpha3, as the latter is getting long in the tooth at this point. When using 6.x-1.x-dev (or any future release), do note that the ARC2 path changed fromvendor/arc2/ARC2.phptovendor/arc/ARC2.phpper #273804: ARC2 library installation path update.Comment #5
Arto commentedComment #6
heinzeroth commentedMissing ARC2 config.
first download arc.tar.gz http://arc.semsol.org/download/notes
extract into sites/all/modules/rdf-6/rdf/vendor/arc
I had to create folders "vendor" and "arc"
Should work fine - uppercase ARC2.php had no effect and works fine!
Comment #7
crshumate commentedARC2.php is now located at: https://github.com/semsol/arc2/wiki
After creating the "vendor" and "arc" directories and putting all the files inside of "arc" it fixed everything for me.