Forum Moderators: mack

Message Too Old, No Replies

Dansie shoppong cart/changing vars.dat HELP

need to change var.dat file..don't know how

         

FranknDiane

2:17 pm on Oct 25, 2005 (gmt 0)

10+ Year Member



I am really new to web site building. And teaching myself as I go along. I had Dansie Shopping cart installed and need to change some things in the vars.dat file. I cannot figure out the "uploading and downloading" Thing. I need someone to give me step by step instructions on how to do this(walk me through it for the first time) I e-mailed support at Dansie and he keeps telling me to go to the readme..it doesn't help when I have no clue what I am reading! I need to get in there and change the shipping rates ASAP. My site is <snip>. PLEASE can anyone help me? Thanks

[edited by: engine at 3:21 pm (utc) on Oct. 25, 2005]

bunltd

7:20 pm on Oct 25, 2005 (gmt 0)

10+ Year Member



FranknDiane, welcome to WebmasterWorld.

You don't mention how you upload or publish changes to your website - maybe FrontPage?

Uploading/Downloading: you'll need an ftp program to accomplish this. FTP stands for file transfer protocol. An FTP program let's you easily work with, or transfer files between your local computer and your web server account. Upload means you send a file from your local computer to your web server. Download is the reverse. See ftp programs [google.com] You'll set up your ftp program with the account information to your hosting account by telling it 3 basic items: hostname, user name, password.

To edit the vars.dat file from Dansie, you'll use your ftp program to login to your web server. Usually you'll see your local computer files on one side of the ftp program's window and the remote (web server) files on the other side.

In the remote (web server window) navigate to the directory (folder) where that file resides on the web server. The vars.dat file should be in the same folder as cart.pl. Also navigate to the folder where you want the file to be located on your local computer. Then you'll download it to your local computer, use ASCII (text) mode.

Before you edit vars.dat, make a backup copy of the vars.dat file, this way if you make a mistake you can upload the original and try again.

So now you have a copy of vars.dat as well as a backup of vars.dat.bak on your local computer and one vars.dat on the web server. You'll edit the one on your local computer, then upload the changes back to the web server.

Edit vars.dat in a text editor (not Word, but Notepad or similar), make your changes and save. Make sure it's saved as plain text.

Now you'll upload your updated vars.dat file from your local computer to the web server which will replace or overwrite the one on the server. Check your shopping cart pages, you should see your changes now.

Most ftp programs work similar to this, so this should get you going. Hope that helps!

LisaB

FranknDiane

8:25 pm on Oct 25, 2005 (gmt 0)

10+ Year Member



Thank you so much..we're going to give that a try. I do have Yahoo site builder to publish my site. It was pretty easy to learn starting from there, but of course it has taken off in all directions! I seem to hit one road block after another. So far we've been able to get through each one! This really has me stumped. Thank you for replying. I will let you know how we do!...Diane

FranknDiane

8:53 pm on Oct 25, 2005 (gmt 0)

10+ Year Member



I am trying to log into Smart-ftp, and it won't let me log in. It connects to my site, then it says'Cannot log in'..retry in 30 secs. Oh boy, what am I doing wrong here? Thanks.Diane