Zen Cart Logo
Forums / General Questions / Empty Search Returns Blank Page

Empty Search Returns Blank Page

Locked

Views: 1,750

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
3 Jun 2009, 1:54 PM
#1
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Empty Search Returns Blank Page

I found something interesting today and thought I would post it up.

I was having an issue where just clicking the search button in the search header was returning a blank screen.

I was also getting a blank screen on certain searches and then trying to sort a search.

The issue was caused by a few blank lines after my ?> end php tag in my extra_functions.php file.

(my file actually is named functions_abc.php but is in the extra_functions folder)

I deleted the blank lines and search works normal now.

Dave Dawson
zencart 1.3.8a

3 Jun 2009, 1:57 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Empty Search Returns Blank Page

Thanks for the update that you discovered removing the blank space(s) or line(s) before the starting php bracket <?php** or after the ending php bracket **?> will often fix the blank white page issue ... :smile:

9 Nov 2009, 5:36 PM
#3
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: Empty Search Returns Blank Page

I am having the same issues. I didn't have any blank lines at the end of extra_functions.php. I didn't have this issue before and now I do. Any suggestions? Thank you!

9 Nov 2009, 5:50 PM
#4
laisunshine avatar

laisunshine

New Zenner

Join Date:
Nov 2007
Posts:
59
Plugin Contributions:
0

Re: Empty Search Returns Blank Page

I downloaded the Debug Error Utility and found where my error was. Super neat!! Thanks!

9 Nov 2009, 6:17 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Empty Search Returns Blank Page

Thanks for the update that the Debug Tool from the Free Software Add Ons was help to help you locate your error on the white blank page displayed ... :smile: