Results 1 to 10 of 10
  1. #1
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    red flag main_page=shopping_cart page showing HTTP ERROR 500

    Problem is intermittent.
    Sometimes goes to checkout sometimes shows the error page (same product or different regardless)

    Not sure which files I should check?

    Can anyone please advice?

    Cheers

    Site : http://premiersalon.com.au/index.php...8#.XZvMsEYza1u

    Or search for a product "Professional Salon Kit - $1250.00" it finds it but when you add to cart next page shows the error.
    =======================
    This page isn’t workingpremiersalon.com.au is currently unable to handle this request.
    HTTP ERROR 500
    ====================
    Downunder QLD

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: main_page=shopping_cart page showing HTTP ERROR 500

    99.9999% of the time, a Server 500 means that there's a myDEBUG*.log file in the site's /logs directory identifying the source of the error.

  3. #3
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: main_page=shopping_cart page showing HTTP ERROR 500

    Here is the log
    =======================
    [08-Oct-2019 20:34:18 Australia/Brisbane] Request URI: /products_all.html?disp_order=1&page=15, IP address: 54.36.148.144
    #1 include() called at [/home/premiers/public_html/includes/autoload_func.php:60]
    #2 require(/home/premiers/public_html/includes/autoload_func.php) called at [/home/premiers/public_html/includes/application_top.php:170]
    #3 require(/home/premiers/public_html/includes/application_top.php) called at [/home/premiers/public_html/index.php:26]

    [08-Oct-2019 20:34:18 Australia/Brisbane] PHP Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /home/premiers/public_html/includes/classes/usu.php on line 1015
    [08-Oct-2019 20:34:18 Australia/Brisbane] PHP Fatal error: Uncaught Error: Call to undefined function mysqli_close() in /home/premiers/public_html/includes/classes/db/mysql/query_factory.php:131
    Stack trace:
    #0 /home/premiers/public_html/includes/classes/db/mysql/query_factory.php(136): queryFactory->close()
    #1 [internal function]: queryFactory->__destruct()
    #2 {main}
    thrown in /home/premiers/public_html/includes/classes/db/mysql/query_factory.php on line 131
    Downunder QLD

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: main_page=shopping_cart page showing HTTP ERROR 500

    The second log, anyway, indicates that you're using a down-level version of USU (https://www.zen-cart.com/downloads.php?do=file&id=132), currently at v3.0.2.

  5. #5
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: main_page=shopping_cart page showing HTTP ERROR 500

    That was quick. thanks. So I will update this mod today. Hope it will fix this blank page issue.
    Thanks again for super response when I really needed it :-)
    Downunder QLD

  6. #6
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: main_page=shopping_cart page showing HTTP ERROR 500

    I had to manually remove old version of the Ultimate URLs as the link at
    Note: If you are upgrading from a version of USU prior to v3.0.0, follow the steps outlined here to remove previous versions' changes to Zen Cart core-files, then proceed to Installation and Upgrades.

    Problem still exists.. strangely I am not getting any error logs either.

    Changing theme to "Responsive" zencart theme also still gives the same error.. what does that tell you?

    .. page resulted 404 not found.
    Name:  seo-URLs.jpg
Views: 159
Size:  32.6 KB
    Last edited by oavs; 9 Oct 2019 at 02:14 AM.
    Downunder QLD

  7. #7
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: main_page=shopping_cart page showing HTTP ERROR 500

    "Note: If you are upgrading from a version of USU prior to v3.0.0, follow the steps outlined here to remove previous versions' changes to Zen Cart core-files, then proceed to Installation and Upgrades." >>>> .. page resulted 404 not found.
    Downunder QLD

  8. #8
    Join Date
    Jan 2006
    Location
    Downunder - QLD - Gold Coast
    Posts
    964
    Plugin Contributions
    0

    Default Re: main_page=shopping_cart page showing HTTP ERROR 500

    Ok After updating some files I am getting now this log.
    =====================
    [09-Oct-2019 11:13:21 Australia/Brisbane] Request URI: /dpu_ajax.php, IP address: 14.202.99.123
    #1 each() called at [/home/premiers/public_html/includes/classes/dynamic_price_updater.php:188]
    #2 DPU->getSideboxContent() called at [/home/premiers/public_html/includes/classes/dynamic_price_updater.php:59]
    #3 DPU->getDetails() called at [/home/premiers/public_html/dpu_ajax.php:16]

    [09-Oct-2019 11:13:21 Australia/Brisbane] PHP Warning: Variable passed to each() is not an array or object in /home/premiers/public_html/includes/classes/dynamic_price_updater.php on line 188
    Downunder QLD

  9. #9
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: main_page=shopping_cart page showing HTTP ERROR 500

    Quote Originally Posted by oavs View Post
    Ok After updating some files I am getting now this log.
    =====================
    [09-Oct-2019 11:13:21 Australia/Brisbane] Request URI: /dpu_ajax.php, IP address: 14.202.99.123
    #1 each() called at [/home/premiers/public_html/includes/classes/dynamic_price_updater.php:188]
    #2 DPU->getSideboxContent() called at [/home/premiers/public_html/includes/classes/dynamic_price_updater.php:59]
    #3 DPU->getDetails() called at [/home/premiers/public_html/dpu_ajax.php:16]

    [09-Oct-2019 11:13:21 Australia/Brisbane] PHP Warning: Variable passed to each() is not an array or object in /home/premiers/public_html/includes/classes/dynamic_price_updater.php on line 188
    That's related to dynamic price updater. Not sure, but may also be an old version of the software. The each usage was replaced with a foreach loop.

    Please be sure to update all of your plugins to the current version because if they have recently been modified they should be compatible with the current version of Zen Cart
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #10
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,474
    Plugin Contributions
    88

    Default Re: main_page=shopping_cart page showing HTTP ERROR 500

    Quote Originally Posted by oavs View Post
    "Note: If you are upgrading from a version of USU prior to v3.0.0, follow the steps outlined here to remove previous versions' changes to Zen Cart core-files, then proceed to Installation and Upgrades." >>>> .. page resulted 404 not found.
    Here's the correct link: https://github.com/lat9/usu/blob/mas...ade_from_v2.md
    Last edited by lat9; 9 Oct 2019 at 12:45 PM.

 

 

Similar Threads

  1. v155 Store works fine but admin page give HTTP ERROR 500
    By Arunachala in forum General Questions
    Replies: 10
    Last Post: 14 Aug 2017, 05:10 AM
  2. CHeckout Page Special Characters cause HTTP 500 Server error
    By split63 in forum General Questions
    Replies: 13
    Last Post: 24 Aug 2012, 10:03 PM
  3. v150 HTTP Error 500 is showing at the time of checkout
    By ajayrathore in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 9 Jun 2012, 12:28 AM
  4. getting HTTP 500 error in admin page after installation
    By alkayem in forum Basic Configuration
    Replies: 6
    Last Post: 31 Aug 2011, 03:26 AM
  5. Replies: 0
    Last Post: 2 Oct 2008, 01:26 AM

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