Page 1 of 1
FormBuilder no longer works
Posted: Mon Jun 07, 2010 3:45 pm
by tmar89
I've been keeping up to date with CMS builds and modules, and last year this time, FormBuilder worked with no problem. I went to try it again now, and the submit button returns me to the same page and does not work. It doesn't check CAPTCHA or do any form submission. It's almost like POST is broken. I get no errors anywhere, no PHP or FormBuilder errors and nothing in my error_log file. Can anyone help me out with this?
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 4:46 pm
by calguy1000
Mr. Mechanic... my car doesn't work.
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 5:01 pm
by NaN
Is everything still in that version like it was installed one year ago?
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 5:15 pm
by tmar89
I know.. I know.. Ambigious post. But the only changes have been the CMS version and the FormBuilder version. I'm on CMS 1.6.7 and FormBuilder 0.6.2. Its hard to debug with no errors whatsoever.
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 5:20 pm
by NaN
Is error_reporting on? (see .htacces file or php.ini or however server settings are done at your webspace)
Did you try to set $config['debug'] = true; in config.php?
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 5:51 pm
by tmar89
Turned $config['debug'] to true and got this on the sample_form:
Code: Select all
Notice: Undefined index: captcha_error in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 37
Help Improve Form Builder
Thanks for trying out FormBuilder. You can use this form to provide me with feedback about how you will be using Form Builder, so I can best allocate resources for future development. Thanks, ___Samuel___
Modules you'll be using together
FormBuilder
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
FormBrowser
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Front End Users
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Newsletter Made Simple (NMS)
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Cataloger
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Other(s)
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
What will you personally be doing on your CMS MS site?
Graphical Design
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
HTML and CSS
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Write / Maintain Content
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Edit Smarty Templates
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Write Modules
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Write Core CMS code
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Donate to Core/Module Developes
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 6:37 pm
by tmar89
Ok, just upgraded PHP to 5.2.13 from 5.2.4, CMS to 1.7.1 and still the same problems. And now I have this at the top of all pages:
Notice: Undefined index: secure in /var/www/html/lib/classes/class.content.inc.php on line 956
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 6:54 pm
by tmar89
Also, CMSMailer works just fine.
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 8:10 pm
by NaN
tmar89 wrote:
Ok, just upgraded PHP to 5.2.13 from 5.2.4, CMS to 1.7.1 and still the same problems. And now I have this at the top of all pages:
Notice: Undefined index: secure in /var/www/html/lib/classes/class.content.inc.php on line 956
It is just a notice. Nothing critical.
The Property "secure" came with CMSms 1.7.1 and is just for https.
Since your pages has been created with a lower version of CMSms they don't have the property "secure" yet.
And just because the latest php code assumes that this property exists it doesn't check for it but just access it.
This is why there are this notices.
So i bet if you would just edit and save any page (without doing any changes) the notice will disapear.
But i would suggest you to turn the error_reporting off completely in a productive live environment.
(only turn it on for debugging purposes or when in development)
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 8:37 pm
by tmar89
But I am still stuck with the major errors with FormBuilder not working.
Notice: Undefined property: stdClass::$op in /var/www/html/tmp/templates_c/FormBuilder^%%61^619^61957C04%%module_db_tpl%3AFormBuilder%3Bfb_1.php on line 77
FormBrowser
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 9:25 pm
by NaN
Did you clear the cache after update?
Re: FormBuilder no longer works
Posted: Mon Jun 07, 2010 11:48 pm
by tmar89
NaN wrote:
Did you clear the cache after update?
Yes
Re: FormBuilder no longer works
Posted: Wed Jun 09, 2010 2:16 pm
by tmar89
NaN wrote:
tmar89 wrote:
Ok, just upgraded PHP to 5.2.13 from 5.2.4, CMS to 1.7.1 and still the same problems. And now I have this at the top of all pages:
Notice: Undefined index: secure in /var/www/html/lib/classes/class.content.inc.php on line 956
It is just a notice. Nothing critical.
The Property "secure" came with CMSms 1.7.1 and is just for https.
Since your pages has been created with a lower version of CMSms they don't have the property "secure" yet.
And just because the latest php code assumes that this property exists it doesn't check for it but just access it.
This is why there are this notices.
So i bet if you would just edit and save any page (without doing any changes) the notice will disapear.
But i would suggest you to turn the error_reporting off completely in a productive live environment.
(only turn it on for debugging purposes or when in development)
This doesn't fix the 'secure' variable issue. I really need a fix for this too because this also breaks tinyMCE
Re: FormBuilder no longer works
Posted: Wed Jun 09, 2010 2:50 pm
by jack4ya
He just added RewriteCond %{REQUEST_METHOD} !POST$ to the .htaccess... et voila!
Re: FormBuilder no longer works
Posted: Wed Jun 09, 2010 2:51 pm
by tmar89