Download & Extend

error after update to latest 6.x-3.x-dev

Project:Views
Version:6.x-3.x-dev
Component:taxonomy data
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
views_capture1.JPG64.29 KB
views_capture2.JPG57.24 KB

Comments

#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

Status:active» fixed

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

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

#13

Status:closed (fixed)» active

Hi! When trying to create a new story material I get the following error message

Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/views/includes/query.inc' (include_path='.:') in /home/virtwww/w_igeorg-ru_ee16c339/http/sites/all/modules/views/views.module on line 545

Even using the latest dev version.
This happened right after boost module installation and I don't really know where the rool cause is (inside boost or inside views)

Some more info.
- An error message occurs only when creating a new material.
- To create a new material I have to disable boost module, create material, enable bost
- Editing of a material goes without errors.

Any Ideas?

#14

Status:active» closed (fixed)

Boost dev version fixed this