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
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.

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

#1

jmesam - June 26, 2009 - 13:55

I get the same error, but I don't use taxonomy menu.

#2

orgnsm - June 26, 2009 - 22:36

same

#3

kickglass - June 26, 2009 - 22:56

Its seems that there isn't a query.inc in the includes dir.

where is it?

#4

aacraig - June 28, 2009 - 09:58

I just installed views through drush and have the same problem. I can confirm that there is no query.inc in views/includes/

#5

aacraig - June 28, 2009 - 10:02

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

merlinofchaos - June 28, 2009 - 17:28

No, query.inc is gone in 3.x -- any references to it are erroneous.

#7

tomsm - June 29, 2009 - 07:03

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

aacraig - June 30, 2009 - 11:20

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

tomsm - July 1, 2009 - 06:58

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

merlinofchaos - July 1, 2009 - 15:44
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

tomsm - July 2, 2009 - 07:07

Indeed, is fixed. Thank you!

#12

System Message - July 16, 2009 - 07:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.