Zen Cart Logo
Forums / General Questions / admin wont load for me - Windows 2003 server

admin wont load for me - Windows 2003 server

Locked

Views: 1,805

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
21 Jun 2008, 3:14 AM
#1
dkg920 avatar

dkg920

New Zenner

Join Date:
Dec 2007
Posts:
13
Plugin Contributions:
0

admin wont load for me - Windows 2003 server

I had some problems with my zen cart not showing up when I tried to test them on ie & mozilla. I think the problem was because I had my config files set to local host. The content would show up, but not the background and boxes, etc. I did some reading and made some changes to the config. files like it said and that worked. But when I went to bring up the admin page to make some changes, it wouldn't open. It show that the page could not be found. I have my own server Windows Server 2003. I'm not sure which files I may have changed that cause me not to be able to get into the zen admin pages or what I need to do to correct the problem. Any help would be greatly appreciated. Thanks!

21 Jun 2008, 1:24 PM
#2
windiagnostic avatar

windiagnostic

New Zenner

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

Re: admin wont load for me - Windows 2003 server

A System Auditor is very helpful service for finding "forgotten changes." You might consider WinDiagnostic, which provides PC agents that continuously monitor both the Windows Registry and all file systems for any changes, then issue daily reports of those changes.:smile:

See WinDiagnostic.com :smile:

21 Jun 2008, 6:46 PM
#3
drbyte avatar

drbyte

Sensei

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

Re: admin wont load for me - Windows 2003 server

Does your server do any logging about webserver errors?
Apache logs all encountered errors including "page not found" conditions etc, and thus you can review the logs to find out the cause of the error message.
Hopefully your server has an equivalent for you ...

22 Jun 2008, 3:39 AM
#4
dkg920 avatar

dkg920

New Zenner

Join Date:
Dec 2007
Posts:
13
Plugin Contributions:
0

Re: admin wont load for me - Windows 2003 server

I looked, but didn't really see anything; at least nothing that made sense to me.

When I type in the url to get to the admin page - http://www.katestrackshack.com/catalog/admin I get - http://www.katestrackshack.com/catalog/adminlogin.php

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Please try the following:

Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
Click the Back button to try another link.
HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)


Technical Information (for support personnel)

Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.

Is there another file config file that I need to change. I'm thinking that the problem is in the code for the admin portion of the config. file.

Any suggestions?

Thanks!

22 Jun 2008, 10:17 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: admin wont load for me - Windows 2003 server

Did you leave off the trailing "/" in your DIR_WS_ADMIN and/or DIR_WS_HTTPS_ADMIN settings in the configure.php file for your admin?

22 Jun 2008, 3:22 PM
#6
dkg920 avatar

dkg920

New Zenner

Join Date:
Dec 2007
Posts:
13
Plugin Contributions:
0

Re: admin wont load for me - Windows 2003 server

I did but that doesn't seem to fix the problem either. Here are the portion of the defines in the admin/config. that I think may be causing the problem (my lack of programming skills! and then the includes/config.

admin/config.

' define('DIR_WS_ADMIN', '' . $http_catalog . 'admin/');' . "\n" .
' define('DIR_WS_CATALOG', '' . $http_catalog . '');' . "\n" .
' define('DIR_WS_HTTPS_ADMIN', '' . $https_catalog . 'admin/');' . "\n" .
' define('DIR_WS_HTTPS_CATALOG', '' . $https_catalog . '');' . "\n\n" .

includes/confg.

define('HTTP_SERVER', 'http://www.katestrackshack.com');
define('HTTPS_SERVER', 'https://www.katestrackshack.com');
define('HTTP_CATALOG_SERVER', 'http://www.katestrackshack.com');
define('HTTPS_CATALOG_SERVER', 'https://www.katestrackshack.com');

define('DIR_WS_ADMIN', '/catalog/admin');
define('DIR_WS_CATALOG', '/catalog');
define('DIR_WS_HTTPS_ADMIN', 'https://catalog/admin');
define('DIR_WS_HTTPS_CATALOG', 'https://catalog');

My catalog looks like it's working, but just can't get into the admin page.

Thanks!

22 Jun 2008, 9:06 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: admin wont load for me - Windows 2003 server

What's with all the apostrophes and backslashes in your admin file?
That looks like you copied the file content from installer source code.

Pluse, you should never have any 'http' text in a DIR_WS_xxxx setting.

If this is a relatively new install, I suggest re-installing again in order to properly generate the configure.php file content.
Or, you can use the /admin/includes/dist-configure.php file as a template, and manually set up all the content yourself. The installer is easier, because it knows what to put where.

24 Jun 2008, 12:18 AM
#8
dkg920 avatar

dkg920

New Zenner

Join Date:
Dec 2007
Posts:
13
Plugin Contributions:
0

Re: admin wont load for me - Windows 2003 server

These were already there. I just added the ending - catalog or catalog admin. I was trying to follow the examples in the comments. I didn't see the file that you were talking about - admin/includes/dist-configure.php - I have the admin/includes/configure.php file.

I don't know if I can reinstall at this point. I've got everything all setup and ready to go except for the admin page not coming up now.

It's taken me such a long time to get to this point and just when I thought I had it ready to put up, I screwed something up in the code that one let me get into the admin page. As I said, I'm sure it's probably something simple in the code that I've just typed wrong. Does anyone have a sample of what the code should be for the lines where the admin lines are? I hope this makes sense!

Here is a commented line about the code - I thought I had mine setup correctly, but maybe someone could give me an example line of code to make sure that I do have it right -

/var/www/vhost/accountname/public_html/store/

Thanks!