Cannot create new form

BradC 01 Sep, 2008
Have successfully installed V3.0_BETA_2 no errors, but when I try to create a new form I get this error when I click save.

PHP Notice: Undefined property: stdClass::$tablenames in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 129

Then if I try to access the Forms Management page I get the same error.

Happens in both IE7 and Firefox
Max_admin 01 Sep, 2008
This is not harmful, just a PHP notice, anything else doesn't work ? if you dont like it then set "error reporting" to none in the Joomla global config and this will hide it! its because you are on a development machine!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
BradC 01 Sep, 2008
Hi Max

Made your suggested change, but still get the same error.
The only way I can get back into the Forms Management section is to uninstall ChronoForms then reinstall.
Max_admin 01 Sep, 2008
Hi,, try not to add anything in the HTML box, still get the same error ? ok, try to select some tables from the DB connection tab, still get the same error ?

let me know!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
BradC 01 Sep, 2008
Hi Max

Tried making a blank form but still got the same error.

Where is the DB connection tab?
BradC 01 Sep, 2008
Just tried to restore your test_form.cfbak but get this error

Restoring the whole form failed Failed, error : Unknown column 'extraemail' in 'field list' SQL=INSERT INTO jos_chrono_contact (id,name,html,scriptcode,redirecturl,emailresults,extraemail,emailsubject,onsubmitcode,onsubmitcodeb4,attformtag,submiturl,emailtemplate,paramsall,titlesall,autogenerated,published) VALUES ('','test_form','Name:
E-mail:
','','','2','admin@example.com','ChronoForms test','','','','','','ccemail= bccemail= formmethod=post omittedfields= recip=Yes from_email=admin@example.com from_name=Admin replyto_email=admin@example.com replyto_name=Admin email_type=1 debug=1 mysql_type=1 enmambots=No emailfield= subjectfield= ccfield= bccfield= fromemailfield= fromnamefield= uploads=No uploadfields= uploadmax= uploadmin= dvfields= imagever=No validate=No val_required= val_validate_number= val_validate_digits= val_validate_alpha= val_validate_alphanum= val_validate_date= val_validate_email= val_validate_url= val_validate_date_au= val_validate_currency_dollar= val_validate_selection= val_validate_one_required=','','','0')
BradC 01 Sep, 2008
Just noticed something else. If I click the green New button on the Forms Manager page I get this:

PHP Notice: Undefined property: stdClass::$submissions_limit in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1245
PHP Notice: Undefined property: stdClass::$tablenames in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1599
PHP Notice: Undefined property: stdClass::$dbconnection in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1609
PHP Notice: Undefined property: stdClass::$dbconnection in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1610
PHP Notice: Undefined property: stdClass::$savedataorder in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1639
PHP Notice: Undefined property: stdClass::$savedataorder in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1640
PHP Notice: Undefined property: stdClass::$handlepostedarrays in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1672
PHP Notice: Undefined property: stdClass::$handlepostedarrays in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1673
PHP Notice: Undefined property: stdClass::$imgver_error_msg in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1817
PHP Notice: Undefined property: stdClass::$servervalidate in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1990
PHP Notice: Undefined property: stdClass::$servervalidate in E:\wedsite\administrator\components\com_chronocontact\admin.chronocontact.html.php on line 1991
Max_admin 02 Sep, 2008
Hi Brad,

you can't restore backups for V2 on V3, it will make that long error, regarding the main error, when you get it, can you see anything else on the page ? for example, when you click new and you see this list of errors, can't you see the normal Chronoforms tabs ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
BradC 02 Sep, 2008
Hi Max

It's just the error, nothing else.
Max_admin 02 Sep, 2008
Hi Brad,

very strange, those are PHP notices and should NOT halt the page, try to disable error reporting at the joomla global config ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
BradC 02 Sep, 2008
Hi Max

Have tried that, makes no difference.

I'll load the website to a test space on my host provider and see if I get the same errors. It could be just be my development machine. It is 64bit running PHP64

PHP Built on: Windows NT BRADVISTA64 6.0 build 6001
Database Version: 5.0.51b-community-nt
Database Collation: utf8_general_ci
PHP Version: 5.2.5 (x64)
Web Server: Microsoft-IIS/7.0
Web Server to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.5.6 Production/Stable [ Vusani ] 12-August-2008 22:00 GMT
User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Max_admin 02 Sep, 2008
Hi Brad,

I don't think you will have the problem somewhere else, its because of your webserver config regarding error reporting, keep me updated with any errors, this helps us improving Chronoforms!

Regards,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
BradC 03 Sep, 2008
Hi Max

Yep, you are right - it's my local server setup. So far have had no issues on the host's server.
Thanks for all your help.

Regards
Brad
Max_admin 03 Sep, 2008
Thanks for letting me know Brad!

regards,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
BradC 04 Sep, 2008
Found the cause of the errors on my local server. By default error_reporting is enabled in php.ini, added a ; to the beginning of that line fixed the issue.
This topic is locked and no more replies can be posted.