Hello and pre-thanks for anyone's interest.
The site I have been tasked to fix is a MySQL, Smarty, PHP site. I have a connection problem. When you call the site up, www.mysite.com
You get printed on the browser output,
My index.php is:
My configuration file is placed at includes/ru_config.php and reads:
My ru_connection.php file is located at includes/ru_connection.php and reads:
require_once(dirname(__FILE__) . '/ru_4pear.php');
$dsn = 'mysql://' . BASE_USER . ': ' . BASE_PASS . '@' . BASE_SERVER . '/' . BASE_NAME;
//$db = DB::connect($dsn, true);
$db = DB::connect($dsn);
My ru_4pair.php is located at includes/ru_4pear.php and is below:
ini_set("include_path", ini_get("include_path") . ":/home/xxxxxx/public_html/libs/pear/");
DB.php is located at libs/pear/DB.php
The reason we have DB.php is that previous to its installation, we could not transfer site coding from one site to the other. I don't believe it is the cause of the error, but if you need to see it, or the entirety of any of the other files, let me know.