I have configured this module in 2 different instances but not working for me. I have set 10 comments per page after adding more than 10 it is showing the more comments link button. While clicking on more comments it is just processing but not giving any output.

Comments

dagmar’s picture

Status: Needs work » Postponed (maintainer needs more info)
Issue tags: -comments, -Drupal, -Drupal modules

In order to help you I need to know:

Your php version, drupal theme, browser, javascript errors if any. Without that information I cannot help you.

Also, make sure you are using beta2. I saw this error in the beta 1 and was fixed in the beta 2.

bhavin.ahya’s picture

Thank you dagmar for the reply

Here is the details you are asking for :

I am using beta 2
PHP Version is 5.2.6
I have checked in garland and framework themes
There is no any javascript error
I have tested on Mozilla, IE 7 and 8

geerlingguy’s picture

Haven't had any trouble with a Zen subtheme or a Genesis subtheme... but haven't tried FireFox.

bhavin.ahya’s picture

StatusFileSize
new11.48 KB

Could you please share the details of the platform which you are using (wamp, xampp, lamp) also mention the php version. According to me it's not a browser issue. I have already checked in IE7, IE8 and Mozilla 3.6.x so may be some conflict with PHP version

Thanks

dagmar’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Please try the last beta maybe it fix your problem.

However I cannot replicate your problem (this module works for me in different themes, using PHP 5.2.10), you will have to find the problem in your local installation and provide more information.

If you found the raise of the problem and provide a detailed step to step guide to reproduce it, I will fix the problem, until then... I cannot do much more, sorry.

bhavin.ahya’s picture

Status: Closed (cannot reproduce) » Closed (fixed)

issue fixed

thanks

isagarjadhav’s picture

Status: Closed (fixed) » Active

Issues still exists!

Issues is with morecomments.js having following line of code -

$.get(Drupal.settings.basePath + "morecomments/" + info[1] + "/" + info[2], function(data) {

In above case if clean URLs are disabled more comments will not work.

Solution - Replace above code with -

$.get(Drupal.settings.basePath + "?q=morecomments/" + info[1] + "/" + info[2], function(data) {

Above code will in bothe the cases i.e. Clean URLs enabled and Disabled.

jonescuong’s picture

Title: More comments not working » $count_query variable hasn't been initialized
Version: 6.x-1.0-beta2 » 7.x-1.0-beta3
StatusFileSize
new28.1 KB

When I click on more comments button , system displays below errors
Fatal error: Call to a member function condition() on a non-object in D:\xampp\htdocs\drupal7\sites\all\modules\morecomments\morecomments.pages.inc on line 37

I think $count_query variable hasn't been initialized and I try to comment line 37 , it works properly

g10’s picture

Status: Active » Fixed

fyi. this is fixed in 7.x-1.x-dev

Status: Fixed » Closed (fixed)

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

yuseferi’s picture

Issue summary: View changes

It is very cool there is not any $query_count there (maybe it is a forgotten sinister in surgery :D )

just go there and comment that line

      //$count_query->condition('c.status', COMMENT_PUBLISHED);