Page 1 of 5 123 ... LastLast
Results 1 to 10 of 46
  1. #1
    Join Date
    Feb 2011
    Posts
    23
    Plugin Contributions
    0

    Default Http 500 internal server error

    Changed the name of my admin folder. I now receive an "http 500 internal server error" when I try to access my online catalog from the admin panel. I checked ther error logs on my host's server and I have the following two messages:

    File does not exist: /home/drea2221/public_html/404.shtml, referer: http://bylargesse.com/

    File does not exist: /home/drea2221/public_html/favicon.ico, referer: http://bylargesse.com/

    I have zen cart 1.39d installed.

    I have "zero" programming skills so I really need a "zencart for dummies" response.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Http 500 internal server error

    when I try to access my online catalog from the admin panel.
    Why do that???

    Most any browser today has the tab ability
    One tab for the shop & another tab for your admin

    But in general for 500 errors are server errors

    https://www.zen-cart.com/tutorials/index.php?article=63
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Http 500 internal server error

    Thanks so much for your help. I pulled the the error messages found below from the Zen cart DEBUG log file. Not sure how to proceed. Would appreciate any direction that you can provide.

    [19-Mar-2011 23:29:41] PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/drea2221/public_html/index.php on line 43
    [19-Mar-2011 23:29:41] PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in /home/drea2221/public_html/index.php on line 43
    [19-Mar-2011 23:29:41] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'DIR_WS_TEMPLATEStemplate_default/common/html_header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/drea2221/public_html/index.php on line 43

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Http 500 internal server error

    PHP Warning: require(DIR_WS_TEMPLATEStemplate_default/common/html_header.php
    Use FTP and see if you have that file and that it is not "zero" bytes
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Http 500 internal server error

    More significant would seem to be that the DIR_WS_TEMPLATES constant doesn't seem to have been set. I would check you includes/configure.php file to see if this entry is there, whether the file is corrupted, or whether the permissions are preventing it from being read (either too restrictive, or too open so your servers security is closing it down - the latter can cause Internal Server errors).
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  6. #6
    Join Date
    Feb 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Http 500 internal server error

    My thanks to both of you!!!

    Kobra: I have the following header.php file

    /public_html/includes/templates/template_default/common/html_header.php


    Kuroi: This is what I found in my configure.php file (I have replaced by admin folder name with "####"):

    define('DIR_WS_ADMIN', '/#####/');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_ADMIN', '/######/');
    define('DIR_WS_HTTPS_CATALOG', '/');

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
    define('DIR_WS_CATALOG_IMAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'images/');
    define('DIR_WS_CATALOG_TEMPLATE', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/templates/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
    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_CATALOG_LANGUAGES', HTTP_CATALOG_SERVER . DIR_WS_CATALOG . 'includes/languages/');

    **************************************************

    It looks as though the line in question is missing. Would appreciate any guidance eihter of you can provide on how to proceed.

  7. #7
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Http 500 internal server error

    Whicj configure file are you quoting from? It looks like your public_html/admin/includes one, but that setting needs to be in your public_html/includes version. Unless they've gotten confused, which could explain that message, though not necessarily the Internal Server error.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #8
    Join Date
    Feb 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Http 500 internal server error

    Thanks Kuroi.

    I am quoting from my - /public_html/biggirl1/includes/configure.php - file.

    So, are you saying that the information in this file should actually be located in - /public_html/includes/configure.php- and vice versa?

    Also, I have updated my permissions according to my web host's specifications, so I think that everything is okay there.

    My web host suggested that; if the permission corrections didn't work, my only alternative would be to try and restore the site from my backup files. But if there is a problem in my code; then, I assume, that it will be reflected in my backup!

  9. #9
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Http 500 internal server error

    Before making an edit to either of your config files you must first change permissions to 644, which is done through the Control Panel of your Hosting account. After making the update then change permissions back to 444. Did you do this?

  10. #10
    Join Date
    Feb 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: Http 500 internal server error

    Thanks so much for your suggestion.

    I did make the permission changes that you mentioned. Unfortunately, I'm still getting the 500 error. Really frustrating. I just don't know how to resolve this.

 

 
Page 1 of 5 123 ... LastLast

Similar Threads

  1. v139h HTTP 500 Internal Server Error
    By racinjason in forum General Questions
    Replies: 12
    Last Post: 27 Jan 2012, 11:39 PM
  2. HTTP 500 Internal Server Error
    By goalsurfer in forum General Questions
    Replies: 7
    Last Post: 12 Aug 2011, 07:29 PM
  3. Http 500 internal server error
    By LILIAN in forum Basic Configuration
    Replies: 1
    Last Post: 26 Mar 2011, 07:41 PM
  4. HTTP 500 Internal Server Error
    By stoyka in forum Installing on a Windows Server
    Replies: 3
    Last Post: 23 Dec 2010, 04:58 PM
  5. HTTP 500 internal server error
    By YvonneK in forum Basic Configuration
    Replies: 1
    Last Post: 31 Aug 2009, 01:52 PM

Posting Permissions

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