This is the community forum. For a developer response use the Client Area.
Follow us on Facebook, Twitter and YouTube!

Comments are not showing on a site
#1

Moved commentics database to a new web hosting company.
Comentic vesion 4.4 on new installation and the backup made from.
On the resttored database, the comments are present. Settings > sytem in commentics looks correct. I have cleared cache but no effect. The main site is hand coded without CMS. I have searched on several places including https://commentics.com/forum/showthread....831&page=2. Could’n a solution. What do I miss here? Help will be appreciated.
The site is mejemer.com
Reply
#2

Can you post your integration code? It should look similar to this:

PHP Code:
<?php
$cmtx_identifier
= '1';
$cmtx_reference  = 'Page One';
$cmtx_folder    = '/comments/';
require(
$_SERVER['DOCUMENT_ROOT'] . $cmtx_folder . 'frontend/index.php');
?>

The most likely reason is the value that you're setting for the $cmtx_identifier variable no longer matches with the pages in your database.

Have you completed the interview?
Reply
#3

Quick reply as always, impressive!

<!-- Comment form -->
<?php
$cmtx_identifier = '61';
$cmtx_reference = 'ጥሩ መርህ እንዴት ይገኛል';
$cmtx_folder = '/comments/';
require($_SERVER['DOCUMENT_ROOT'] . $cmtx_folder . 'frontend/index.php');
?>

Looks correct.
Reply
#4

Just to make the issue more clear. The comment form shows but all of comments given previously on all pages not showing, after backup restoring.
Reply
#5

That's strange. I'd need access to your website to determine what's happening. So if you send me your Commentics admin details and FTP details I'd be happy to look into it. You can send it via this forum's private message feature if you like (I'll delete your access details afterwards).

Have you completed the interview?
Reply
#6

I can do that once FTP access works. Thanks for that. I used cPanel file manger so far. FTP is not working yet after SSH for SFTP issue.
Reply
#7

cPanel file manager would be fine.

Have you completed the interview?
Reply
#8

Thanks for sending me the details.

In your database, you have two installations of Commentics.
- The first installation is where the tables are prefixed with 'cml5_'.
- The second installation is where the tables are prefixed with 'cmrm_'.

All of your comments are in your second installation.

However, in your Commentics config.php file, you had this line:

PHP Code:
<?php 
define
('CMTX_DB_PREFIX', 'cml5_');

So I changed it to this:

PHP Code:
<?php 
define
('CMTX_DB_PREFIX', 'cmrm_');

And now you have comments:
https://mejemer.com/main/being/merh.php

Have you completed the interview?
Reply
#9

I never thought i had two installations. Thank you very much Steve. Appreciated.
Reply


Possibly Related Threads…
Thread / Author Replies Views Last Post
Last Post by Steven
24-Jun-2019, 08:25 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)