CMS MADE SIMPLE FORGE

Form Browser

 

[#5320] Cannot Edit

avatar
Created By: Chris Johnson (clj83)
Date Submitted: Thu Aug 19 13:28:13 -0400 2010

Assigned To: Tapio Löytty (Stikki)
Version: 0.3.1
CMSMS Version: None
Severity: Critical
Resolution: Won't Fix
State: Open
Summary:
Cannot Edit
Detailed Description:
I have reinstalled form builder and form browser a number of times but to no
affect. I can delete forms but get an error message (string(77) "Smarty error:
unable to read resource: "module_db_tpl:FormBrowser;fbr_list_4"") and I can load
the edit form display and the fields are loaded with the correct data but when I
edit this data and hit save the changes do not take effect.

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

Cms Version: 1.8.1

Installed Modules:

    * CMSMailer: 2.0
    * FileManager: 1.0.2
    * MenuManager: 1.6.5
    * ModuleManager: 1.4
    * nuSOAP: 1.0.1
    * Printing: 1.1.0
    * Search: 1.6.5
    * ThemeManager: 1.1.1
    * TinyMCE: 2.7.2
    * CGExtensions: 1.19.2
    * CGSimpleSmarty: 1.4.5
    * FrontEndUsers: 1.10
    * CustomContent: 1.5.3
    * JQueryTools: 1.0.6
    * FormBuilder: 0.6.3
    * CGGoogleMaps: 1.4.1
    * FormBrowser: 0.3.1
    * FileBackup: 0.5
    * MysqlDump: 1.2.4


Config Information:

    * php_memory_limit:
    * process_whole_template: false
    * output_compression: false
    * max_upload_size: 2000000
    * default_upload_permission: 664
    * url_rewriting: none
    * page_extension:
    * 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.2.9
    * md5_function: On (True)
    * gd_version: 2
    * tempnam_function: On (True)
    * magic_quotes_runtime: Off (False)
    * E_STRICT: 0
    * memory_limit: 32M
    * max_execution_time: 30
    * output_buffering: On
    * safe_mode: Off (False)
    * file_uploads: On (True)
    * post_max_size: 8M
    * upload_max_filesize: 2M
    * session_save_path: /tmp (1777)
    * session_use_cookies: On (True)
    * xml_function: On (True)


Server Information:

    * Server Api: cgi
    * Server Db Type: MySQL (mysql)
    * Server Db Version: 5.0.91


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


History

Comments
avatar
Date: 2010-09-30 03:35
Posted By: atz (atz6975)

Hi I'm having the same problem. Chnages made through admin list/edit works but
it doesn't save anything when done from a user perspective.


CMS Install Information:
CMS Version
1.7.1

Installed Modules
MenuManager
1.6.3
TinyMCE
2.7.0
CMSMailer
2.0
FileManager
1.0.2
News
2.10.5
nuSOAP
1.0.1
Printing
1.0.4
Search
1.6.3
ModuleManager
1.3.3
ThemeManager
1.1.1
CGExtensions
1.19.2
CGSimpleSmarty
1.4.5
CGGoogleMaps
1.4.1
FrontEndUsers
1.12
jQuery
0.0.5
FormBuilder
0.6.4
SiteMapMadeSimple
1.2.1
SimplePortal
1.0
SelfRegistration
1.6.1
Captcha
0.4.2
CustomContent
1.7.3
Cron
0.0.1
MysqlDump
1.2.4
Classifieds
1.0
FormBrowser
0.3.2

      
avatar
Date: 2010-10-01 00:33
Posted By: Samuel Goldstein (sjg)

I'm having trouble reproducing this. Maybe if you can tell me where your process
differs, I'll be able to track down the issue. Steps I took:
* Install FormBuilder
* Install FormBrowser
* Modify "Contact" Form to save as FormBrowser record.
* Add Form to a page.
* Create new "Basic" FormBrowser
* Set options for FormBrowser
* Set fields for display using dropdowns, hit save
** Allow users to add records? true
** Allow users to edit records? true
* Add Browser to a page
* Go to Form page, fill out form, hit submit.
* Go to Browser page, click on "Edit" next to form, modify data, hit "submit"
* Verify data change in Form Browser admin.

      
avatar
Date: 2011-10-17 21:32
Posted By: Bill Morad (billandsonia)

Carefully followed procedure outlined by sjg. Works fine on production server,
but same issues as previously described in xampp development environment.

1. Front end create record works through FormBuilder.
2. Front end edit populates fields correctly but Submit button does nothing.
Front end delete does nothing.
3. From admin console, edit creates a new record with edited data. Delete works
fine.

CMS Version	1.9.4.3

Installed Modules
*	CMSMailer  2.0.1
*	FileManager  1.1.0
*	MenuManager  1.7.6
*	ModuleManager  1.4.2
*	News  2.11.4
*	nuSOAP  1.0.2
*	Printing  1.1.2
*	Search  1.6.10
*	ThemeManager  1.1.4
*	TinyMCE  2.8.4
*	CGExtensions  1.27.1
*	JQueryTools  1.0.10
*	FrontEndUsers  1.15.6
*	Captcha  0.4.5
*	CGSimpleSmarty  1.4.8
*	CGGoogleMaps  2.1.4
*	FormBuilder  0.7
*	FormBrowser  0.4
*	SelfRegistration  1.6.12
*	Uploads  1.14.1
*	CustomContent  1.7.3
*	CGCalendar  1.7.4
*	Avplayer  1.3.1

Config Information
*	php_memory_limit:
*	process_whole_template:  false
*	output_compression:  false
*	max_upload_size:  128000000
*	default_upload_permission:  664
*	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
*	debug:  false
*	root_url:  http://localhost/lsbc200
*	ssl_url:  https://localhost/lsbc200
*	root_path:  C:\xampp\htdocs\lsbc200 (0777) Success
*	previews_path:  C:\xampp\htdocs\lsbc200\tmp\cache (0777) Success
*	uploads_path:  C:\xampp\htdocs\lsbc200\uploads (0777) Success
*	uploads_url:  http://localhost/lsbc200/uploads
*	image_uploads_path:  C:\xampp\htdocs\lsbc200\uploads\images (0777) Success
*	image_uploads_url:  http://localhost/lsbc200/uploads/images
*	ssl_uploads_url:  /uploads
*	use_smarty_php_tags:  false

PHP Information:
*	Current PHP Version (phpversion): 5.3.1 Success
*	md5 function (md5_function): On (True) Success
*	GD version (gd_version): 2 Success
*	tempnam function (tempnam_function): On (True) Success
*	Magic quotes in runtime (magic_quotes_runtime): Off (False) Success
*	Is E_STRICT disabled in error_reporting (E_STRICT):Success
*	Is E_DEPRECATED disabled in error_reporting (E_DEPRECATED):Success
*	PHP Effective Memory Limit (memory_limit): 128M Success
*	Maximum Execution Time (max_execution_time): 60 Success
*	PHP output_buffering (output_buffering): On Success
*	PHP Safe Mode (safe_mode): Off (False) Success
*	File uploads (file_uploads): On (True) Success
*	Maximum Post Size (post_max_size): 128M Success
*	Maximum Upload Size (upload_max_filesize): 128M Success
*	Session Save Path (session_save_path): C:\xampp\tmp (0777) Success
*	Sessions are allowed to use Cookies (session_use_cookies): On (True) Success
*	Basic XML (expat) support (xml_function): On (True) Success
*	Checking if the httpd process can create a file inside of a directory it
created (create_dir_and_file):  Success
*	PHP register_globals (register_globals): Off (False) Success
*	disable_functions in PHP (disable_functions):  Success
*	PHP Open Basedir (open_basedir):  Success
*	Test for remote URL (test_remote_url): Success
*	fsockopen: Connection ok! Success
*	fopen: Connection ok! Success
*	Test ini_set (check_ini_set): On (True) Success

Server Information:
*	Server API (server_api): apache2handler
*	Server Database (server_db_type): MySQL (mysql)
*	Server Database Version (server_db_version): 5.1.41 Success
*	Server Software (server_software): Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14
OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 mod_apreq2-20090110/2.7.1
mod_perl/2.0.4 Perl/v5.10.1
*	Server Operating System (server_os): WINNT 5.1 On i586

      
avatar
Date: 2012-11-22 11:04
Posted By: Tom Boltwood (chillifish)

I have the same issue. Cannot edit or add records as a front end user.
      
avatar
Date: 2013-09-30 14:46
Posted By: John Moore (jomoweb)

I have the same issue as well.  As an FEU, I click the edit icon and the record
comes up in the formbuilder template. I edit and save.  The page redirects to
the formbrowser list view, but the edit does not take.  There were no php or
javascript errors to go on.

I did discover a workaround which got my app working, but I am not sure how
solid it is.  I will post it here, but use at your own risk.  Hopefully it will
help you get this function working if you are desperate.  Since the admin form
browser edits did work, I compared the feu and admin forms.  I tried making the
front end form values match up with the admin values. I found by changing the
last value in the "mact" hidden field, the form would post the changes.

Non-working FEU field 
<input type="hidden" name="mact" value="FormBuilder,m0ed9b,default,1">  

Working Admin Field
<input type="hidden" name="mact" value="FormBrowser,m1_,admin_edit_resp,0">

This does work for a new FEU field
<input type="hidden" name="mact" value="FormBuilder,m0ed9b,default,1">  


I did not want to edit the module code since this can easily be manipulated with
jquery.  I just added this line of jquery to update that. Just replace the ID
selector and value with your form browser ID.

$("#m0ed9bmoduleform_1 input[name='mact']").val("FormBuilder,m0ed9b,default,0");

I know this probably isn't ideal, but it is a workaround.

CMSMS 1.11.7
FormBuilder 0.7.4
FormBrowser 0.4.2
FrontEndUsers 1.21.18

----------------------------------------------
Cms Version: [b]1.11.7[/b]
Installed Modules:
CMSMailer: [b]5.2.1[/b]
CMSPrinting: [b]1.0.4[/b]
FileManager: [b]1.4.3[/b]
MenuManager: [b]1.8.5[/b]
MicroTiny: [b]1.2.5[/b]
ModuleManager: [b]1.5.5[/b]
News: [b]2.12.12[/b]
Search: [b]1.7.8[/b]
ThemeManager: [b]1.1.8[/b]
FormBuilder: [b]0.7.4[/b]
FormBrowser: [b]0.4.2[/b]
CGExtensions: [b]1.37.2[/b]
FrontEndUsers: [b]1.21.18[/b]
CustomContent: [b]1.9[/b]
TemplateExternalizer: [b]2.0.11[/b]

Config Information:
php_memory_limit: [b][/b]
process_whole_template: [b][/b]
max_upload_size: [b]2000000[/b]
url_rewriting: [b]none[/b]
page_extension: [b][/b]
query_var: [b]page[/b]
image_manipulation_prog: [b]GD[/b]
auto_alias_content: [b]true[/b]
locale: [b][/b]
default_encoding: [b]utf-8[/b]
admin_encoding: [b]utf-8[/b]
set_names: [b]true[/b]

Php Information:
phpversion: [b]5.3.20[/b]
md5_function: [b]On[/b] (True)
gd_version: [b]2[/b]
tempnam_function: [b]On[/b] (True)
magic_quotes_runtime: [b]Off[/b] (False)
E_STRICT: [b]0[/b]
E_DEPRECATED: [b]8192[/b]
memory_limit: [b]128M[/b]
max_execution_time: [b]30[/b]
output_buffering: [b]On[/b]
safe_mode: [b]Off[/b] (False)
file_uploads: [b]On[/b] (True)
post_max_size: [b]8M[/b]
upload_max_filesize: [b]2M[/b]
session_save_path: [b]No check because OS path[/b]
session_use_cookies: [b]On[/b] (True)
xml_function: [b]On[/b] (True)
xmlreader_class: [b]On[/b] (True)

Server Information:
Server Api: [b]apache2handler[/b]
Server Db Type: [b]MySQL (mysqli)[/b]
Server Db Version: [b]5.1.61[/b]
Server Db Grants: [b]Found a "GRANT ALL" statement that appears to be
suitable[/b]

----------------------------------------------
      
avatar
Date: 2013-09-30 14:52
Posted By: Tapio Löytty (Stikki)

Form Browser won't be maintained any longer. It keeps working as long it does,
We added some functions to support ListItExtended (ListIt2) instead.

There fore, im not going to look into this.
      
Updates

Updated: 2013-09-30 14:52
resolution_id: 5 => 8
cmsms_version_id: => -1
assigned_to_id: 100 => 11306

Updated: 2010-10-01 00:33
resolution_id: => 5