I tried to save my new connection and I received a error message. Now everytime I try to access the admin pannel of ChronoConnectivity I receive this error message:
Fatal error: Cannot redeclare class Tablechronoforms_3 in [*folders*]/ administrator/ components/ com_chronoconnectivity/ admin.chronoconnectivity.php(28) : eval()'d code on line 31
(added a space before each folder name to make everything viseable)
I reinstalled the component and tried to create the second connection again. I received the same error.
The first time, I also received an error from the fronted link (gess it was the same error)
This time, I do have access to my conncetion from the frontend link.
Between the two attempts, I have installed the patch ie7 tab fix provided by admin at http://www.chronoengine.com/forums/index.php?option=com_chronoforums&cont=posts&f=12&t=10779&st=0&sk=t&sd=a&start=15
Thanks!!
you will need this patch and any saved connections opened and re saved in the admin area!
let m know!
Max
I reinstalled the component and uploaded the patch before making my conections again.
Excelent and fast suport!
THANK YOU!
Fatal error: Cannot redeclare class tablechronoforms_registration2 in /home/radiopae/public_html/TumourPredict/administrator/components/com_chronoconnectivity/admin.chronoconnectivity.php(28) : eval()'d code on line 17
where / how do I upload / install the patch?
will my existing connections be preserved?
thanks in advance
BB
The patch is at my post above here, just extract it and replace the files at your server with those in the package, same files names only of course! then open all your connections at the backend and save them again to initialize the classes!
Regards
Max
so I copied
admin.chronoconnectivity.html.php
admin.chronoconnectivity.php
and renamed them
chronoconnectivity.html.php
chronoconnectivity.html.php
to replace the existing files... I cannot however get to my connectivty admin screen... it still gives me a fatal error... is that how is should be
open[ing] all your connections at the backend and save them again to initialize the classes!
Sorry for all the hand holding required.
cheers, BB
Don't rename anything, copy them over your ones at administrator/components/com_chronoconnectivity/
now you need to restore the other files you overwrite...
what happens ?
fortunately I had renamed the original files.. so no harm done...
Have replaced original admin.chronoconnectivity.html.php and admin.chronoconnectivity.php with the ones from the zip, but still no good, am still getting
Fatal error: Cannot redeclare class tablechronoforms_part_a in /public_html/[...]/administrator/components/com_chronoconnectivity/admin.chronoconnectivity.php(28) : eval()'d code on line 42
thanks for your ongoing help...
BB
after this you will be able to open the connections page to open and re save the connections and initialize the code!
Regards
Max
I have opened phpmyadmin and have found the jos_connectivity table.. no dbclass field... is that the same as ClassCode???
These are the only fields I can see...
[list]
int(11)
name
tablenames
SQL
head
body
footer
edit_template
paramsall
Config
ClassCode
published
[/list]
The code in one of those ClassCode fields is (for example)
<?php
class Tablechronoforms_Part_A extends JTable {
var $cf_id = null;
var $uid = null;
var $recordtime = null;
var $ipaddress = null;
var $user_id = null;
var $user_name = null;
var $from_01 = null;
var $to_01 = null;
var $from_02 = null;
var $to_02 = null;
var $from_03 = null;
var $to_03 = null;
var $from_04 = null;
var $to_04 = null;
var $from_05 = null;
var $to_05 = null;
var $from_06 = null;
var $to_06 = null;
var $from_07 = null;
var $to_07 = null;
var $from_08 = null;
var $to_08 = null;
var $from_09 = null;
var $to_09 = null;
var $from_10 = null;
var $to_10 = null;
var $from_11 = null;
var $to_11 = null;
var $from_12 = null;
var $to_12 = null;
var $from_13 = null;
var $to_13 = null;
var $from_14 = null;
var $to_14 = null;
var $from_15 = null;
var $to_15 = null;
function __construct( &$database ) {
parent::__construct( 'jos_chronoforms_Part_A', 'cf_id', $database );
}
}
?>
Is this what I should delete??
Cheers, BB
Regards
Max
I guess they are gone huh?
Lucky I have scraps of them as text files.. shouldn't take me long.
Out of interest why isn't the patch part of the standard download package for connectivity?
Anyhow, thanks for your on going help..
BB
actually you should not lose anything if you deleted the classcode data only, when you view the table again, there are some records there, correct ?
the patch is not part of the download because the download file is updated only on official release, I have mentioned here somewhere that there are many features added to Connectivity and all fixes made and its about 80% of the new release which will be more powerful and more stable to be released very soon!
Regards
Max