Thanks for your reply...
In the table Cubecart_config, the actual config entry goes completely blank whenever this happens and all the settings are reset. I can restore the entry and things work again for a little while, but any changes to the site and the config blanks out again....