I'm FUBARing my site every time I try to get this config.php file to accept this code. I've had comments from test users that returning to the cart/home page is frustrating, and frustrating = no sales.
I've done some searching and discovered that $HTTP_GET_VARS has been deprecated for $_GET...so I've replaced that in the following code:
Code:
<?php
x_session_register("last_cat");
x_session_register("last_productid");
if($_GET["cat"] != "")
{
$last_cat = $cat];
}
if($_GET["productid"] != "")
{
$last_productid = $productid;
}
$smarty->assign("last_productid", $last_productid);
$smarty->assign("last_cat", $last_cat);
?>
And it still gives me the blank page of death.
Is there some kind of compiling going on or am I placing this in the wrong section of config.php? Help, please!
ps - replying to myself is sad. really sad.