Warning: Can not find config file, please specify the $pear_user_config variable in /index.php

Error: the template directory (/usr/local/lib/php/data/PEAR_Frontend_Web/data/templates) is not a directory, or not readable. Make sure the 'data_dir' of your config file (/usr/local/lib/php/data) points to the correct location !