FPHPSC TroubleShooting

From FreeBert Wiki

Jump to: navigation, search

[edit] Trouble Shooting The freebert Free PHP Shopping Cart

If you are having a problem not already mentioned in any of the other articles for the freebert.com Free PHP Shopping Cart, post your message below, and together we can sort out any / all problems.


Problem Posted: Jan 2008
Hi we need some help on your php free shopping cart, we did everything in your readme ,we get the following erro message :

Warning: Missing argument 1 for getcarttotals() in /.../html/FPHPSC/inc/functions/Cart_Functions.php on line 485

Quick Fix: In MakePayment.php change line 33:
From:
$Cart_Totals=GetCartTotals();
To:
$Cart_Totals=GetCartTotals($Session_Prefix);

As you can see, the problem lay with the Session_Prefix parameter (set in Local_Settings.php) not being passed as is required by the GetCartTotals(); function. This bug has been fixed within the current download package.



Personal tools
Toolbox