CMS MADE SIMPLE FORGE

CGBetterForms

 

[#11964] PHP Parse error

avatar
Created By: (JamesT)
Date Submitted: Mon Feb 04 05:58:20 -0500 2019

Assigned To:
Version: 1.9.1
CMSMS Version: 2.2.9.1
Severity: Major
Resolution: Fixed
State: Closed
Summary:
PHP Parse error
Detailed Description:
When attempting to edit a form in the admin area, 500 internal error:

[04-Feb-2019 10:52:14 Europe/London] PHP Parse error:  syntax error, unexpected
'echo' (T_ECHO) in
/var/sites/m/m.co.uk/public_html/modules/CGBetterForms/action.admin_edit_form.php
on line 247


History

Comments
avatar
Date: 2019-02-18 02:52
Posted By: Lex (Lex70000)

On line 247 :   $form_guid = $this->store_form( $form );de  
^^
Think the "de" is a typo.

I removed it, and the examples are working fine
      
avatar
Date: 2019-03-01 19:39
Posted By: Magal (magallo)

Typo is still there, line 246:

$form_guid = $this->store_form( $form );de
echo $this->ShowMessage($this->Lang('msg_formsaved'));

      
avatar
Date: 2019-04-17 16:35
Posted By: Robert Campbell (calguy1000)

duplicate
      
Updates

Updated: 2019-04-17 16:35
resolution_id: => 7
state: Open => Closed