Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Aug 2006 at 09:05 UTC
Updated:
22 Sep 2006 at 19:45 UTC
Hi,
After activating Views module, I get a blank page with following text:
-----
Fatal error: %v%v() [function.require]: Failed opening required 'modules/views/modules/views_comment.inc' (include_path='/usr/share/php5:/usr/share/php5/PEAR') in /home/kc/www/modules/views/views.module on line 18
-----
The module worked before my ISP upgraded to PHP5.
I tried copying both 4.7.0 and cvs (07/08/06) to site, and activate views on the Modules page and clicked ok.
I had to deactivate module manually in the database to get the site working.
Comments
Comment #1
aquab121 commentedI have received this very same error locally on my windows.
warning: require_once(sites/local-visualval/modules/views/modules/views_node.inc) [function.require-once]: failed to open stream: No such file or directory in D:\wamp\home\visualval\httpdocs\sites\local-visualval\modules\views\views.module on line 18.
I could have something to do with my wamp setup. I’m just a designer testing so I wouldn’t be surprised if it was my local setup causing this error.
Comment #2
mo6See (also): http://drupal.org/node/80994
Comment #3
asimmonds commentedTry adding current directory into PHP include's search path in php.ini:
eg include_path='.:/usr/share/php5:/usr/share/php5/PEAR'
Comment #4
mo6This will probably work, but I'd rather see a solution that works with a default installation of PHP to avoid people having to ask their ISP to change the global php.ini.
Comment #5
merlinofchaos commentedI checked in a fix that I believe will take care of this problem. Re-open this issue if it turns out I did not. (It's in both CVS and 4.7)
Comment #6
aquab121 commentedYes! Thanks, adding "include_path='.:/" to my php.ini file path fixed the issue!
I found the same solution in a similar post as well http://drupal.org/node/47456
- Thanks again :)
Comment #7
borstahusen commentedMany thanks, Earl! You saved my day.
Comment #8
(not verified) commented