Database not populating
Hi Chris,
Funny I did go through the upload process. I have attached all the base caart files now.
To address what you have said, the order system has been shut down several times and started up and is still overwriting. I went as far this time as to shut down my computer, reboot and place a new order. It simply over wrote what was there.
A little while back however using the forum i was having an issue that the cart was killing not only the store's session but also the login session as well. So somewhere with teh help of one of your programmers I was able to build some kill session and restore session code in the checkout success page.
<?php
// Initialize the session.
// If you are using session_name("something"), don't forget it now!
@session_start();
//store the user session
$MM_Username = $_SESSION['MM_Username'];
$pass_word = $_SESSION['pass_word'];
$user_name = $_SESSION['user_name'];
// Unset all of the session variables.
$_SESSION = array();
// If it's desired to kill the session, also delete the session cookie.
// Note: This will destroy the session, and not just the session data!
if (ini_get("session.use_cookies")) {
$params = session_get_cookie_params();
@setcookie(session_name(), '', time() - 42000,
$params["path"], $params["domain"],
$params["secure"], $params["httponly"]
);
}
// Finally, destroy the session.
session_destroy();
unset($_SESSION);
session_start();
session_regenerate_id();
//reset user session
$_SESSION['MM_Username'] = $MM_Username;
$_SESSION['pass_word'] = $pass_word;
$_SESSION['user_name'] = $user_name;
?>
But I am sure this wouldn't the issue. I have also uploaded the structure of the mysql database if that helps look at that end.