Zen Cart Logo
Forums / Installing on a Windows Server / 500 Internal Server Error. Please help!!!

500 Internal Server Error. Please help!!!

Locked

Views: 7,178

Results 1 to 17 of 17
This thread is locked. New replies are disabled.
27 Mar 2008, 8:33 PM
#1
cosmeticsnbags avatar

cosmeticsnbags

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

500 Internal Server Error. Please help!!!

Hello,

It says that my Zen Cart installation was a success and I can access my admin pages just fine, but I can't see it on my website. I know that I have SSL for sure, but when I type in the address where I installed my cart, I get the following error message:
*
500 Internal Server Error
"The server encountered an unexpected condition which prevented it from fulfilling the request.
The script had an error or it did not produce any output. If there was an error, you should be able to see it in the error log."*

What do I do? I am so frustrated, I've already deleted and installed this for the third time and every single time, I get the same results!

Please help me. Thank you very much!

27 Mar 2008, 9:03 PM
#2
0be1 avatar

0be1

Totally Zenned

Join Date:
Sep 2004
Location:
Murfreesboro, TN
Posts:
479
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

Do you have a dedicated SSL certificate or a shared one. If you have a shared certificate, check with your hosting provider to make sure you have the fully path for the certificate. Are you using SSL on customer pages or both customer and admin? in your configure.php file do you have it as the example shows https://full_path_name_for_site

This should get you started down the troubleshooting path :D

Good Luck

0be1

27 Mar 2008, 10:21 PM
#3
cosmeticsnbags avatar

cosmeticsnbags

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

Hi Obe1,

Thanks for the reply. I don't think the problem is with the SSL though, because I have tried installing twice by disabling SSL, and once by enabling SSL... they all yielded the same result.

I am using SSL on both customer and admin, and like I said, the admin part works perfectly.

I have also changed the configure.php files back to chmod 644...

Any idea what's going on? Anything suggestions at all would be much appreciated!

Thank you.

28 Mar 2008, 12:14 PM
#4
0be1 avatar

0be1

Totally Zenned

Join Date:
Sep 2004
Location:
Murfreesboro, TN
Posts:
479
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

Do you have a URL address to peek at please :D

0be1

28 Mar 2008, 4:57 PM
#6
0be1 avatar

0be1

Totally Zenned

Join Date:
Sep 2004
Location:
Murfreesboro, TN
Posts:
479
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

I am not sure if you deleted any files or not from your main root directory, and when you say main directory what is that path EXACTLY please. when I try to go to the main site without the https I get:

This site is under development

This is a default template, indicating that the webmaster has not yet uploaded a Web site to the server.

For information on how to build or upload a site, please visit your web hosting company's site.

It is almost like you deleted or didn't overwrite the appropriate file(s). Sometimes a host provider will have an index.htm or index.html file in the main directory. If that is the case rename the file to index.old or orig, something you can remember that once everything is working you can delete when you have confirmed that you do not need it. Also did you up load the few files that are in the main (top level) of the zc folder to your main directory?

If you can also please post your /includes/configure.php file and BE SURE to remove content sensitive info towards the bottom (pertaining to your database login info) really just need the top half to verify paths and such.

thanks...

0be1

28 Mar 2008, 5:01 PM
#7
0be1 avatar

0be1

Totally Zenned

Join Date:
Sep 2004
Location:
Murfreesboro, TN
Posts:
479
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

Also when I did view page source at http://www.cosmeticsnbags.com/ I get the following

<html> <center> <h1>This site is under development</h1>

This is a default template, indicating that the webmaster has not yet uploaded a Web site to the server.
<BR/><BR/>
For information on how to build or upload a site, please visit your web hosting company's site.

</center> </html>

which indicates that there is some index file or other template system feeding this file.

0be1

28 Mar 2008, 5:58 PM
#8
cosmeticsnbags avatar

cosmeticsnbags

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

Okay, I renamed the extension to the default index.html file, and now I'm getting a different error. It says that there seems to be a problem connecting to the database... Here's my /includes/configure.php file. Thank you!

<?php /** * @package Configuration Settings circa 1.3.8 * @copyright Copyright 2003-2007 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 */ /*************** NOTE: This file is similar, but DIFFERENT from the "admin" version of configure.php. ***********/ /*************** The 2 files should be kept separate and not used to overwrite each other. ***********/ // Define the webserver and path parameters // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com define('HTTP_SERVER', 'http://www.cosmeticsnbags.com'); define('HTTPS_SERVER', 'https://www.cosmeticsnbags.com'); // Use secure webserver for checkout procedure? define('ENABLE_SSL', 'true'); // NOTE: be sure to leave the trailing '/' at the end of these lines if you make changes! // * DIR_WS_* = Webserver directories (virtual/URL) // these paths are relative to top of your webspace ... (ie: under the public_html or httpdocs folder) define('DIR_WS_CATALOG', '/'); define('DIR_WS_HTTPS_CATALOG', '/'); define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_INCLUDES', 'includes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/'); define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/'); define('DIR_WS_PHPBB', '/home/users/web/b1330/sl.jkuo/public_html/forums/'); // * DIR_FS_* = Filesystem directories (local/physical) //the following path is a COMPLETE path to your Zen Cart files. eg: /var/www/vhost/accountname/public_html/store/ define('DIR_FS_CATALOG', '/home/users/web/b1330/sl.jkuo/public_html/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'uploads/'); define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS); define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'email/');
28 Mar 2008, 6:10 PM
#9
0be1 avatar

0be1

Totally Zenned

Join Date:
Sep 2004
Location:
Murfreesboro, TN
Posts:
479
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

Is the file that you deleted from zen cart or was it there before the install?

Also have you verified with your provider what your path is for your home directory? The one you provided sure seems quite long, especially if you are saying that you installed it into your home root directory

/home/users/web/b1330/blah blah blah seems to be waaaaaaaay too long.

I am not sure where the /web/b1330 is coming from, and usually it will be a path like

home/users/public html
home/users/username

You might want to check there too.

Hang in there, we'll get it soon. But I would ask your hosting provider for the path to your root directory and go from there. I am surprised that you were even able to do an install.

0be1

28 Mar 2008, 6:30 PM
#10
cosmeticsnbags avatar

cosmeticsnbags

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

The file I deleted was already there... I didn't notice it till you mentioned it.

So I called my hosting provider (StartLogic) and they verified that my root directory is that long long path there... :(

28 Mar 2008, 11:09 PM
#11
cosmeticsnbags avatar

cosmeticsnbags

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

Hi Obe1,

Thank you for all of your help, but I gave up and decided to switch back to OSCommerce. Thanks anyway!

31 Mar 2008, 5:27 PM
#12
0be1 avatar

0be1

Totally Zenned

Join Date:
Sep 2004
Location:
Murfreesboro, TN
Posts:
479
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

OSC :yuck: !!!

But to each their own. I does not make any sense whatsoever that you can get OSC to work on your provider using the exact same root directory and path, but not ZC. OCS is sooooooooooooo archaic, doesn't even have half of the plug-ins (that are fully functional and not someone's half baked forgotten about module full of bugs). Well, I wish you the best and that you would reconsider.

best of luck :D

0be1

31 Mar 2008, 8:27 PM
#13
cosmeticsnbags avatar

cosmeticsnbags

New Zenner

Join Date:
Mar 2008
Posts:
7
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

Yeah, it's the oddest thing... oh well :mellow:

31 Mar 2008, 8:53 PM
#14
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: 500 Internal Server Error. Please help!!!

a simpler solution would be to install ZC brand new, then move your template files in and then drop the database and insert your current backup from the old setup

If you need help doing this let me know, will see what I can do to help out

1 Apr 2008, 11:56 AM
#15
0be1 avatar

0be1

Totally Zenned

Join Date:
Sep 2004
Location:
Murfreesboro, TN
Posts:
479
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

Long time no see Tony, glad to see you still around. Hope all is well and maybe we can convince cosmeticsnbags to come back :D

See ya around...

0be1

a.k.a Shawn

10 Jun 2008, 12:08 AM
#16
azzxxxc avatar

azzxxxc

New Zenner

Join Date:
Jun 2008
Posts:
6
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

cosmeticsnbags, I'm trying to install Zen Cart on a startlogic server too. I noticed you have:
define('HTTPS_SERVER', 'https://www.cosmeticsnbags.com');

in my startlogic control panel it tells me my SSL is:
https://username.startlogic.com

I wonder if that's your problem?

BTW, do you have Google Checkout with your osC? I'm having a hard time with it and wondered if it was a startlogic issue or not... I get a lot of errors in google checkout's "Tools" > "Integration Console": javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException

thanks,
~Danny

26 Jun 2008, 10:47 PM
#17
icu avatar

icu

New Zenner

Join Date:
Apr 2005
Posts:
22
Plugin Contributions:
0

Re: 500 Internal Server Error. Please help!!!

hey Obe1,

I had the same issue, but found a solution for it. Here is the steps:

  1. Login to your cpanel
  2. Go down to table Scripting and Add-Ons
  3. click on CGI and Scripted Language Support
  4. Then their is submit button(i did this a while back so im not sure if it is submit or something else, but the point is their is one button their click on it)

After that you should be able to start the process of setting up your zen cart.

If you have any problems doing this step let me know.
Thanks =)