Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2010
    Location
    Albuquerque, NM
    Posts
    198
    Plugin Contributions
    0

    Default Featured Products - View All - showing blank page

    Hi, I just discovered that if you go to my Featured Products page and click View All, it shows a blank white page with WARNING: An Error occurred, please refresh the page and try again.

    The debug logs show this:
    HTML Code:
    [13-May-2015 14:52:24 America/Los_Angeles] PHP Warning:  mysqli_query(): Empty query in /home/xxx/public_html/store/includes/classes/db/mysql/query_factory.php on line 43
    [13-May-2015 14:52:24 America/Los_Angeles] PHP Fatal error:  0: ::  ==> (as called by) /home/xxx/public_html/store/includes/classes/split_page_results.php on line 54 <== in /home/xxx/public_html/store/includes/classes/db/mysql/query_factory.php on line 155
    I'm not sure where to begin figuring out the root of this problem. I looked at those two files mentioned in the debug log, and by the date I can tell that I haven't modified them in any way.

    Any ideas how to figure out the problem? Thanks!!

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,378
    Plugin Contributions
    9

    Default Re: Featured Products - View All - showing blank page

    Quote Originally Posted by BlackOrchidCouture View Post
    Hi, I just discovered that if you go to my Featured Products page and click View All, it shows a blank white page with WARNING: An Error occurred, please refresh the page and try again.

    The debug logs show this:
    HTML Code:
    [13-May-2015 14:52:24 America/Los_Angeles] PHP Warning:  mysqli_query(): Empty query in /home/xxx/public_html/store/includes/classes/db/mysql/query_factory.php on line 43
    [13-May-2015 14:52:24 America/Los_Angeles] PHP Fatal error:  0: ::  ==> (as called by) /home/xxx/public_html/store/includes/classes/split_page_results.php on line 54 <== in /home/xxx/public_html/store/includes/classes/db/mysql/query_factory.php on line 155
    I'm not sure where to begin figuring out the root of this problem. I looked at those two files mentioned in the debug log, and by the date I can tell that I haven't modified them in any way.

    Any ideas how to figure out the problem? Thanks!!
    Look at

    https://www.zen-cart.com/content.php...t-of-a-page%29

  3. #3
    Join Date
    Apr 2010
    Location
    Albuquerque, NM
    Posts
    198
    Plugin Contributions
    0

    Default Re: Featured Products - View All - showing blank page

    Hi, thanks for posting on this. I looked at that page, and I enabled strict error reporting just long enough to see what would happen on the Featured Products - All page, and this is all I saw on the page:

    0
    in:
    []

    So it doesn't tell me much except that somehow I think it can't access the database for all featured products so nothing is being returned. I looked at my tables in my database, and there is one called featured, is there supposed to be another one for all featured products? Probably not.

    Anyway, I found a quick workaround which will at least allow that page to never be accessed, under admin/configuration/maximum values, if I have the Products Listing- Number Per Page at a number larger than the number of featured products I have, then they all show on the page so there's no View All button, so no need to access that page. That should work for now, the place this showed up was in Webmaster Tools, the page showed a server error. Hopefully google can bypass it now....

    If anyone can think of a way to fix it I'd still love to, just don't like knowing that there are errors, even if the page won't be accessed! Thanks!!!!

 

 

Similar Threads

  1. v151 All products and featured products no longer showing
    By mrcastle in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Nov 2015, 07:38 PM
  2. Home page showing but all other pages are blank
    By solidrock in forum General Questions
    Replies: 1
    Last Post: 12 Jan 2011, 04:42 PM
  3. Show Featured Products on Missing Product Page showing products weird
    By margecc in forum Customization from the Admin
    Replies: 7
    Last Post: 24 Sep 2009, 05:01 AM
  4. Change to Gallery view for New / Featured / All products link?
    By alimtlai in forum Basic Configuration
    Replies: 5
    Last Post: 31 Aug 2009, 05:07 PM
  5. Showing Featured Products On Outside Page
    By ft11 in forum General Questions
    Replies: 2
    Last Post: 24 Aug 2007, 10:12 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