Hi,

I just upgraded to Quick Tabs version 6.x-2.0-rc5. Upon installation, I immediately started receiving these errors on every page:

warning: include_once(sites/all/modules/contrib/quicktabs/quicktabs.views.inc) [function.include-once]: failed to open stream: No such file or directory in /*path-to-site*/includes/theme.inc on line 283.

warning: include_once() [function.include]: Failed opening 'sites/all/modules/contrib/quicktabs/quicktabs.views.inc' for inclusion (include_path='.:/Applications/MAMP/bin/php5.2/lib/php') in /*path-to-site*/includes/theme.inc on line 283.

Upon much troubleshooting, trial and error, I figured out a fix by relocating quicktabs.views.inc in to the root of the module directory and changing a couple lines of code throughout the module. Though I am still stumped as to why this error is being generated in the first place as the Quick Tabs hook_theme() was telling the Drupal theme engine to specifically look for the file in the proper directory. Something very strange is happening here. It *might* have something to do with the Views plugin system, but can't be certain without further research.

(Note that this might be a duplicate of the issue found at http://drupal.org/node/791918 but that thread was for version 6.x-2.x-dev)

If you are receiving similar errors, this is how I fixed the issue:

1. Relocate quicktabs.views.inc to the Quick Tabs parent folder (i.e. sites/all/modules/contrib/quicktabs)

2. In quicktabs.module, edit quicktabs_theme() on line 33 (under 'quicktabs_views_render')...

FROM:
'file' => 'includes/quicktabs.views.inc',
TO:
'file' => 'quicktabs.views.inc',

3. In quicktabs.module, edit qquicktabs_views_api() on line 748...

FROM:
'path' => drupal_get_path('module', 'quicktabs') .'/includes',
TO (just comment-out the line or remove it):
// 'path' => drupal_get_path('module', 'quicktabs') .'/includes',

Hope that helps! If I manage to figure anything else out, I will be sure to post.

Comments

MattBrigade’s picture

From the findings at http://drupal.org/node/791918, I tried upgrading my Drupal 6.15 installation to the most recent version (6.19). I can confirm that this fixes the issue with QuickTabs I was having (which means it probably wasn't an issue with QuickTabs itself all along).

Hope that is of help to someone!

MattBrigade’s picture

Status: Active » Fixed

Since upgrading Drupal looks to solve this issue, I'm changing the status to "fixed".

Status: Fixed » Closed (fixed)

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

mrlava’s picture

in: /includes/quicktabs.views.inc

under: function quicktabs_views_plugins()

add: 'theme file' => '/includes/quicktabs.views.inc',

and the error is gone

pasqualle’s picture

Status: Closed (fixed) » Needs review
japo32’s picture

Hi, can the maintainers please commit the change to this. Thanks!

japo32’s picture

I'm still getting the same error and I'm using Drupal 6.22 and Quicktabs 6.x-3.1

netw3rker’s picture

Version: 6.x-2.0-rc5 » 6.x-3.x-dev
avpaderno’s picture

Status: Needs review » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.