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
subscribe
#2
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.
#3
Thanks. Yes, I realized later that the problem occurred only when I got to it from Admin Menu.
#4
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
Good idea. Did you verify that it works? :)
#7
I'll give it a whirl today.
#8
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'),
);
?>
#9
#8 has been committed to 6.x-2.x after testing.
#10
Automatically closed -- issue fixed for 2 weeks with no activity.