CMS MADE SIMPLE FORGE

CGFeedback

 

[#11615] CGFeedback fails to edit posts, assigns wrong URL, cannot reload page after posting

avatar
Created By: Andrew Prior (andrew@thepriors.net)
Date Submitted: Mon Oct 23 06:02:54 -0400 2017

Assigned To: Robert Campbell (calguy1000)
Version: 2.1
CMSMS Version: 2.2.3.1
Severity: Major
Resolution: Fixed
State: Open
Summary:
CGFeedback fails to edit posts, assigns wrong URL, cannot reload page after posting
Detailed Description:
Calguy, I'm adding this here on Rolf Tjassens's advice. The key detail follows:

ME: DETAIL 2: In preparing to update to 2.2.3.1, I updated CGFeedback, which I
think also meant upgrading CGExtensions.
I found later that CGFeeback posts from readers could not be edited by me; that
is, I could edit them in the backend, but when I submitted the changes they were
not saved. (Noted in the Modules Forum October 20, and I've not yet had time to
address it again)

I have uninstalled CGFeedback and reinstalled it in the past, so I guess I could
even roll it back to the earlier version, but it's a somewhat scary process
because of the large number of posts it has, and always leaves me wondering if I
will lose them as I restore the database table to the new install. So it's not
an ideal way to try to fix the issue.
...
ROLF: I haven't upgraded the module yet at my websites, but I have read similar
post at the forum. So I suspect a simple but annoying bug in the code.
Deinstalling the module will not help here. Beside that it will destroy your
data. Like you write you could put back the dbase tables but the chance
something goes wrong is... :-/
Better post a bug report for the module developer in the Forge.
...

This post is in the lounge at:
https://forum.cmsmadesimple.org/viewtopic.php?f=28&t=77483

I noticed that some posts-- test messages I sent before updating this
afternoon-- were being assigned to the wrong URL, which I could not correct on
the moderator's page, but had to correct by changing the page number in
phpMyadmin.

I have managed to update to 2.2.3.1 this afternoon from 2.2.2, and now when  I
try to send a post, it cannot properly reload the page... only the first few
menu entries appear, and no css formatting. Neither is the post visible in the
backend.

The site is https://onemansweb.org. You can post a comment from the bottom of
any page under Theology, eg
https://www.onemansweb.org/theology/the-year-of-matthew-2017.html
by clicking on "Click to add Feedback" at the bottom of the page.

I hope this is helpful, and not posted in the incorrect place

Thanks for all the great work you do.

Andrew Prior

----------------------------------------------
Cms Version: 2.2.3.1
Installed Modules:
AceEditor2: 1.05
AdminSearch: 1.0.4
Album: 1.11
CGActionBar: 1.1.2
CGExtensions: 1.57.1
CGFeedback: 2.1
CGJobMgr: 1.3.6
CGSimpleSmarty: 2.1.7
CMSContentManager: 1.1.6
CMSMailer: 6.2.14
Captcha: 0.5.5
CmsJobManager: 0.1.1
DesignManager: 1.1.3
FileManager: 1.6.4
FilePicker: 1.0.1
JQueryTools: 1.4.0.3
MenuManager: 1.50.3
MicroTiny: 2.2.1
ModuleManager: 2.1.2
NMS: 2.13
Navigator: 1.0.8
News: 2.51.3
Printing: 1.1.2
Search: 1.51.2
Showtime2: 3.5.4
SiteMapMadeSimple: 1.2.8
ThemeManager: 1.1.8
nuSOAP: 1.0.2

Config Information:
php_memory_limit:
max_upload_size: 16000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
auto_alias_content: true
locale:
set_names: false
timezone: Australia/Adelaide
permissive_smarty: true

Php Information:
phpversion: 5.6.31
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 32767
E_STRICT: 2048
E_DEPRECATED: 8192
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 120
register_globals: Off (False)
output_buffering: 4096
disable_functions: show_source, system, shell_exec, passthru, exec, popen,
proc_open
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 32M
upload_max_filesize: 16M
session_save_path: /tmp (0700)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On

Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 30
php_opcache: On (True)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux 3.10.0-714.10.2.lve1.4.61.el7.x86_64 On x86_64
Server Db Type: MySQL (mysqli)
Server Db Version: 5.6.37
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

Permission Information:
tmp: /home/mansweb/public_html/tmp (0755)
tmp_cache: /home/mansweb/public_html/tmp/cache (0755)
templates_c: /home/mansweb/public_html/tmp/templates_c (0755)
modules: /home/mansweb/public_html/modules (0755)
uploads: /home/mansweb/public_html/uploads (0775)
File Creation Mask (umask): /home/mansweb/public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------




History

Comments
avatar
Date: 2017-10-23 07:14
Posted By: Andrew Prior (andrew@thepriors.net)

Calguy, the following may be germane to this (from the error log)

[23-Oct-2017 21:39:34 Australia/Adelaide] PHP Notice:  Undefined index: extra in
/home/mansweb/public_html/modules/CGFeedback/lib/class.comment.php on line 18
[23-Oct-2017 21:39:34 Australia/Adelaide] PHP Notice:  Undefined index: extra in
/home/mansweb/public_html/modules/CGFeedback/lib/class.comment.php on line 18
[23-Oct-2017 21:39:34 Australia/Adelaide] PHP Notice:  Undefined index: extra in
/home/mansweb/public_html/modules/CGFeedback/lib/class.comment.php on line 18
[23-Oct-2017 21:39:34 Australia/Adelaide] PHP Notice:  Undefined index: extra in
/home/mansweb/public_html/modules/CGFeedback/lib/class.comment.php on line 18
[23-Oct-2017 21:39:35 Australia/Adelaide] PHP Notice:  Undefined index: text in
/home/mansweb/public_html/lib/plugins/function.anchor.php on line 41

These are multiplying rapidly. The anchor.php error seems to have been there for
a long time, but the CGFeedback stuff is new. Andrew
      
avatar
Date: 2017-10-24 20:08
Posted By: Robert Campbell (calguy1000)

I fixed a minor notice issue in the comment class.
and a field name error in the admin_editcomment template.
thanks
      
Updates

Updated: 2017-10-24 20:08
resolution_id: 5 => 7

Updated: 2017-10-23 06:15
description: Calguy, I'm adding this here on Rolf Tjassens's advice. The key detail follows: ME: DETAIL 2: In preparing to update to 2.2.3.1, I updated CGFeedback, which I think also meant upgrading CGExtensions. I found later that CGFeeback posts from readers cou => Calguy, I'm adding this here on Rolf Tjassens's advice. The key detail follows: ME: DETAIL 2: In preparing to update to 2.2.3.1, I updated CGFeedback, which I think also meant upgrading CGExtensions. I found later that CGFeeback posts from readers cou
resolution_id: => 5