Page 1 of 1

CGfeedback comments page issue

Posted: Tue Sep 06, 2016 1:07 pm
by nikkio
Good morning,

I've an issue with CGfeedback module.
I guess after the module update, the summary view in the pages, show all the comments in the DB, not only the page related ones.
Before the upgrade, it was used to work.

How can I fix it?

Thank you.

-nikkio-


----------------------------------------------

Cms Version: 2.1.5

Installed Modules:

AceEditor2: 1.05
AdminSearch: 1.0.2
CGContentUtils: 2.1.5
CGExtensions: 1.53.12
CGFeedback: 1.8
CGHeadMaster: 1.0.9.2
CGSimpleSmarty: 2.1.4
CGSmartImage: 1.21.5
CGSnapshot: 1.2.1
CGUserDirectory: 1.5
CMSContentManager: 1.1.1
CMSMailer: 6.2.14
CustomGS: 2.2
DesignManager: 1.1.1
ECB2: 1.1
ExaExternalizer: 0.6
FileManager: 1.5.2
FormBuilder: 0.8.1.4
FrontEndUsers: 2.1.1
JMFilePicker: 1.0
LISE: 1.2.1.1
LISEcorsi: 1.2.1.1
LISEgestionesoci: 1.2.1.1
LISEslider: 1.2.1.1
MicroTiny: 2.0.3
ModuleManager: 2.0.4
Navigator: 1.0.3
News: 2.50.5
Search: 1.50.2
SelfRegistration: 1.9.7
TinyMCE: 3.1.3


Config Information:

php_memory_limit:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: pagina
auto_alias_content: true
locale:
set_names: true
timezone: Europe/Rome
permissive_smarty: false


Php Information:

phpversion: 5.6.23
md5_function: On (Vero)
json_function: On (Vero)
gd_version: 2
tempnam_function: On (Vero)
magic_quotes_runtime: Off (Falso)
E_ALL: 1
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: Nessuna differenza di tempo trovata
test_db_timedifference: Nessuna differenza di tempo trovata
create_dir_and_file: 1
memory_limit: 256M
max_execution_time: 240
register_globals: Off (Falso)
output_buffering: On
disable_functions: show_source, system, shell_exec, passthru, exec, popen, proc_open
open_basedir: /var/www/vhosts/abni.it:/tmp:/var/lib/php/session
test_remote_url: Successo
file_uploads: On (Vero)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: Nessun controllo perchè open basedir è attivo
session_use_cookies: On (Vero)
xml_function: On (Vero)
xmlreader_class: On (Vero)
check_ini_set: On (Vero)
curl: On


Performance Information:

allow_browser_cache: Off (Falso)
browser_cache_expiry: 60
php_opcache: Off (Falso)
smarty_cache: Off (Falso)
smarty_compilecheck: Off (Falso)
smarty_cache_udt: Off (Falso)
auto_clear_cache_age: On (Vero)

Server Information:

Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.10.0-327.22.2.el7.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 10.1.15
Server Db Grants: Ho trovato una dichiarazione "GRANT ALL" che sembra essere adatta


Permission Information:

tmp: /var/www/vhosts/abni.it/httpdocs/tmp (0755)
tmp_cache: /var/www/vhosts/abni.it/httpdocs/tmp/cache (0755)
templates_c: /var/www/vhosts/abni.it/httpdocs/tmp/templates_c (0755)
modules: /var/www/vhosts/abni.it/httpdocs/modules (0755)
uploads: /var/www/vhosts/abni.it/httpdocs/uploads (0755)
Maschera di creazione file (umask): /var/www/vhosts/abni.it/httpdocs/tmp/cache (0755)
config_file: 0444

----------------------------------------------

Re: CGfeedback comments page issue

Posted: Tue Sep 06, 2016 5:29 pm
by calguy1000
And exactly how are you calling CGFeedback?

Re: CGfeedback comments page issue

Posted: Tue Sep 06, 2016 5:35 pm
by nikkio
Hi Calguy,
thank you for your reply.

I'am using it in the simplest way, as said in the help:

{CGFeedback}
for the form and
{CGFeedback action='summary'}
to display the comments

I'm using it with pages, no news or CGblog, simple pages.

For your information, I've downgraded the module and works as expected.

-nikkio-

Re: CGfeedback comments page issue

Posted: Sun Sep 18, 2016 1:56 am
by Andrew Prior
Nikkio, did you solve this? Andrew

Re: CGfeedback comments page issue

Posted: Sun Sep 18, 2016 4:16 am
by Andrew Prior
Try
{CGFeedback key2=$content_id action='summary' sortorder="ASC"}
{CGFeedback}

Re: CGfeedback comments page issue

Posted: Sun Sep 18, 2016 1:02 pm
by nikkio
Andrew Prior wrote:Try
{CGFeedback key2=$content_id action='summary' sortorder="ASC"}
{CGFeedback}
Thank you Andrew!

adding the key2 parameter fix the comments listing in the pages!

-nikkio-

Re: CGfeedback comments page issue

Posted: Sun Sep 18, 2016 5:01 pm
by calguy1000
it's a minor bug that's fixed in SVN. will release shortly.

Re: CGfeedback comments page issue

Posted: Sun Sep 18, 2016 5:05 pm
by nikkio
calguy1000 wrote:it's a minor bug that's fixed in SVN. will release shortly.
Ok Calguy, thank you!