Forums / Installing on a Windows Server / Trouble Installing on Windows Server 2008

Trouble Installing on Windows Server 2008

Locked
Results 1 to 14 of 14
This thread is locked. New replies are disabled.
01 Mar 2010, 19:48
#1
nicsys avatar

nicsys

New Zenner

Join Date:
Feb 2010
Posts:
7
Plugin Contributions:
0

Trouble Installing on Windows Server 2008

I am trying to install Zen Cart 1.3.8a on a 32-bit Windows Server 2008 Web Edition Server. The server is running IIS 7.0 and PHP 5.3.1. I have installed the PHP 5.3 patch for Zen Cart. The initial setup page will come up, but after I agree to the TOC and press Continue, the index.php?main_page=inspect page will error out with:

HTTP Error 500.0 - Internal Server Error

Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP via FastCGI
Error Code 0x00000000

I turned on some IIS traces and found only one warning:

ModuleName FastCgiModule
Notification 128
HttpStatus 500
HttpReason Internal Server Error
HttpSubStatus 0
ErrorCode 0
ConfigExceptionInfo
Notification EXECUTE_REQUEST_HANDLER
ErrorCode The operation completed successfully. (0x0)


If there is any other useful info I can provide please let me know, otherwise any help would be appreciated. Thank you.
04 Mar 2010, 23:20
#2
nicsys avatar

nicsys

New Zenner

Join Date:
Feb 2010
Posts:
7
Plugin Contributions:
0

Re: Trouble Installing on Windows Server 2008

Nothing? Anyone? Not even an admin?
05 Mar 2010, 01:27
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Trouble Installing on Windows Server 2008

A "500-Internal Server Error" is triggered by the server's settings.
Zen Cart has no control over that, and has no way of finding out what's causing it.
You'll have to work with your hosting company to look into the server's logs to see whether it's recording the "why" behind throwing that "500" error.
05 Mar 2010, 14:44
#4
nicsys avatar

nicsys

New Zenner

Join Date:
Feb 2010
Posts:
7
Plugin Contributions:
0

Re: Trouble Installing on Windows Server 2008

Thanks, but in this case I AM the hosting company. I have complete access to the server Zen Cart is being installed on. You can't give me any ideas on where to look? Am I the only person in the world that has ever run into this problem?
06 Mar 2010, 00:43
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Trouble Installing on Windows Server 2008

NICSYS:

Am I the only person in the world that has ever run into this problem?

Well, you seem to be the only one reporting the problem around *here*.
I don't see it being specific to Zen Cart.

You might explore the error message with google or at a site dedicated to hosting-related issues like webhostingtalk.com.

I'm guessing what you have is a permissions problem.
07 Mar 2010, 21:33
#6
celtic avatar

celtic

Zen Follower

Join Date:
Feb 2010
Posts:
154
Plugin Contributions:
0

Re: Trouble Installing on Windows Server 2008

NICSYS:

Thanks, but in this case I AM the hosting company. I have complete access to the server Zen Cart is being installed on. You can't give me any ideas on where to look? Am I the only person in the world that has ever run into this problem?


Nicsys, you may already have tried this, as it only took me about 2.5 seconds to perform a google search for your problem, however you may want to check out this blog post which seems to detail the problem fairly clearly: http://www.webdigi.co.uk/blog/2009/php-on-windows-server-2008-500-internal-server-error-on-iis

I would guess that it is the depricated functions errors that are kicking up this error for you, but as I don't have Server 2008 I can't confirm my suspicions. Let us know how you get on.
09 Mar 2010, 20:26
#7
nicsys avatar

nicsys

New Zenner

Join Date:
Feb 2010
Posts:
7
Plugin Contributions:
0

Re: Trouble Installing on Windows Server 2008

Thanks, Celtic. I have enabled those detailed errors, but it doesn't change anything.

It chokes at this point:

/zencart/zc_install/index.php?main_page=inspect

So, if it's a permissions issue, what permissions need to be checked at this point? Also, what can you tell me about your deprecated functions errors theory? Is there a better way to debug this?

Thanks.
11 Mar 2010, 10:29
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Trouble Installing on Windows Server 2008

You could go into /zc_install/includes/installer_params.php and change
  define('STRICT_ERROR_REPORTING', false);
to TRUE instead of false, and then see whether it gives you any useful PHP failure errors caused by your server config.
11 Mar 2010, 16:47
#9
nicsys avatar

nicsys

New Zenner

Join Date:
Feb 2010
Posts:
7
Plugin Contributions:
0

Re: Trouble Installing on Windows Server 2008

Thanks for the suggestion, but unfortunately it had no effect. The behavior remained the same. However, I did notice something: from the time of pushing the Continue button and the error coming up, it is consistently, exactly 60 seconds. Could I be dealing with some kind of timeout issue?
11 Mar 2010, 17:23
#10
nicsys avatar

nicsys

New Zenner

Join Date:
Feb 2010
Posts:
7
Plugin Contributions:
0

Re: Trouble Installing on Windows Server 2008

UPDATE:

I changed the handler mapping for the site to use the regular CGIModule instead of FastCGI and now I at least get a different error:

PHP Warning: Module 'mysql' already loaded in Unknown on line 0

Does that help us any?
13 Mar 2010, 00:06
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Trouble Installing on Windows Server 2008

To troubleshoot which particular system-inspection action is causing problems on your unique server, you'll probably have to go into the /zc_install/includes/modules/pages/inspect/header_php.php file, and add debug statements in various places to find out which line of code is encountering the PHP timeout waiting for your server to respond.
14 Apr 2010, 12:55
#12
gbataille avatar

gbataille

New Zenner

Join Date:
Apr 2010
Posts:
1
Plugin Contributions:
0

Re: Trouble Installing on Windows Server 2008

Nicsys: Did you solved your problem installing Zencart?

We have the same problem here with windows server 2008...
14 Apr 2010, 13:57
#13
nicsys avatar

nicsys

New Zenner

Join Date:
Feb 2010
Posts:
7
Plugin Contributions:
0

Re: Trouble Installing on Windows Server 2008

Unfortunately, no, we were not able to solve the problem. We gave up and moved to a Linux platform.
14 Apr 2010, 14:21
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,506
Plugin Contributions:
173

Re: Trouble Installing on Windows Server 2008

I've heard somewhere that when you set up the server to use fastCGI it will change some standard permissions configurations, which could possibly be causing the problems you reported. The suggestion was to *not* choose the advanced option while doing the setup. I'm not sure how to back out of that once done though. That's something for windoze server admins to sort out.