Whenever I try to create any of my content pages I get following error. I upgraded to latest Jan 25, 2010 and still get this. This is production site should I downgrade to version 2 I have been running 3 all along and this is first sign of trouble.
require_once(./sites/all/modules/views/includes/query.inc) [function.require-once]: failed to open stream: No such file or directory in /home/cookin/public_html/sites/all/modules/views/views.module on line 523.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | boost-696216.patch | 890 bytes | mikeytown2 |
Comments
Comment #1
merlinofchaos commented6.x-3.x does not contain this file. If you are using Views 3 but are seeing something trying to include this file, you have a broken installation. You should remove your views directory and reinstall from the tar or cvs, depending upon how you installed.
Comment #2
pingers commentedDo you have boost module installed?
If so, this is a problem, because it directly invokes views_include('query'); in hook_nodeapi().
I just commented the line out and didn't get any errors after that.
Comment #3
Road Runner commentedMerlin and pinger thank you very much.
Yep Boost is installed. I tried to cleanup everything per Merlin uninstalled, reinstalled even did fresh install of Drupal 6.15 - I get superstitious ;-) No joy. Funny I thought about Boost since I installed it I've been alert to some funny things. Nothing I can put my finger on. I kept getting same error.
To solve m problem I dropped back to 6x-2x-dev then redid all my custom views.
My thanks again.
Comment #4
giorgio79 commentedThis probably should sit with Boost then
Comment #5
mikeytown2 commentedThanks for the heads up!
Doing views_include was a temp fix, since PHP has trouble with loading files in a shutdown function. Doing a chdir() back to the index.php file is the correct way
chdir(dirname($_SERVER['SCRIPT_FILENAME']));. Here's a patch that removes these calls, since I now do a chdir().Comment #6
mikeytown2 commentedcommitted