If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Windows Server / Cannot login to Zen Cart outside of domain

Cannot login to Zen Cart outside of domain

Locked

Started by jwelliott27 on 29 Nov 2007, 11:16 AM · Views: 1,763

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
29 Nov 2007, 11:16 AM
#1
jwelliott27 avatar

jwelliott27

New Zenner

Join Date:
Nov 2007
Posts:
2
Plugin Contributions:
0

Cannot login to Zen Cart outside of domain

Hi. I have a problem that I hope someone can help with. I cannot login to the cart outside of my domain. My configuration is IIS 6, PHP 5.1.2 and MySQL 5.0 on a Windows 2003 server. I can log into the cart locally, but not from a remote location. I have put in some displays and found that the $_POST data is empty.

I wrote a simple web form in PHP and the data is posted to the server properly. However, I can't seem to post data in Zen Cart outside the domain. I know that I probably have a security issue, but have exhausted my knowledge. The web site has been set to use only anonymous access. I own the server so I can change anything.

I hope that someone has some ideas. Thank You!

29 Nov 2007, 6:50 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Cannot login to Zen Cart outside of domain

So, when you say you can "login locally", I assume that you're using the browser on your windows server? ... and probably accessing it as "localhost" ?

If you are unable to login externally, that's most likely a result of improperly-configured domain info, etc, thus preventing session cookies from being properly set. This is common when using "one" name to access the domain, but having the cookie or server use a different name.

Making the domain name be the same from both the server and outside the server is a good starting point.
Other areas to consider would be browser cache/cookies.
Or maybe your SSL config is incorrect somehow. Turn off ENABLE_SSL.... in your configure.php files.

Related FAQs:
https://www.zen-cart.com/tutorials/index.php?article=84
https://www.zen-cart.com/tutorials/index.php?article=281

.
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.

30 Nov 2007, 2:25 PM
#3
jwelliott27 avatar

jwelliott27

New Zenner

Join Date:
Nov 2007
Posts:
2
Plugin Contributions:
0

Re: Cannot login to Zen Cart outside of domain

Thanks for the response. I found the problem this morning. I did not have "www" as a prefix to the web site name in the configure.php files. I added that and everything looks good now.

24 Jan 2008, 9:02 PM
#4
point0fsale avatar

point0fsale

New Zenner

Join Date:
Feb 2005
Posts:
67
Plugin Contributions:
0

Re: Cannot login to Zen Cart outside of domain

jwelliott27:

Thanks for the response. I found the problem this morning. I did not have "www" as a prefix to the web site name in the configure.php files. I added that and everything looks good now.
Since you are working in the area of remote server, I was wondering if you are anyone could shed some light on this situation. I am running a site on one domain that accesses the database on another domain and server. It works fine except that the images on the remote domain are fuzzy and the proportional function does not seem to work. I have discovered that any actions or functions that write to the database when carried out affect the parent database, so only php pages etc that don't do that (write to the database) can be modified or customized on the child installation. It seems that the ability to load proportionally does not get transmitted to the child domain. This works perfectly if it is on the same domain but is missing this one element when on another domain? Any suggestions appreciated. I think have tried all the image fixes on this forum, but most don't apply to this situation with a remote server.