After updating to the latest version 6.x-3.x-dev (26.11.2010) when I tried to add a new node from Node reference from URL widget, I got an error:
Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/views/includes/query.inc' (include_path='.:/usr/share/pear') in ...sites/all/modules/views/views.module on line 644.
The node is saved vith the title only, all other cck fields are not saved - they are empty.
Any help is much appreciated.
Comments
Comment #1
merlinofchaos commented3.x no longer includes that file.
Can you do a grep in your modules directory:
grep "views_include('query')"
Whichever module you have that's including that file manually is not compatible with 3.x
My guess is that it's the node reference from URL widget.
Comment #2
odisei commentedThank you Merlin for your quick response. Please note that 3.x worked untill today's update with node reference from url widget.
Comment #3
merlinofchaos commentedMaybe so, but the file being requested in that code has not bee in 3.x for at least a year, at this point.
Comment #4
merlinofchaos commentedComment #5
odisei commentedSorry, I'm not too familiar with the grep command. I navigated through Secure Shell Terminal to sites/all/modules and tried:
grep "views_include('query')"but got nothing. Is my syntax right? Sorry for my lack of command line knowledge:)
Comment #6
merlinofchaos commentedAhh I think you need to use grep -R in order to recurse down into subdirectories.
Comment #7
dawehnerComment #8
odisei commentedThanks a lot for your help Merlin, and dereine! I found the problem - it was the boost.module - on line 502:
views_include('query');that was causing the problem!Also I found this call in table wizard module - I uninstalled it.
On the boost settings page (/admin/settings/performance/boost) I disabled these 2 options:
- Clear all cached views pages associated with a node on update/delete
- Clear all cached views pages associated with a node on insert
and everything is back to normal.
Thank you again.
cheers!
Comment #9
merlinofchaos commentedYou should search the boost.module issue queue for this. If there isn't already an issue about Views 3.x compatibility, one should be added.
I'm glad you figured this out.
Comment #11
SchwebDesign commentedi had this problem as well and this fixed the problem for me as well! Thanks!
Comment #12
gotcha41 commentedhad the same problem, it was boost module, indeed
thanks!
Comment #13
dadderley commented@odisei
Thank you very much.
I just upgraded views on the one site to 3.0 and I just encountered the same problem.
Your solution worked right away.
Comment #14
Fannon commentedmass contact module seems to be incompatible too:
http://drupal.org/node/1462616
Comment #15
odisei commented@dougzilla
Glad to hear that.
Cheers!