Zen Cart Logo
Forums / General Questions / Searching ends white blank screen

Searching ends white blank screen

Locked

Views: 2,311

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
18 May 2007, 4:26 PM
#1
tomcz avatar

tomcz

New Zenner

Join Date:
Feb 2007
Location:
Prague
Posts:
53
Plugin Contributions:
0

Searching ends white blank screen

Hi all,

one customer told me that the searching in my shop does not work. I try to search some words and it is true. Ii you try to search something the searching ends at a white blank screen. You can try it here: www.rctomik.eu (it is the same in Czech, English ...). Our second shop has the same problem. After instalation, it was OK, but I did not use searching for a long time so I can not say when the problem started.

Does anybody know what I can try to find the reason of this problem ?

20 May 2007, 4:06 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Searching ends white blank screen

I would try to reload the files for:
/includes/modules/pages/advanced_search_result/.

20 May 2007, 4:07 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Searching ends white blank screen

Also a good test is to switch to the Classic Template and make sure this is not your template itself breaking things ...

21 May 2007, 5:54 AM
#4
tomcz avatar

tomcz

New Zenner

Join Date:
Feb 2007
Location:
Prague
Posts:
53
Plugin Contributions:
0

Re: Searching ends white blank screen

Hi Ajeh, thank you for your answer. I try to switch to the Classic temaplte, but it is the same problem and I also try to the original file header_php.php from ZC 1.3.7 instalation to my /includes/modules/pages/advanced_search_result/ store directory. I have no other files in this directory.
But the search results are still the same. Any other idea ? I really would like to solve this problem :(

21 May 2007, 2:27 PM
#5
tomcz avatar

tomcz

New Zenner

Join Date:
Feb 2007
Location:
Prague
Posts:
53
Plugin Contributions:
0

Re: Searching ends white blank screen

I try to use the header search box, but the problem is the same :cry:

22 May 2007, 3:47 AM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Searching ends white blank screen

Might get something like Beyond Compare from scootersoftware.com to see what is different on your site vs the default Zen Cart v1.3.7 ...

22 May 2007, 4:59 AM
#7
tomcz avatar

tomcz

New Zenner

Join Date:
Feb 2007
Location:
Prague
Posts:
53
Plugin Contributions:
0

Re: Searching ends white blank screen

So, you think to install new original 1.3.7 and then try to compare the differents ?
So I try.

Don´t you know if there is something I can track step by step what is going on when I press the search button ?

23 May 2007, 7:16 PM
#8
tomcz avatar

tomcz

New Zenner

Join Date:
Feb 2007
Location:
Prague
Posts:
53
Plugin Contributions:
0

Re: Searching ends white blank screen

So, thanks to one e-mail consultation, may be I found the problem, but don´t know how to solve it.

The searching ends at blank screen on the server but when I try it on my local machine I get this error:

Fatal error: Only variables can be passed by reference in c:\program files\easyphp1-8\www\rctomikshop\includes\modules\pages\advanced_search_result\header_php.php on line 60The reason is bacuase of differnt setup for error reporting on the server and on the loacl machine.

It is not only me who have the same problem:
http://www.google.com/search?hl=en&q=%22Fatal+error%3A+Only+variables+can+be+passed+by+reference%22&btnG=Google+Search
http://www.google.com/search?hl=en&q=%22Fatal+error%3A+Only+variables+can+be+passed+by+reference%22&btnG=Google+Search>

The first result from google gives the explanation:
http://bugs.php.net/bug.php?id=33643

In the file header_php.php on line 60 is:

if (!zen_checkdate($dfrom, DOB_FORMAT_STRING, $dfrom_array)) {and in the function in file zen-cart-v1.3.7-full-fileset-12302006\includes\functions\functions_general.php is:
function zen_checkdate($date_to_check, $format_string, &$date_array) {Does anybody know how to solve the problem with: &$date_array

We think that it is necessary to use for every link temporary variable if it is right in English):
http://the-stickman.com/web-development/php/php-505-fatal-error-only-variables-can-be-passed-by-reference/

Please, can someone help me ? I am not good in PHP.