Zen Cart Logo
Forums / Installing on a Windows Server / vista issue?? adding to files

vista issue?? adding to files

Locked

Views: 2,507

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
27 Feb 2008, 2:59 PM
#1
karen avatar

karen

New Zenner

Join Date:
Feb 2008
Location:
London, UK
Posts:
44
Plugin Contributions:
0

vista issue?? adding to files

I am on page 37 of the Zen Cart book, wishing to add a couple of lines to the file windows/system32/drivers/etc/hosts

I am a windows vista user
My problem is that having added 3 lines of code when I try and save the file I get the following alert message;

"Cannot create the C:/Windows/System32/drivers/etc/hosts file. Make sure that the path and file name are correct."

Windows suggests a workaround

1.Click Start Start button , click All Programs, click Accessories, right-click Notepad, and then click Run as administrator.
2.Open the Hosts file or the Lmhosts file, make the necessary changes, and then click Save on the Edit menu.

This does not work for me. Anyone come accross this using Vista??

How essential is adding the 3 lines of code:

127.0.01 https://www.myname.com
127.0.01 mail.myname.com
127.0.01 myname to come

to C:/Windows/System32/drivers/etc/hosts

I ask this as it's in the book (page 37) but not on the online instructions here at this forum?

As usual thanks Zenners.

x:frusty:

27 Feb 2008, 4:12 PM
#2
tinypack avatar

tinypack

New Zenner

Join Date:
Apr 2007
Location:
Spudville
Posts:
60
Plugin Contributions:
0

Re: vista issue?? adding to files

I can't speak to any specific Vista issues, but those lines are necessary if you want to have offline access to your store.

28 Feb 2008, 3:49 AM
#3
tshooters avatar

tshooters

Totally Zenned

Join Date:
Dec 2005
Posts:
1,037
Plugin Contributions:
2

Re: vista issue?? adding to files

Do you have xampp installed in C:/Program Files? If so, you need to install
it in C:/ Been there..done that with trying to edit anything installed under
C:/Program Files.

You might look for solutions at the author's errata site here:
http://www.cucumbermedia.com/store/index.php?main_page=page&id=1&chapter=1

28 Feb 2008, 4:25 AM
#4
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: vista issue?? adding to files

"Cannot create the C:/Windows/System32/drivers/etc/hosts file. Make sure that the path and file name are correct."

If that is the actual msg. then the problem is the slashes.

Windows used backward slashes **** in a path whereas Linux uses forward, like you posted.

28 Feb 2008, 7:51 AM
#5
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: vista issue?? adding to files

Hi karen, have replied to your PM already.

7 May 2008, 3:59 AM
#6
eebee avatar

eebee

New Zenner

Join Date:
May 2008
Posts:
3
Plugin Contributions:
0

Re: vista issue?? adding to files

Please could you give the answer to this in the forum rather than in PM as I have the same problem.

7 May 2008, 9:08 PM
#7
canopy avatar

canopy

Totally Zenned

Join Date:
Oct 2006
Posts:
625
Plugin Contributions:
0

Re: vista issue?? adding to files

Hi eebee,

Did you check to see if its because of the Vista UAC problem which is highlighted on the Gotchas section of our site?