im getting this error: warning: include_once(sites/all/modules/jcarousel-DRUPAL-6--2/jcarousel.views.inc

the views.inc file is located in the includes folder. so im guessing someone forgot to change the directory location?

CommentFileSizeAuthor
#7 jcarousel-998490.patch1.72 KBjohn morahan

Comments

patoshi’s picture

Full error:

warning: include_once(sites/all/modules/jcarousel-DRUPAL-6--2/jcarousel.views.inc) [function.include-once]: failed to open stream: No such file or directory in /home/drupal/includes/theme.inc on line 286.

patoshi’s picture

ok i tried fixing this but im not exactly sure where the line that calls 'sites/all/modules/jcarousel-DRUPAL-6--2/jcarousel.views.inc' comes into play, but i fixed it by just making an empty jcarousel.views.inc file and just placing it in the root of that module directory and the missing file error went away.. of course this is just a temporary hack until the maintainers fix it..

i would really like to know what was causing the problem though.

quicksketch’s picture

Title: Wrong directory for jcarousel.views.inc ??? » No such file or directory: jcarousel.views.inc

We're discussing the same thing over in #992726: Views integration for Drupal 7. What version of Views are you using?

quicksketch’s picture

Status: Active » Postponed (maintainer needs more info)

I can't figure out what causes this problem to occur for some users but I'm unable to reproduce. Steps to reproduce from a clean install (including all module versions) may be necessary for me to fix this problem.

codigovision’s picture

I'm having the same error.

Views 6.x-2.6
jCarousel 6.x-2.2

I'm using a long list of modules, but let me know if you need that info and i can post it.

David Hernández’s picture

Hi there,

I'm having the same problem, I'm using jCarousel 6.x-2.2 and Views 6.x-2.2

To reproduce the error just install jCarousel module and will display those errors:

include_once(sites/all/modules/jcarousel/jcarousel.views.inc) [function.include-once]: failed to open stream: No such file or directory in drupal/includes/theme.inc on line 286.

include_once() [function.include]: Failed opening 'sites/all/modules/jcarousel/jcarousel.views.inc' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in drupal/includes/theme.inc on line 286.

Regards,
David.

john morahan’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new1.72 KB

This seems to help...

quicksketch’s picture

Status: Needs review » Fixed

Thanks John Morahan, let's go with these changes and see if it corrects it for everyone. Seems to work for me. I've moved the file in the D7 branch too, which would need the same change.

Status: Fixed » Closed (fixed)

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