Zen Cart Logo
Forums / Installing on a Windows Server / unhandled win32 exception occured in httpd.exe[2556]

unhandled win32 exception occured in httpd.exe[2556]

Locked

Views: 4,718

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
23 Sep 2010, 15:16
#1
sandesh35 avatar

sandesh35

New Zenner

Join Date:
Sep 2010
Posts:
13
Plugin Contributions:
0

unhandled win32 exception occured in httpd.exe[2556]

Hi Everyone,

I am trying to move the website from a server to localhost and then back to a different server.The website was originally build in ZenCart 1.38a version. It also has a customize home page and there are some more options added to the admin panel menu.

I followed the steps mentioned in the article which explained step by step the procedure to move zencart website from one server to another.This is the link that i followed:

https://www.zen-cart.com/tutorials/index.php?article=100

On localhost when i try to install the zencart 1.38 version i get an error saying an unhandled win32 exception occured in httpd.exe[2556].
The only thing that i did not follow right from the above link is using the same version of the zencart. I used the latest zencart version 1.39.
But when i tried to run the website through the localhost, nothing shows up, just a blank page.

I have been trying to work on it from a while, tried to use the same version it didn't work, somewhere i read about deleting the .htaccess file or manipulating it , it didn't work either.

So any if any one could help me out in this, I highly appreciate your Help.

Thanks,
Sandesh

24 Sep 2010, 14:49
#2
sandesh35 avatar

sandesh35

New Zenner

Join Date:
Sep 2010
Posts:
13
Plugin Contributions:
0

Re: unhandled win32 exception occured in httpd.exe[2556]

Actually ,some correction in the above post.I made several attempts on installing the zencart copy from the server over a freshly installed copy of zencart.

Like on my first attempt, when i typed in http://localhost
i could not see the folder in which zencart was installed, then i went ahead and deleted the .htaccess file in the zencart root folder after this, I was able to see the folder in which zen cart was installed. but on clicking it i could see a blank page.

Then other times when i did the same thing, i got the
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."

24 Sep 2010, 14:51
#3
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: unhandled win32 exception occured in httpd.exe[2556]

Have you tried typing in http://localhost/zen-folder

27 Sep 2010, 16:17
#4
sandesh35 avatar

sandesh35

New Zenner

Join Date:
Sep 2010
Posts:
13
Plugin Contributions:
0

Re: unhandled win32 exception occured in httpd.exe[2556]

Yes i did, but even then i get the same error 500 internal server error.Does this mean that there is a problem with the .htaccess file?....

27 Sep 2010, 16:21
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: unhandled win32 exception occured in httpd.exe[2556]

Windows servers don't usually like .htaccess files.
I recommend using Apache instead of IIS anyway. Try XAMPP.

27 Sep 2010, 17:05
#6
sandesh35 avatar

sandesh35

New Zenner

Join Date:
Sep 2010
Posts:
13
Plugin Contributions:
0

Re: unhandled win32 exception occured in httpd.exe[2556]

Actually i am using, wamp server(2.0h). Now I used my laptop and tried using the same version(zencart 1.38a) in which the website was build on, but still having the same problem, 500 Internal Server Error.

27 Sep 2010, 20:24
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: unhandled win32 exception occured in httpd.exe[2556]

Zen Cart 1.3.8a is not compatible with PHP 5.3 which is used in the latest version of wampserver and XAMPP etc.
v1.3.9 works fine on newer versions of PHP 5.3.

Your apache errorlog will tell you the exact cause of the "500 Internal Server Error".

27 Sep 2010, 21:10
#8
sandesh35 avatar

sandesh35

New Zenner

Join Date:
Sep 2010
Posts:
13
Plugin Contributions:
0

Re: unhandled win32 exception occured in httpd.exe[2556]

This is what i get in the error log.....
[
[Mon Sep 27 09:31:33 2010] [notice] Child 5920: Starting thread to listen on port 80.
[Mon Sep 27 09:52:28 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Mon Sep 27 09:52:31 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/favicon.ico
[Mon Sep 27 10:50:15 2010] [alert] [client 127.0.0.1] C:/wamp/www/zencart/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/

[Mon Sep 27 10:50:26 2010] [alert] [client 127.0.0.1] C:/wamp/www/zencart/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration]

[Mon Sep 27 12:06:46 2010] [alert] [client 127.0.0.1] C:/wamp/www/zencart/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://localhost/zencart/admin/index.php]

These lines are repeated number of times.

27 Sep 2010, 21:46
#9
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: unhandled win32 exception occured in httpd.exe[2556]

So, you've added something to your .htaccess file that doesn't come with Zen Cart. Namely, you've added "RewriteEngine" and other related directives, and your webserver isn't configured to handle those directives.
You can find instructions on how to configure your own apache server for its addon functionality on the apache website.

29 Sep 2010, 16:42
#10
sandesh35 avatar

sandesh35

New Zenner

Join Date:
Sep 2010
Posts:
13
Plugin Contributions:
0

Re: unhandled win32 exception occured in httpd.exe[2556]

Thanks Drbyte for you help..I will look into it!