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

gábor hojtsy’s picture

Status: Active » Postponed (maintainer needs more info)

Have you actually updated with the commentrss.pages.inc code or forgot to add these new files to your system?

skg046’s picture

Status: Postponed (maintainer needs more info) » Active

I 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?

gábor hojtsy’s picture

Status: Active » Postponed (maintainer needs more info)

Well, 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.

skg046’s picture

Status: Postponed (maintainer needs more info) » Active

I 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.

skg046’s picture

Status: Active » Closed (fixed)

I 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.