Failed opening required 'sites/all/modules/commentrss/system.admin.inc'

akwala - October 2, 2008 - 05:02
Project:Comment RSS
Version:6.x-2.0
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/commentrss/system.admin.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www-sec/nilavi.com/includes/menu.inc on line 344

Just installed the latest commentrss, after uninstalling the previous version.

The error happens when I try to configure RSS General Settings -- admin/content/rss-publishing/default

#1

zvilikestv - October 3, 2008 - 18:30

subscribe

#2

Gábor Hojtsy - October 6, 2008 - 10:20
Status:active» fixed

Just committed this patch to the Drupal 6.x-2.x branch. No such patch required for Drupal 5.x. I did not see this error, since I was only using the default Drupal mane interface. I assume you ended up on that path with admin_menu or some such extension. Applying this patch, or updating to the latest Drupal 6.x-2.x dev version should solve the issue for you.

Thanks for the report.

AttachmentSize
proxy_callback.patch 1.59 KB

#3

akwala - October 7, 2008 - 02:03

Thanks. Yes, I realized later that the problem occurred only when I got to it from Admin Menu.

#4

Anonymous (not verified) - October 21, 2008 - 02:12
Status:fixed» closed

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

#5

Dave Reid - November 14, 2008 - 04:50

Wouldn't it just be easier to use the following instead of having to redefine the page callback?

<?php
'file path' => drupal_get_path('module', 'system'),
?>

#6

Gábor Hojtsy - November 14, 2008 - 09:40
Status:closed» needs work

Good idea. Did you verify that it works? :)

#7

Dave Reid - November 14, 2008 - 15:11

I'll give it a whirl today.

#8

Dave Reid - November 14, 2008 - 16:33
Status:needs work» needs review

Confirmed I got the error specified (didn't update to latest 6.x yet) by visiting admin/content/rss-publishing/default. Confirmed this is fixed by just using:

<?php
  $items
['admin/content/rss-publishing/default'] = array(
   
'title' => 'General settings',
   
'type' => MENU_DEFAULT_LOCAL_TASK,
   
'file path' => drupal_get_path('module', 'system'),
  );
?>

AttachmentSize
commentrss-menu-tab.patch 1.16 KB

#9

Dave Reid - July 17, 2009 - 15:56
Status:needs review» fixed

#8 has been committed to 6.x-2.x after testing.

#10

System Message - July 31, 2009 - 16:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.