Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2007
    Posts
    13
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Jan 2004
    Posts
    58,249
    Blog Entries
    3
    Plugin Contributions
    106

    Default 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 ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Dec 2007
    Posts
    13
    Plugin Contributions
    0

    Default 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!

  4. #4
    Join Date
    Jan 2004
    Posts
    58,249
    Blog Entries
    3
    Plugin Contributions
    106

    Default 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?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Dec 2007
    Posts
    13
    Plugin Contributions
    0

    Default 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!

  6. #6
    Join Date
    Jan 2004
    Posts
    58,249
    Blog Entries
    3
    Plugin Contributions
    106

    Default 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.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Dec 2007
    Posts
    13
    Plugin Contributions
    0

    Default 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!

 

 

Similar Threads

  1. ADMIN page wont load at all! (Windows Bug in PHP 5.2.4)
    By grahambr in forum Installing on a Windows Server
    Replies: 30
    Last Post: 19 May 2011, 05:18 PM
  2. XAMPP & Zen-Car 1.3.8 on Windows Server 2003 R2
    By mtrantas in forum Installing on a Windows Server
    Replies: 1
    Last Post: 17 Mar 2008, 08:52 PM
  3. Curl on Windows 2003 server
    By animateclay in forum Installing on a Windows Server
    Replies: 1
    Last Post: 13 Jun 2007, 06:21 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •