Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.13
Component:
Miscellaneous
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
8 Feb 2009 at 16:03 UTC
Updated:
27 Mar 2012 at 22:40 UTC
I've tried installing Views several times now and each time I get this same error message. It appears as though it's looking for files in the "includes" folder, but I don't see an "includes" folder in the "views" folder. Can anyone help?
Comments
Comment #1
jaydelaney commentedComment #2
KerrySanto commentedokay i have tried this a few times, ive cleared out the database, i have reinstalled a fresh drupal about 3 times and I haven't got a clue where I am going wrong
Warning: require_once(./sites/all/modules/views/includes/admin.inc) [function.require-once]: failed to open stream: No such file or directory in /home/scaryme/public_html/testsite/sites/all/modules/views/views_ui.module on line 168
Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/scaryme/public_html/testsite/sites/all/modules/views/views_ui.module on line 168
Comment #3
KerrySanto commentedforgot to open this up, apologies, tried a few other things but they didnt work either
Comment #4
atzi commentedI get the same error. This occurred when installing a new Drupal site and installing and after enabling Views.
Now the site will not open at all. On any address including the home page same error.....
Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/lynnauto/public_html/solar/sites/all/modules/views/views_ui.module on line 168
I opened the views_ui.module folder and line 168 says........
require_once "./$path/includes/admin.inc";
Comment #5
merlinofchaos commentedThis can only mean that Views files are installed properly. Ensure that the tarball didn't flatten the directories or mangle the names. But clearly, it's trying to load views/includes/admin.inc and is unable to find it. That file should have been included with Views.
Comment #6
atzi commentedI downloaded views and uploaded again to my site folder and when extracting the views-6.x-2.6.tar.gz file
after many files created at the bottom is......
Output Truncated by browser
Is this a factor?
I re-extracted the views-6.x-2.6.tar.gz file on top of the already extracted files and did not get the Fatal error. The problem is gone.
So I am fine now but what did I learn?
Comment #7
payam321 commentedhi i get this same error :
Fatal error: require_once() [function.require]: Failed opening required './sites/all/modules/views/includes/admin.inc'
on drupal 16 or 17 i didn't get this error but on this new version drupal 18 i get this views error and i can't fix this i don't know what is wrong is there some thing wrong with my hosting company or is it to do with drupal new versions
Comment #8
Stasroot1 commentedProblems when updating views c version * .12 to * .13 * .16 current available
Delete the old folder with the module version 12, fill the folder with the version of the module 13, there is a critical patch, update the list of modules through the admin panel, shows that the version of the module is now 13, but as I recall, he just reads the version of the module file *. Info ... ie should execute the script: update.php, he is not satisfied, departs with such a mistake:
require_once(./sites/all/modules/views/includes/admin.inc): failed to open stream: No such file or directory in file /home/srv/www/vhosts/vgreble.ru.loc/sites/all/modules/views/views_ui.module on line 169.Address handling: http://vgreble/update.php?op=info
Error appears when working out here this function:
Are, respectively, 167,168,169 lines.
On the 169 line:
Tell me what the problem is how to treat?
Comment #9
Stasroot1 commentedThe problem was the lack of multiple files in a specified directory. When you copy a folder on the site is not a known cause, unrelated to Drupal does not have copied all the files. And this occurred because of this error.
This is a problem of my OS, briefings could be a Dolphin file manager with root privileges.