Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36
  1. #1
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Admin And Checkout Throw 500 Error

    I'm running Zencart pretty vanilla at this point.

    I had someone report that there were problems checking out. So I went into admin and was looking around. I think I made some minimal change and now I can't use admin anymore without 500 errors throwing.

    My logs don't feel helpful, they reference a module I have and I removed the .php hoping that might fix things.

    My host's cpanel shows a high load and some low space on some partitions but not 100% on either.

    How do I troubleshoot? I can generate the 500 error anytime I try to check out and when I try to just go to the admin page but it's not really sending a log each time to look through.

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,475
    Plugin Contributions
    11

    Default Re: Admin And Checkout Throw 500 Error

    What answer does your host have for you?

  3. #3
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: Admin And Checkout Throw 500 Error

    Quote Originally Posted by dbltoe View Post
    What answer does your host have for you?

    I haven't heard back from them yet

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,310
    Plugin Contributions
    125

    Default Re: Admin And Checkout Throw 500 Error

    If you're running Zen Cart 1.5.7 and your host updated PHP to a more recent version, it could certainly cause some 500 errors.

    Check your PHP version.

    https://docs.zen-cart.com/user/first_steps/version/
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: Admin And Checkout Throw 500 Error

    Quote Originally Posted by swguy View Post
    If you're running Zen Cart 1.5.7 and your host updated PHP to a more recent version, it could certainly cause some 500 errors.

    Check your PHP version.

    https://docs.zen-cart.com/user/first_steps/version/
    I just went into MultiPHP Manager and forced 7.4 on my main domain and that didn't seem to help.

  6. #6
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: Admin And Checkout Throw 500 Error

    And also can't get into admin to see what versions of thing it's showing in there

  7. #7
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: Admin And Checkout Throw 500 Error

    I do notice each page that doesn't load says it's not secured like it couldn't load the cert but I don't think that is the problem but a symptom

  8. #8
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,475
    Plugin Contributions
    11

    Default Re: Admin And Checkout Throw 500 Error

    In your cPanel's File Manager, take a look at your .htaccess.

    It will be different numbers, but when cPanel forces a version of PHP, it should show in the .htaccess file.

    This is one using 8.0. Yours may not have the leading "ea-"

    Code:
    # php -- BEGIN cPanel-generated handler, do not edit# Set the “ea-php80” package as the default “PHP” programming language.
    <IfModule mime_module>
      AddHandler application/x-httpd-ea-php80 .php .php8 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
    If you still have not heard from your host, I would leave. cPanel makes it easy.

  9. #9
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: Admin And Checkout Throw 500 Error

    Yep still haven't hear from my host, they are usually snappy.

    Well I installed a fresh 2.0.1 in another path and copied my database and upgraded it from 1.5.7 to 2.0.1 via the installer. I have forced PHP 8.1 on the domain to make sure the PHP works (that is the highest version I see available on my site). I can get into my admin area no problem, but tried to go to checkout and have similar issues.

    I did a third install with Sofaculus and didn't move any database information and made a $1 test item. I could check out fully but every page I submitted gave me a "this is insecure" popup. I can see my cert on each page installed and valid so really unsure of why it would be throwing errors like that. Maybe this is part of my problem?

  10. #10
    Join Date
    Sep 2017
    Location
    Raleigh, NC, United States
    Posts
    73
    Plugin Contributions
    0

    Default Re: Admin And Checkout Throw 500 Error

    Here is my test upgrade, migration page that throws an error
    https://tolivealie.com/store2/index....ckout_shipping

    And here is the Softaculus generated one with just a test item, it will let you go to this page without an error
    https://tolivealie.com/store3/index....ckout_shipping
    but if you were to create an account it would then throw this
    Name:  Screenshot 2024-10-31 151456.jpg
Views: 11
Size:  15.4 KB

    I'm at a loss here now. I thought I would be able to rebuild.

    Let me check the .htaccess when I move my PHP back to 7.4

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Replies: 2
    Last Post: 18 Feb 2015, 06:59 PM
  2. v138a 500 Error When Viewing Admin and Cart Page
    By aweise in forum Installing on a Windows Server
    Replies: 3
    Last Post: 24 May 2012, 07:09 AM
  3. HTTP Error 500 when browsing homepage and admin
    By seasheps in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 11 Feb 2011, 12:25 AM
  4. Replies: 2
    Last Post: 11 Nov 2009, 12:07 PM
  5. Error 500 in admin after trying to install google checkout mod
    By thecookbookshop in forum Addon Payment Modules
    Replies: 0
    Last Post: 11 Sep 2008, 04:09 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