Hi

I am getting this error on a fresh drupal 7 install
Fatal error: Call to undefined function sparql_get_store() in C:\wamp\www\sitename\sites\all\modules\sparql\sparql_endpoint\sparql_endpoint.module on line 23

when I click on Build RDF index and the same error except it is line 75 when I click on Sparql Endpoint.

I am using these module versions.
SPARQL 7.x-2.0-alpha1
rdfx 7.x-2.0-alpha2
sparql_views 7.x-2.0-alpha4
entity 7.x-1.0-beta10

Is there any solution, I cannot find a similar error in the issue queue although I did see a discussion about the function name.

Thanks

Comments

scor’s picture

are you sure that you are actually using SPARQL 7.x-2.0-alpha1? This function was introduced in #1176844: Move sparql_endpoint_initialize to main sparql module which was committed post alpha1.

make sure to clear you caches and run update.php (or drush updb) after upgrading your code (I suppose you are running the latest dev snapshot of SPARQL).

Jimmel’s picture

I changed to the dev version and it works fine. So the alpha1 from April 8th causes the problem.

Thanks

Jimmel

Anonymous’s picture

Status: Active » Closed (fixed)

Thanks for testing that, Jimmel.

I'll be testing the two patches that scor posted in other issues and then we'll be creating an alpha2 either today or tomorrow, so I'm going to close this one out.