Zen Cart Logo
Forums / Installing on a Windows Server / website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

Views: 14,167

Results 1 to 13 of 13
16 Aug 2011, 8:58 PM
#1
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

I have zc1.3.9h on a xampp local test server. Things worked fine. I transfered everthing over to go daddy. The mysql dbase is there, files are all uploaded, etc. I edited both the admin/includes/configure.php and the includes/configure.php

I can get into the admin panel fine, but I can't say the same for the website. I get a 500- Internal server error. Is it safe to assume I've done something wrong in the includes/configure.php and that this is not a go daddy or a windows/linux issue? I know another user said linux resolved her problem, but wouldn't my admin panel have a failure as well if this were the issue? Just reaching out after racking my brains for a few hours trying different scenarios. :frusty:

16 Aug 2011, 9:15 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

Have you read the FAQ entry for this type of error?

On a local installation such as you're describing, I'd recommend starting by looking for PHP errors in the logs as recommended by the FAQ.

16 Aug 2011, 9:37 PM
#3
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,593
Plugin Contributions:
0

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

You are on a GoDaddy Windows server?

16 Aug 2011, 9:40 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

Ah yes, I misread the direction of your transfer. As your problem is on your remote web server, I'd look first at the file permissions with which your uploaded files landed.

17 Aug 2011, 1:10 PM
#5
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

Kim:

You are on a GoDaddy Windows server?

Yes I'm on a GoDaddy Windows server

kuroi:

Ah yes, I misread the direction of your transfer. As your problem is on your remote web server, I'd look first at the file permissions with which your uploaded files landed.

I will try to find and check which files may have issues with their permissions.

17 Aug 2011, 2:45 PM
#6
kim avatar

kim

Obaa-san

Join Date:
Jun 2003
Posts:
26,593
Plugin Contributions:
0

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

Yes I'm on a GoDaddy Windows server

Stop wasting time trying to get that to work - move to a Linux server at the very least and a different host would be even better.

17 Aug 2011, 5:22 PM
#7
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

So here are the steps I took and what I have found out so far:

  1. Copied my local test site to GoDaddy (named: Zenoriginal)

  2. Things did not work so I also did the GoDaddy install which led to me having a 2nd ZenCart under my domain (named: GoDaddyZen)

  3. I replicated the GoDaddyZen configure.php files with appropriate changes in my Zenoriginal folder.

  4. Admin panel worked, but not the website.

  5. Through trial and error, i found that Zenoriginal/includes/configure.php lines of code point to where I think they logically should with the exception of 1 line. For example:
    Most point to something along the lines of
    define('DIR_WS_CATALOG', '/Zenoriginal/');
    define('DIR_WS_HTTPS_CATALOG', '/Zenoriginal/');

However I have to point this line to the folder created by GoDaddy.

define('DIR_FS_CATALOG', 'D:\Hosting\8258716\html\GoDaddyZen/');

All the add-ons & mods in my Zenoriginal appear to work fine but I feel as though it should not be pointed to GoDaddyZen. Rather it should point to Zenoriginal. Any ideas as to why this is?

18 Aug 2011, 12:27 AM
#8
drbyte avatar

drbyte

Sensei

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

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

It needs to point to where your files are actually located.

You would be better off following the tutorial which explains how to move from one server to another, instead of blindly messing with configure.php entries. See https://www.zen-cart.com/tutorials/index.php?article=100

18 Aug 2011, 8:58 PM
#9
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

DrByte:

It needs to point to where your files are actually located.

You would be better off following the tutorial which explains how to move from one server to another, instead of blindly messing with configure.php entries. See https://www.zen-cart.com/tutorials/index.php?article=100

Tried this but I can't get past the "hello. thank you for loading zen cart" please click here to begin installation. click here leads to an internal server error.

idc1:

So here are the steps I took and what I have found out so far:

  1. Copied my local test site to GoDaddy (named: Zenoriginal)

  2. Things did not work so I also did the GoDaddy install which led to me having a 2nd ZenCart under my domain (named: GoDaddyZen)

  3. I replicated the GoDaddyZen configure.php files with appropriate changes in my Zenoriginal folder.

  4. Admin panel worked, but not the website.

  5. Through trial and error, i found that Zenoriginal/includes/configure.php lines of code point to where I think they logically should with the exception of 1 line. For example:
    Most point to something along the lines of
    define('DIR_WS_CATALOG', '/Zenoriginal/');
    define('DIR_WS_HTTPS_CATALOG', '/Zenoriginal/');

However I have to point this line to the folder created by GoDaddy.

define('DIR_FS_CATALOG', 'D:\Hosting\8258716\html\GoDaddyZen/');

All the add-ons & mods in my Zenoriginal appear to work fine but I feel as though it should not be pointed to GoDaddyZen. Rather it should point to Zenoriginal. Any ideas as to why this is?

Also as part of my education process, I would like to know what is wrong with the file system directory so that it won't function with my uploaded files, but it will with the GoDaddy ZenCart addon.

I also tried to point the GoDaddy installation includes/configure.php to my files but it seems GoDaddy does something so that I can't change the file permissions and in turn change the define('Dir_fs_catalog......) statement.

18 Aug 2011, 11:09 PM
#10
drbyte avatar

drbyte

Sensei

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

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

There are MANY reasons why we don't recommend using GoDaddy for hosting, especially for database-driven sites such as an online store. The usability challenges you're facing are just one such reason.
Further, hosting on their Windows servers is yet another complicated challenge especially when it comes to changing file permissions.
If you want help with problems you're having while hosted with GoDaddy, contact GoDaddy. They're the experts on the odd things they've done with their servers and can teach you how to use the tools they've given you for managing the services you've purchased from them. That's part of what you're paying them for, so use it well.

As for the "500" errors, if you read the FAQ article which kuroi pointed you to several days ago, it explains the kinds of things that can cause such an error, and also tells you that it's your hosting company who will have to diagnose the specific incompatibility of their hosting service which is causing their server to trigger the error. Again, they're the experts on their servers, so escalate the matter with them directly.

As for your education process about what's "wrong", ask GoDaddy ... cuz your problem is largely unique to the server you're hosted on.
You will certainly find that relocating to a more conventional hosting service will work far more readily out-of-the-box and be much simpler to configure and manage and support.

18 Aug 2011, 11:09 PM
#11
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

There is a tutorial on diagnosing Internal Server Errors. However some of those causes may not apply to Windows servers and the idiosyncratic setups that GoDaddy seems to favor may have their own unique causes.

However, the long and short of it is that these are errors that should normally be logged by the server and so the best people to tell you what's actually triggering them is GoDaddy, But don't be fobbed off with general assertions that it's the application. That would mean that they haven't actually looked. Insist that they give you the specific, unabridged error messages that are being logged.

22 Aug 2011, 4:16 PM
#12
idc1 avatar

idc1

Zen Follower

Join Date:
Jul 2011
Posts:
139
Plugin Contributions:
0

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

OK, I'm going to state the obvious to you pro's.

I updated over the weekend to a linux server on GoDaddy. It seems as though most everything is working fine. The only issue I see is that some images are not displaying due to case sensitivity. Linux must not be able handle both uppercase .JPG and lowercase .jpg This was not a problem on my local windows server. Time to get consistent and rename all to lowercase.

Thanks for entertaining my questions earlier.

22 Aug 2011, 4:18 PM
#13
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: website doesn't work (500 internal server error) but admin panel works fine?(GoDaddy)

Actually, I think it's the other way around, and Linux does handle them, recognising the difference, instead of just mashing 'em together as though they were the same thing. So consistency is a good idea. Also if you have any spaces in your image names, I recommend taking them out at the same time, as that could cause problems. Best to replace them with hyphens.