Download & Extend

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

Project:Comment RSS
Version:6.x-2.0
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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

Comments

#1

subscribe

#2

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

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

#4

Status:fixed» closed (fixed)

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

#5

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

Status:closed (fixed)» needs work

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

#7

I'll give it a whirl today.

#8

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

Status:needs review» fixed

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

#10

Status:fixed» closed (fixed)

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

#11

If the error still occurs, it's worth ensuring that any implementations of hook_menu use 'page callback' => '...' and NOT 'page_callback' - the underscore is wrong - this one's had two of us flummoxed for the last 30 minutes now!

nobody click here