10-Apr-2023, 06:03 PM
Thanks, that's sorted now.
I think it's normal that the comments from your live server don't appear locally because it's technically a different website and Commentics is multi-site so it's designed not to show comments from different websites where the pages have the same identifier.
You could try opening /comments/system/library/page.php and replacing this:
I think it's normal that the comments from your live server don't appear locally because it's technically a different website and Commentics is multi-site so it's designed not to show comments from different websites where the pages have the same identifier.
You could try opening /comments/system/library/page.php and replacing this:
PHP Code:
<?php
$query = $this->db->query("SELECT * FROM `" . CMTX_DB_PREFIX . "pages` WHERE `identifier` = '" . $this->db->escape($identifier) . "' AND `site_id` = '" . (int) $site_id . "'");
With this:
PHP Code:
<?php
$query = $this->db->query("SELECT * FROM `" . CMTX_DB_PREFIX . "pages` WHERE `identifier` = '" . $this->db->escape($identifier) . "'");