Installing the RDF module with purl 1.0-beta12 triggers a WSOD in ctools:
Fatal error: Call to undefined function ctools_include() in [...] profiles/openatrium/modules/contrib/purl/purl.module on line 741
The WSOD can be fixed by using the dirty hack described here #573646: WSOD: Fatal error: Call to undefined function ctools_include() ... /page_manager.module on line 665 in comment #11, or setting the RDF module weight to 10 as suggested here #682346: WSOD when install RDF and have purl installed.
However PURL stops working. (in openatrium, the node/add links are not prefixed with the OG url anymore, therefore leading to an access denied page).
Hope this can be solved to allow installing FileFramework and its file management goodness on top of Open Atrium.
Cheers,
Jun.
Comments
Comment #1
jmiccolis CreditAttribution: jmiccolis commentedPushing this over to the RDF queue.
The above described error happens because the rdf module sets the value of a constant using a function the moment the rdf.module file is included.
The `rdf_get_schema_uri()` method calls `url()` which in turn will ask purl to examine the url. However, because all of this is happening the moment the rdf.module file is included, `ctools_include()` isn't yet available the page load fails.
Is there a reason that the 'RDF_SCHEMA_URI' constant is being set like this?
Comment #2
DjebbZ CreditAttribution: DjebbZ commentedAny news on this ? Making OA and Fileframework work would be so-oh nice...
Comment #3
DjebbZ CreditAttribution: DjebbZ commentedI tried to replace to
define('RDF_SCHEMA_URI', rdf_get_schema_uri())
stuff by avariable_set('rdf_schema_uri', rdf_get_schema_uri())
in all files where the constant is called, but it's not working. Is it a good approach ? Should we try putting some effort in this, since it's blocking rdf working with purl, which means it's blocking FileFramework to work with OA ?Comment #4
ndwilliams3 CreditAttribution: ndwilliams3 commentedI was trying to install purl and space and kept getting WSOD with error call to undefined function ctools_includes()
came across this post http://drupal.org/node/872340
changing line 964 of rdf.module from
this fixed the WSOD issue, but haven't set up spaces, purl or rdf yet to see if it causes any issues.
Comment #5
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedThis also worked for me
Comment #6
smustgrave CreditAttribution: smustgrave at Mobomo commented