Forums

Cannot create connection

tyriekfv 08 Jun, 2009
This is a fresh install as ive just within the last couple of days started using joomla. here is my issues

TableChronoConnectivity::store failed - Unknown column 'OnSaveJSCode' in 'field list' SQL=INSERT INTO jos_chronoconnectivity ( `id`,`name`,`tablenames`,`SQL`,`head`,`body`,`footer`,`OnSaveJSCode`,`paramsall`,`Config` ) VALUES ( '0','Users','jos_users','','','','','if(0){ \r\n } else {\r\n submitform( pressbutton );\r\n }','ordersql=\nfrontfilters=\nposted=\ngeted=\nheading=\nenmambots=No\nlistlimit=25\ndeletelink=Delete Record\neditlink=Edit Record\nnewlink=New Record\nfront_edit_form=\neditform=\nprimarykey=id\nauthedit_groups=\nauthdelete_groups=\nauthnew_groups=\nauthedit_users=\nauthdelete_users=\nauthnew_users=','dataviewtitles=Name, Username, Email\ndataview=name,username,email' )

I cant make any since of that, but looking at the last to posts below mine it seems it has something to do with "onSave"JSCode. The other two posts where commented out so they did not help me. One thing of note. I didnt not know at first that i needed chronoforms as well, but that has since been installed and I am still getting the same error. Thanks much.
GreyHead 08 Jun, 2009
Hi tyriekfv,

I removed the other comments because Max pointed out that the column was no longer used and so re-adding it to the table wasn't the correct fix.

I've now found the source of this error. Please open administrator/components/admin.chronoconnectivity.php and add the /* */ comments around these lines from 282-287
	/*if(!trim($row->OnSaveJSCode)){
		$row->OnSaveJSCode = 'if(0){
		} else {
		submitform( pressbutton );
		}';
	}*/
Doubtless Max will fix this in the next release.

Bob
tyriekfv 08 Jun, 2009
yup that was it thanks much!
This topic is locked and no more replies can be posted.