Check if the following configuration file (stores admin data like, country, kwh cost, imperial/metric etc.) is not empty:
Linux:
/var/www/Caldera/html/costview3/conf/conf.xml
Mac OS:
/Library/Webserver/Caldera/costview3/conf/conf.xml
If the file is indeed empty, then rename conf.xml to conf.old and copy conf.xml.default to conf.xml.
So in more detail, as root in terminal:
Linux:
sudo -s
(to get root)
cd /var/www/Caldera/html/costview3/conf/
(change the directory to the location of the conf.xml file, assuming Linux)
mv conf.xml conf.old
(to rename conf.xml to conf.old)
cp conf.xml.default conf.xml
(copy conf.xml.default to conf.xml)
chmod -Rf 777 conf.xml
(To change the permissions to conf.xml)
After this change and accessing CostView, (re)enter the admin configuration data and the existing database should still be intact.
MacOS:
sudo -s
(to get root)
cd /Library/Webserver/Caldera/costview3/conf/
(change the directory to the location of the conf.xml file, assuming Mac OS)
mv conf.xml conf.old
(to rename conf.xml to conf.old)
cp conf.xml.default conf.xml
(copy conf.xml.default to conf.xml)
chmod -Rf 777 conf.xml
(To change the permissions to conf.xml)
After this change and accessing CostView, (re)enter the admin configuration data and the existing database should still be intact.