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.