Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error in advanced search page.

    Right now your site is giving a blank page on any click to the search.
    That means a Fatal error is happening. But so far (after fixing the missing recaptcha files error) all you've posted are warnings, not fatal errors. Those usually don't trigger a blank page. That makes me wonder: what's the new 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.

  2. #22
    Join Date
    Feb 2013
    Posts
    345
    Plugin Contributions
    0

    Default Re: Error in advanced search page.

    Quote Originally Posted by DrByte View Post
    Right now your site is giving a blank page on any click to the search.
    That means a Fatal error is happening. But so far (after fixing the missing recaptcha files error) all you've posted are warnings, not fatal errors. Those usually don't trigger a blank page. That makes me wonder: what's the new error?
    Yikes.. when i did the restore i didn't put the fix back in for this. try it now please.

  3. #23
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error in advanced search page.

    The blank page is resolved.
    .

    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.

  4. #24
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Error in advanced search page.

    Quote Originally Posted by lidlchris View Post
    ok, i got lost with all the errors so i restored my site back to before this all started. Most issues are fixed. the 'division by zero' issue apparently is not fixed. Here is the error i got today when it looks like someone was doing a search?

    HTML Code:
    [17-Dec-2018 07:35:46 UTC] Request URI: /index.php?main_page=index&manufacturers_id=52&sort=20a&page=all, IP address: 157.55.39.129
    #1  splitPageResults->__construct() called at [/home/honor/public_html/includes/modules/responsive_sheffield_blue/product_listing.php:16]
    #2  include(/home/honor/public_html/includes/modules/responsive_sheffield_blue/product_listing.php) called at [/home/honor/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_product_listing.php:13]
    #3  require(/home/honor/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_modules_product_listing.php) called at [/home/honor/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_index_product_list.php:156]
    #4  require(/home/honor/public_html/includes/templates/responsive_sheffield_blue/templates/tpl_index_product_list.php) called at [/home/honor/public_html/includes/modules/pages/index/main_template_vars.php:241]
    #5  require(/home/honor/public_html/includes/modules/pages/index/main_template_vars.php) called at [/home/honor/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php:229]
    #6  require(/home/honor/public_html/includes/templates/responsive_sheffield_blue/common/tpl_main_page.php) called at [/home/honor/public_html/index.php:97]
    
    [17-Dec-2018 07:35:46 UTC] PHP Warning:  Division by zero in /home/honor/public_html/includes/classes/split_page_results.php on line 95
    Based on the line numbers of what you've posted here, it appears that your Admin->Configuration setting for Maximum-Values-> Products Listing- Number Per Page is set to blank or 0. Hence the division-by-zero warning.
    I recommend using either the default of 10 or maybe 25 depending on what suits your site best.

    EDIT: actually, instead of blank or 0, it's even more likely that you've got some other non-numeric value in there (like a word) ... in v155 we specifically built-in a check to catch blank strings or 0 and override it to 20 in those cases, hence why it may be a word in your case.
    .

    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.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 1
    Last Post: 5 Sep 2014, 01:05 PM
  2. Replies: 10
    Last Post: 4 Oct 2010, 11:08 PM
  3. Replies: 5
    Last Post: 20 Apr 2010, 12:54 PM
  4. Remove 'Search by Date Added' field from advanced search page?
    By gaffettape in forum General Questions
    Replies: 7
    Last Post: 24 Jan 2010, 03:34 PM
  5. How to align search criteria boxes on advanced search page?
    By shinyadornments in forum Basic Configuration
    Replies: 1
    Last Post: 29 Jan 2008, 06:36 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