Upgraded from 4.0.6 to 4.1.2 today, and ran into major trouble, this was just on my XP box at home, and not on my live Apache Server hosted with Rackspace,
It use to pull up but now it just gives me a blank screen, I have only been using PHP for a short while, it is pulling other PHP pages just not mine that I have created -- Just created on site.
Here is the code in my APPLICATION.PHP which is attached to all pages that are pulled up!
<?
/ turn on verbose error reporting (15) to see all warnings and errors /
error_reporting(15);
/ define a generic object /
class object {};
/ setup the configuration object /
$CFG = new object;
$CFG->dbhost = "1.1.1.1";
$CFG->dbname = "dbname";
$CFG->dbuser = "dbuse";
$CFG->dbpass = "dbpassword";
$CFG->wwwroot = "/p-traders/mymarket";
$CFG->dirroot = "/inetpub/webpages/p-traders/mymarket";
$CFG->templatedir = "$CFG->dirroot/templates";
$CFG->libdir = "$CFG->dirroot/lib";
$CFG->imagedir = "$CFG->wwwroot/images";
$CFG->wordlist = "$CFG->libdir/wordlist.txt";
$CFG->support = "support@p-traders.com";
/ define database error handling behavior, since we are in development stages
we will turn on all the debugging messages to help us troubleshoot */
$DB_DEBUG = true;
$DB_DIE_ON_FAIL = true;
/ load up standard libraries /
require("$CFG->libdir/stdlib.php");
require("$CFG->libdir/dblib.php");
require("$CFG->libdir/mymarket.php");
require("$CFG->libdir/cart.php");
/ setup some global variables /
$ME = qualified_me();
/ start up the sessions, to keep things clean and manageable we will just
use one array called SESSION to store our persistent variables. */
session_start();
session_register("SESSION");
/ initialize the SESSION variable if necessary /
if (! isset($SESSION)) {
$SESSION = array();
}
/ initialize the CART objct if necessary /
if (! isset($SESSION["cart"])) {
$SESSION["cart"] = new Cart;
$SESSION["fastzip"] = "98611";
}
/ connect to the database /
db_connect($CFG->dbhost, $CFG->dbname, $CFG->dbuser, $CFG->dbpass);
?>
PLEASE HELP!