Hello All,

I just installed the VIEWS module and after enabling it I am now and receiving a "Page not found
The requested page could not be found. " error on my main page, actually all pages.

All I can see is my header and copyright info.

I've deleted the view folder from the Modules folder and am still having the same problem. I've spent a lot of time and my site and this is very worrisome. ANY assistance would be greatly appreciated.

Thanks So Much,
Hapsack

Comments

Hapsack’s picture

This was the error log from my server, if this helps:

Sat May 24 21:49:07 2008] [error] [client 68.229.9.105] PHP Fatal error: require_once() [function.require]: Failed opening required './modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hapsack/public_html/info/modules/views/views_ui.module on line 171
[Sat May 24 21:49:03 2008] [error] [client 68.229.9.105] PHP Fatal error: require_once() [function.require]: Failed opening required './modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hapsack/public_html/info/modules/views/views_ui.module on line 171
[Sat May 24 21:48:57 2008] [error] [client 68.229.9.105] PHP Fatal error: require_once() [function.require]: Failed opening required './modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hapsack/public_html/info/modules/views/views_ui.module on line 171, referer: http://info.hapsack.com/node/2?size=thumbnail
[Sat May 24 21:48:52 2008] [error] [client 68.229.9.105] PHP Fatal error: require_once() [function.require]: Failed opening required './modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hapsack/public_html/info/modules/views/views_ui.module on line 171, referer: http://info.hapsack.com/node/2
[Sat May 24 21:48:51 2008] [error] [client 68.229.9.105] PHP Fatal error: require_once() [function.require]: Failed opening required './modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hapsack/public_html/info/modules/views/views_ui.module on line 171, referer: http://info.hapsack.com/node/2?size=thumbnail
[Sat May 24 21:48:49 2008] [error] [client 68.229.9.105] PHP Fatal error: require_once() [function.require]: Failed opening required './modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hapsack/public_html/info/modules/views/views_ui.module on line 171, referer: http://info.hapsack.com/node/2/track
[Sat May 24 21:48:47 2008] [error] [client 68.229.9.105] PHP Fatal error: require_once() [function.require]: Failed opening required './modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hapsack/public_html/info/modules/views/views_ui.module on line 171, referer: http://info.hapsack.com/user/1
[Sat May 24 21:48:44 2008] [error] [client 68.229.9.105] PHP Fatal error: require_once() [function.require]: Failed opening required './modules/views/includes/admin.inc' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/hapsack/public_html/info/modules/views/views_ui.module on line 171, referer: http://info.hapsack.com/user/1/guestbook

Hapsack’s picture

This is what is on "Line 171":

function views_ui_theme() {
$path = drupal_get_path('module', 'views');
require_once "./$path/includes/admin.inc";

Hapsack’s picture

Has anyone else had this trouble?

AaronCollier’s picture

Title: Critical VIEWS Module Error » Failed to Open Admin.inc

No need to mention that it's critical twice.

It seems to be a failure of your drupal_get_path function. You should be looking in some place like: /home/hapsack/public_html/info/modules/views/includes/admin.inc

So it's probably something related to your permissions for php to open files or something like that.

merlinofchaos’s picture

If you removed the views folder, how can you still be getting that error in a file you should have deleted? Something doesn't add up.

My best guess is that the tarball unpacked incorrectly or something; I've seen people have a problem using some unpackers that flatten the system, which puts files in the wrong place.

If you *actually* remove the views folder from your system, you shouldn't get that problem.

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

My best guess is that your untar program flattened the directory; make sure that these files actually exist. Setting to NMI until there is feedback.

irakli’s picture

Remove the Views folder. After that - clear all caches, disable performance caching and try to re-install views from clean package.

esmerel’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No updates for more than 30 days.