Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2009
    Posts
    15
    Plugin Contributions
    0

    Default Search Results show a completely blank page?

    Whether I search from the sidebar or the advanced search page, it returns a completely blank page. No theme nothing. There are no error messages either.

    Any Ideas?

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Search Results Not Showing


  3. #3
    Join Date
    Apr 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Search Results Not Showing

    It's not just happening with the search. Below are the error messages. Also, I have not touched any of the files in the error messages.

    These are the cache my debug errors that I'm getting:

    [09-Mar-2012 09:15:04] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/smalltow/public_html/cart/includes/languages/english/brew/advanced_search_result.php:137) in /home/smalltow/public_html/cart/includes/functions/functions_general.php on line 45

    [09-Mar-2012 10:24:21] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/smalltow/public_html/cart/includes/languages/english/modules/shipping/flat.php:53) in /home/smalltow/public_html/cart/includes/functions/functions_general.php on line 45

    [09-Mar-2012 10:24:25] PHP Warning: Invalid argument supplied for foreach() in /home/smalltow/public_html/cart/includes/modules/pages/checkout_shipping/header_php.php on line 381

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Search Results Not Showing

    The advanced_search_result.php file only has 69 lines, so the fact that the error message is talking about line 137 means that whoever edited it probably did so with something other than a text editor and ended up with a extra space or line at the bottom of the file. Check that, or just remove that file from your override folder to use the default, unedited file.

  5. #5
    Join Date
    Apr 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Search Results Not Showing

    Found the search error. extra lines after the closing php tag.

    Another error: during checkout when going from step 1 to step 2 I get the same blank page. the error reads:

    [09-Mar-2012 11:28:03] PHP Warning: Invalid argument supplied for foreach() in /home/smalltow/public_html/cart/includes/modules/pages/checkout_shipping/header_php.php on line 381

    header_php.php is attached.

    Thanks for all your help!
    Attached Files Attached Files

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Search Results show a completely blank page?

    Same deal, except this time your copy of that file is double-spaced. Replace it with a unedited copy from the Zencart zip file.

    This sort of thing usually results from editing PHP files in something like Dreamweaver. Only use a good text editor on PHP files.

 

 

Similar Threads

  1. Search Results show code
    By UnSub in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 21 Jan 2011, 08:53 PM
  2. search results shows blank screen
    By Graphic Content in forum General Questions
    Replies: 1
    Last Post: 22 Dec 2008, 07:03 PM
  3. Don't show documents in search results
    By MattC in forum General Questions
    Replies: 4
    Last Post: 5 Feb 2007, 05:42 AM
  4. Replies: 5
    Last Post: 31 Jan 2007, 10:12 PM
  5. Replies: 8
    Last Post: 5 Dec 2006, 10:52 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