Forum Moderators: buckworks

Message Too Old, No Replies

problems with php shopping cart

         

seanoneill

1:43 am on Nov 20, 2003 (gmt 0)

10+ Year Member



I am trying to add a shopping cart to my site. I am familiar with asp javascript but i am using php for the shopping cart. It is a premaid shopping cart and it said that all you needed to do was create a directory and then for each item that you wanted to add to the cart you just put a link to the cart with the quantity, description etc. I did everything like it said but my problem now is that the cart doesn't show up correctly. Here is a link to the index for the shopping cart. If you try to click any link on the page you can see what happens. <snip> Also here is a link to were i purchased the cart from <snip> If anybody has any ideas it would be greatly appreciated

[edited by: Brett_Tabke at 4:38 pm (utc) on Mar. 13, 2004]
[edit reason] no urls please per the tos [/edit]

tomsee

2:56 am on Nov 20, 2003 (gmt 0)

10+ Year Member



Hi seanoneill,

"Error: The domain $referer is not an authorized referrer.
If you are the webmaster, please check your configuration."

You need to configure your "configuration.php" file. Since this is a PHP shopping cart, it looks like you're missing your domain name which is the referral ID that is probably assigned to you by Cartman.

Finally, check to make sure the config file is CHMOD to 666 or 777 depending on the requirements of the installation.

Good luck!

seanoneill

5:08 am on Nov 20, 2003 (gmt 0)

10+ Year Member



thanks tomsee,

I fixed the config file. Now it doesn't come up with the "Error: The domain $referer is not an authorized referrer.
If you are the webmaster, please check your configuration."

My next problem is that it still brings up the code. I think i have the config. The link to it is [oneillbrothersracing.com...] I still have no idea why it doesn't display the shopping cart correctly?