Forums / Installing on a Windows Server / Installed Zen on a test server with scattered images

Installed Zen on a test server with scattered images

Locked

Started by oxicottin on 25 Apr 2007, 11:05 PM · Views: 3,122

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
25 Apr 2007, 11:05 PM
#1
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Installed Zen on a test server with scattered images

Hello, I installed Zen on a test server called wamp5 on my home PC. Everything looks great and works on my PC but when I go to another PC there are no images and everything is scattered and uncentered. I went and changed the configure.php in Admin and in Includes to get it to work on my PC but it still is all goofed up on other PC's. Here is what I changed for my PC to work:

define('DIR_WS_CATALOG', '/zencart/');
define('DIR_WS_HTTPS_CATALOG', '/zencart/');

TO

define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/'); 

What am I doing wrong?

25 Apr 2007, 11:34 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Installed Zen on a test server with scattered images

change HTTP_SERVER to the IP address of the PC it's running on (and NOT "localhost" or "127.0.0.1" .. use the IP that other computers will know)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Apr 2007, 12:24 AM
#3
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Re: Installed Zen on a test server with scattered images

is this in which config file? or both...

Thanks;
Chad

26 Apr 2007, 12:28 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Installed Zen on a test server with scattered images

both of course.

There are several threads discussing this. Here's one:
http://www.zen-cart.com/forum/showthread.php?t=39694

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

26 Apr 2007, 12:42 AM
#5
oxicottin avatar

oxicottin

Zen Follower

Join Date:
Aug 2006
Location:
West Virginia
Posts:
320
Plugin Contributions:
0

Re: Installed Zen on a test server with scattered images

worked like a charm...

Thanks Doc.:clap: