Forums

[SOLVED]CC redundant code needs snipping

GreyHead 13 Jun, 2009
There are a few lines in administrator/components/admin.chronoconnectivity.php from 282-287 that do nothing useful but call a value that no longer eixists.

Fix is to delete these lines:
       /*if(!trim($row->OnSaveJSCode)){
          $row->OnSaveJSCode = 'if(0){
          } else {
          submitform( pressbutton );
          }';
       }*/


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' )



See this post

Bob
Max_admin 21 Jun, 2009
Thanks Bob, this one is fixed!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.