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
Comment #1
MattBrigade commentedFrom 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!
Comment #2
MattBrigade commentedSince upgrading Drupal looks to solve this issue, I'm changing the status to "fixed".
Comment #4
mrlava commentedin:
/includes/quicktabs.views.incunder:
function quicktabs_views_plugins()add:
'theme file' => '/includes/quicktabs.views.inc',and the error is gone
Comment #5
pasqualleComment #6
japo32 commentedHi, can the maintainers please commit the change to this. Thanks!
Comment #7
japo32 commentedI'm still getting the same error and I'm using Drupal 6.22 and Quicktabs 6.x-3.1
Comment #8
netw3rker commentedComment #9
avpadernoI am closing this issue, since it's for a Drupal version no longer supported.