Closed (fixed)
Project:
Comment RSS
Version:
6.x-2.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
3 Oct 2008 at 18:29 UTC
Updated:
15 Apr 2018 at 18:52 UTC
Attempting to access any comment feed returns the error:
Fatal error: require_once() [function.require]: Failed opening required 'sites/all/modules/commentrss/commentrss.pages.inc' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/drupal/includes/menu.inc on line 344
and no other webpage data.
The first time a logged in user attempts to access a node which already has comments on it, there's an error:
warning: require_once(sites/all/modules/commentrss/commentrss.pages.inc) [function.require-once]: failed to open stream: No such file or directory in /var/www/drupal/includes/menu.inc on line 344.
The page displays normally otherwise, and no error is shown the next time I access the same page.
When attempting to make a comment on a node, one gets the error
Fatal error: Function name must be a string in /var/www/drupal/includes/actions.inc on line 99
and no other webpage data.
But! When I attempted to access the abovereferenced node which had comments on it, after I attempted to comment on a separate page, I got the warning
warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/drupal/includes/actions.inc on line 98.
The page otherwise displayed normally.
Comments
Comment #1
gábor hojtsyHave you actually updated with the commentrss.pages.inc code or forgot to add these new files to your system?
Comment #2
skg046 commentedI work with zvi (same system) and am the person who installed the 6.x-2.0 files. Yes, commentrss.pages.inc went into the module directory along with the tarball's other files. I've read README.txt; is there an additional step to updating this module from 1.2 to 2.0?
Comment #3
gábor hojtsyWell, there should be no other step but to run update.php to get your menu cache updated. If sites/all/modules/commentrss/commentrss.pages.inc exists, it should be possible to include. There is a slight chance there is no read permission for the webserver on that file on your system, but I don't have any more ideas on why would you be unable to use it.
Comment #4
skg046 commentedI reinstalled 6.x-2.0, reran update.php (6.x-2.0 appears correctly in the module list), and visited our News area. The error there, at the top of the page between "News content" and the top post, is
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'commentrss_handler' was given in /var/www/drupal/includes/menu.inc on line 346.
* warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'commentrss_handler' was given in /var/www/drupal/includes/menu.inc on line 346.
The same error appears on the Drupal Admin page (domain.com/admin). It's a different error than the ones zvi reported above--I notice that menu.inc and actions.inc keep appearing in these errors.
Comment #5
skg046 commentedI now believe the problem is with our local permissions for update.php, in fact. I'll reopen this bug if that turns out not to be the case. Thanks.