Closed (fixed)
Project:
Views (for Drupal 7)
Version:
4.7.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Dec 2006 at 13:09 UTC
Updated:
31 Jan 2007 at 22:46 UTC
PHP Fatal error: Call to undefined function: comment_page_new_query() in /var/www/modules/views/modules/views_comment.inc on line 218
This when any view that relies on a comment count field with the "With New Count" handler.
Comments
Comment #1
ricmadeira commentedI can confirm this too; I started getting this today, after I upgraded to the latest 4.7 views version.
Comment #2
petrescs commentedConfirm this is happening in 5.0-beta2 too, with Views 5.x-1.2-beta-1
Comment #3
ricmadeira commentedThis is now fixed, but I think you have to download the 4.7.x-dev version, because it seems the 4.7.x-1.2 version is still the same although the code change has been commited.
The latest 5.x version should work now too.
Comment #4
petrescs commentedStill not working - tried in 5.0-beta2 using latest views-5.x-1.2-beta1.tar.gz
When adding a new comment, and then somebody loads /tracker page that should mention the new comment added, they get a blank page instead - at the same time, log displays following:
Call to undefined function comment_page_new_query() in /path/to/modules/views/modules/views_comment.inc on line 195
Comment #5
petrescs commentedsorry - forgot to mention version and update status
Comment #6
merlinofchaos commentedNo, ric was right, this is fixed, but it is fixed in the -dev versions, not in the 1.2-beta versions. It'll go out in the next release. SInce you probably can't wait, feel free to download a -dev and use that until a release comes out.
Comment #7
Axel_V commentedThat is a problem. I have the new module (4.7.x-1.2) up on my running site and it seems I can not move back to the dev version. And yes, I was careful: I have first installed 1.2 on my testsite. All looked fine. The problem is that the error message does not occur to the superadmin, only for normal users but it strangely does not show in the logfiles. So I was convinced everything was fine. Is there anything I can do?
Comment #8
merlinofchaos commentedWhy can you not go back to a -dev version?
Comment #9
Axel_V commentedJust exchanging the 1.2 module for the -dev wouldn't work. Same error message recoccured, probably due to an update in the db when upgrading to 1.2? As I had done changes in the views since my last general update this morning I didn't want to restore to this morning's views db. But I've done that now and everything is sorted.
xl
Comment #10
TheFazz commentedi too am using the 4.7.x-1.2 version. i would like to know how i can revert to the dev version.
Comment #11
merlinofchaos commentedGet the 1.3 version.
Comment #12
TheFazz commentedthanks merlinofchaos for quick update. 4.7.x-1.3 works ok now.
Comment #13
(not verified) commentedComment #14
Chill35 commentedWhere is the 1.3 version ???? I am having the same problem on a live site !
Blank page with :
Fatal error: Call to undefined function: comment_page_new_query() in /........../sites/default/modules/views/modules/views_comment.inc on line 218
When any REGISTERED & LOGGED-IN non-admin user clicks on 'Recent Posts'.
Comment #15
Chill35 commentedThat version is not on the project page.
Please attach it here.
For people who require a working version of the views module they may not know how to go on CVS. I certainly don't.
Best regards,
Caroline
Comment #16
Chill35 commentedI found where to get it.
http://drupal.org/node/38878/release
A note should be put on the project page because this is a serious bug.
Comment #17
merlinofchaos commentedThat bug existed only in 1.2 -- 1.3 AND ALL LATER VERSIONS do not have this bug. Please get your version numbers correct.
Comment #18
Chill35 commentedVery sorry. I am downloading the release now.
Comment #19
(not verified) commented