on submission of cgfeedback form. Despite the error (on white screen) - the submission is successful.Fatal error: Undefined class constant 'EVENT_COMMENTEDITED' in /var/www/cmsms/modules/CGFeedback/action.default.php on line 259
previously, on form-submission a thank you message was displayed inline (same page). while i read the release notes about smarty scope i don't understand how/if it applies here.
the successful submission template:
is probably still the default. i replaced that template with a plain 'Thank you', but same error.{* comment successful template *}
<p>Thank you {$author_name} <em>({$author_ip}</em>) for your comment entitled "{$title}". {if $author_notify}You will be notified of any further replies to this thread.{/if}</p>
Any idea how to debug this? Thanks.
Edit: Commenting out line 259 of CGFeedback/action.default.php does the trick.
----------------------------------------------
Cms Version: 1.12
Installed Modules:
CMSMailer: 5.2.2
FileManager: 1.4.5
MenuManager: 1.8.6
News: 2.15.1
CGSmartImage: 1.20.1
Search: 1.7.12
TinyMCE: 2.9.12
CGSimpleSmarty: 1.9.1
CGExtensions: 1.48.5
CGBlog: 1.12.10
CGFeedback: 1.7
Captcha: 0.5.2
FormBuilder: 0.8.1.1
JQueryTools: 1.3.5.2
GBFilePicker: 1.3.3
Config Information:
php_memory_limit:
process_whole_template:
max_upload_size: 2000000
url_rewriting: mod_rewrite
page_extension: .html
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true
Php Information:
phpversion: 5.4.39-1~dotdeb.1
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 256M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 12M
upload_max_filesize: 2M
session_save_path: /var/lib/php5 (1733)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.6.19
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Server Time Diff: No filesystem time difference found
----------------------------------------------

