Views megarow stores its includable files in a module subdir /includes/view, this however throws a fopen failed to include error in the theme() function on my hosted site.

Moving the files from /includes/view to the toplevel of the modules installdir seems to solve this issue, but this probably shouldnt happen at all?

CommentFileSizeAuthor
#3 2004614-3-fix-theme-path.patch624 bytesbojanz
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hcderaad’s picture

Version: 7.x-1.0 » 7.x-1.1

Again, after an update of views megarow to version 1.1, these error occurred. Perhaps this is an issue in packaging?

Seph’s picture

I am experiencing the same thing. After enabling views megarow, I get the following warning:

Warning: include_once(~/sites/all/modules/views_megarow/views_megarow.views.inc): failed to open stream: No such file or directory in _theme_process_registry() (line 565 of ~/includes/theme.inc).
Warning: include_once(): Failed opening '~/sites/all/modules/views_megarow/views_megarow.views.inc' for inclusion (include_path='.:/Applications/MAMP/bin/php/php5.4.4/lib/php: ~/sites/default/files/private/include') in _theme_process_registry() (line 565 of ~/includes/theme.inc).

The file views_megarow.views.inc is actually in ~/sites/all/modules/views_megarow/includes/views

bojanz’s picture

Status: Active » Needs review
FileSize
624 bytes

Try this.

Artusamak’s picture

I can't reproduce the warning and bojanz's patch doesn't break anything.
Could you test the patch Seph / hcderaad and tell us if it's working? I will probably commit it anyway.

Thanks.

hcderaad’s picture

I'm sincerely sorry, i have no time to test in production, but this definitely looks like the way to go and with this patch i couldnt reproduce the issue in my testing environment.

Seph’s picture

Everything worked fine after applying the patch.

bojanz’s picture

Status: Needs review » Reviewed & tested by the community

Sounds like an RTBC to me.

Artusamak’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for the patch & review guys it's committed > http://drupalcode.org/project/views_megarow.git/commit/e6caab08fc5d855a7....

Status: Fixed » Closed (fixed)

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