error after update to latest 6.x-3.x-dev
tomsm - June 26, 2009 - 07:44
| Project: | Views |
| Version: | 6.x-3.x-dev |
| Component: | taxonomy data |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
I use views 3.x together with taxonomy menu. After I updated to the latest version of 3.x-dev (26-Jun-2009) I get this error when I want to access the view:
Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/views/includes/query.inc' (include_path='.;C:\php5\pear') in C:\wamp\www\drupal\sites\all\modules\views\views.module on line 512
I have cleared the views cache and rebuild the taxonomy menu. What can I do to solve this?
I have attached 2 screen captures of my view settings.
| Attachment | Size |
|---|---|
| views_capture1.JPG | 64.29 KB |
| views_capture2.JPG | 57.24 KB |

#1
I get the same error, but I don't use taxonomy menu.
#2
same
#3
Its seems that there isn't a query.inc in the includes dir.
where is it?
#4
I just installed views through drush and have the same problem. I can confirm that there is no query.inc in views/includes/
#5
It looks like someone neglected to add query.inc on the latest commit.
In browsing the cvs repository, I see the file exists, but for some reason it isn't included in the latest release. As a test, I've downloaded the file into modules/views/includes and now I don't get the include error anymore.
Is this file ready for release?
#6
No, query.inc is gone in 3.x -- any references to it are erroneous.
#7
With Views version 6.x-3.x-dev (2009-Jun-13) I do not have the error. Query.inc is also not included in this release, right?
But when I update to version 6.x-3.x-dev (2009-Jun-26) the error appears.
Why?
#8
Then there is an erroneous reference to in in views.module on line 512 which is causing the latest version to crash Drupal.
I'm using 6.x-3.x-dev.
Here's output from the error log:
PHP Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/views/includes/query.inc' (include_path='.:/usr/share/pear:/usr/share/php') in /home/aaron/Documents/artist-sites/sites/all/modules/views/views.module on line 512, referer: http://artist-sites.beeblebrox/admin/reports/updates
#9
I updated to 6.x-3.x-dev (2009-Jul-01). Same error:
Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/views/includes/query.inc' (include_path='.;C:\php5\pear') in C:\wamp\www\drupal\sites\all\modules\views\views.module on line 512
#10
Looks like I accidentally reverted some code when rolling some 2.x changes forward. I think this is fixed in CVS now.
#11
Indeed, is fixed. Thank you!
#12
Automatically closed -- issue fixed for 2 weeks with no activity.