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?
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?
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
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.
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!
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.