FAQ Item

« Return to FAQ database

Simple PHP Shopping Cart double slash issue

Please try looking in the file "cart.php" for this line of code:

define("_SIMPLESHOP_URL",$current_directory.'/cart.php');

Please change this line of code to this:

define("_SIMPLESHOP_URL",str_replace('//','/',$current_directory.'/cart.php'));