Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2008
    Posts
    8
    Plugin Contributions
    0

    Default HTTP 500 Internal Server Error accessing admin pages

    All was well yesterday, but server was rebooted while someone else was adding products.
    Not website seems to function fine but I get a 500 error accessing admin page.

    Has anyone seem this before? Any tips on what I might do to resolve, since I am at a complete loss and have no idea how to resolve short of resinstalling from the ground up which would be pretty extreme.

    D

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HTTP 500 Internal Server Error accessing admin pages

    A search of the FAQs/Tutorials section for "500" brings up this related article: http://www.zen-cart.com/content.php?...l-server-error
    .

    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.

  3. #3
    Join Date
    Dec 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: HTTP 500 Internal Server Error accessing admin pages

    forgot to mention there are no errors in httpd-error.log

  4. #4
    Join Date
    Dec 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: HTTP 500 Internal Server Error accessing admin pages

    Thnx Doc, I had seen that page already and although its great info, its doesnt give any ideas for resolution.

    I found an Apache error log (the one custom to this site) and this is the last line :

    [Thu Jun 21 22:42:04 2012] [error] [client **my IP address **] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/home/mywebstore/custom_admin/login.php on line 13

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HTTP 500 Internal Server Error accessing admin pages

    As the article says, you need to work with your webserver administrator to find the correct resolution.

    "Error 500 - Internal Server Error" is a GENERIC response triggered by the server BEFORE Zen Cart can operate. So you need to work with the people who have access to the configuration components of the server that fire before Zen Cart is involved. And that means the webserver engine (apache and configs) and filesystem (files, file permissions, etc).

    And the error message you quoted is talking about a PHP misconfiguration ... where the server's master PHP configuration doesn't have a timezone set in it. Again, the webserver top-level administrator has the access required to set that correctly in a way that prevents EVERYONE on the server from getting that error message.
    .

    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.

  6. #6
    Join Date
    Dec 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: HTTP 500 Internal Server Error accessing admin pages

    I have a FreeBSD VPS, and have access to my own php.ini
    I had set the time zone to Canada/Vancouver, now changed to America/Los Angeles which made no difference.

    This is my date section, is my syntax right?

    [Date]
    ; Defines the default timezone used by the date functions
    ; http://php.net/date.timezone
    date.timezone = America/Los Angeles
    ;date.timezone = Canada/Vancouver

    Furthermore I have two other zen cart store running on the same server and with no issues, problem of locked out admin section only on of the three.

    Does any of this help you to help me? I seriously doubt it but had to ask before reinstalling and losing the catalog we have spent months building. Which brings me to the next question, is it possble to backup/restore just product catalog using mysqldump?

    Thanks again for your help so far.

    D

  7. #7
    Join Date
    Dec 2008
    Posts
    8
    Plugin Contributions
    0

    Default Re: HTTP 500 Internal Server Error accessing admin pages

    Just realized that the date.timezone error is a red herring, the other two store have the exact same error in their error logs.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: HTTP 500 Internal Server Error accessing admin pages

    Quote Originally Posted by drcubi View Post
    have no idea how to resolve short of resinstalling from the ground up which would be pretty extreme.
    Yes, that would be excessively extreme. And probably wouldn't solve the problem ... because there's still no certainty that the problem has anything to do with Zen Cart.

    What has your hosting company said about the matter? After all, you did say it was working just fine before the server was rebooted. And so that means the problem is a result of things that had been changed by the server administrator, and which didn't take effect until the reboot. So, *they* are the ones who need to identify what those changes were.
    Perhaps they didn't tell you that they changed all kinds of security rules such as mod_security and/or things related to folders/files having varying permission levels that are suddenly no longer compatible with the way your store has been working just fine all along until their change.


    But, if you really want to explore the "reinstall" idea, you could always do a fresh install of another Zen Cart store in another folder and database, and see what happens. Further, you could use the approach of comparing all your "broken" store's files against a clean copy of Zen Cart, and then sort out the differences. http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    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. Replies: 13
    Last Post: 4 Jun 2011, 02:31 PM
  3. Http 500 internal server error
    By largesse1 in forum Templates, Stylesheets, Page Layout
    Replies: 45
    Last Post: 28 Mar 2011, 03:32 AM
  4. Update causing http 500 internal server error in admin
    By TheHYPO in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 7 Jan 2011, 10:38 AM
  5. HTTP 500 internal server error
    By YvonneK in forum Basic Configuration
    Replies: 1
    Last Post: 31 Aug 2009, 01:52 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR