Results 1 to 10 of 46

Hybrid View

  1. #1
    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

  2. #2
    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)

  3. #3
    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.

  4. #4
    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)

  5. #5
    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!

  6. #6
    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?

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

 

 

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