Active
Project:
RDF SPARQL Endpoint
Version:
6.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 Jul 2010 at 18:43 UTC
Updated:
25 Jan 2011 at 15:27 UTC
The current module assumes that the database is hosted locally, which won't work for website with a remote DB.
The following line must be added in the sparql_ep_initialize function to solve the issue (when defining ARC2 config)
'db_host' => urldecode($url['host']),
Comments
Comment #1
fereira commentedI believe the ARC2 module also assumes that a database is local. See the createDBCon() function in ARC2_Store.php and you'll find it hardcodes the database host to 'localhost'.