Results 1 to 10 of 46

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Http 500 internal server error

    Okay, so you're running in to a PHP error, most likely a result of a syntax error you've created by editing the files, or by something no longer being locatable after renaming folders.
    The renaming of the admin is a very straightforward thing: rename the folder, and update the configure.php file to point to the new foldername. But, if your editor damages the file while editing, or if your FTP program mangles it, or if the file's permissions are wrong, those can break things.
    Things to consider:
    https://www.zen-cart.com/tutorials/i...hp?article=313
    https://www.zen-cart.com/tutorials/index.php?article=87
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

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

    Default Re: Http 500 internal server error

    Thanks, Dr. Byte.

    I followed the option that advised creating a configure.php file to show the errors on the webpage. I discovered a syntax error in the includes/configure.php file.

    I corrected the error and now text is showing on the page. Unfortunately the text indicates that I have a 500 Internal Server Error.

    The error logs on my host's server are found below. Would you have any idea regarding a resolution? As always, all suggestions are welcome and appreciated.

    [Sun Mar 27 21:13:15 2011] [error] [client 69.253.8.129] File does not exist: /home/drea2221/public_html/404.shtml

    [Sun Mar 27 21:13:15 2011] [error] [client 69.253.8.129] File does not exist: /home/drea2221/public_html/favicon.ico

  3. #3
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Http 500 internal server error

    Quote Originally Posted by largesse1 View Post
    I followed the option that advised creating a configure.php file to show the errors on the webpage. I discovered a syntax error in the includes/configure.php file.

    Quote Originally Posted by largesse1 View Post
    I corrected the error and now text is showing on the page. Unfortunately the text indicates that I have a 500 Internal Server Error.

    Quote Originally Posted by largesse1 View Post
    The error logs on my host's server are found below. Would you have any idea regarding a resolution? As always, all suggestions are welcome and appreciated.

    [Sun Mar 27 21:13:15 2011] [error] [client 69.253.8.129] File does not exist: /home/drea2221/public_html/404.shtml

    [Sun Mar 27 21:13:15 2011] [error] [client 69.253.8.129] File does not exist: /home/drea2221/public_html/favicon.ico
    Those are harmless, and they're the logs from apache directly.

    But, if your server's security system is complaining about something, such as the mod_security feature, then *that* system's error logs will need to be consulted to see what's actually triggering the server to reject things.

    The reason the "500" error is so vague is because if it told the actual issue to you in your browser, then a hacker could use the info to figure out how to work around security things, and thus leave you vulnerable. It's the same reason why Zen Cart doesn't show actual PHP errors on-screen, but instead logs them to a file, and just shows a blank page instead.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

 

 

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