我网站的搜索出问题了。。。 提示如下: Fatal error: Call to undefined function: reppostvar2() in D:\Vhost\qiye56\wwwroot\e\search\index.php on line 62
代码中红色部分就是e\search\index.php 第62行。
if(empty($keyboard)) {printerror("EmptyKeyboard",$getfrom,1);} //关键字限制 if($len<$public_r[min_keyboard]||$len>$public_r[max_keyboard]) {printerror("MinKeyboard",$getfrom,1);}
$keyboard=RepPostVar2($keyboard); //时间范围 if($endtime!="0000-00-00") { $starttimea=$starttime." 00:00:00"; $endtimea=$endtime." 11:59:59"; $add=" and newstime>='$starttimea' and newstime<='$endtimea'"; }
不知道这个函数RepPostVar2() 在什么位置,以及它的作用是什么? 请问各位高人,有没有人知道这个问题怎么解决啊?? 找了一下午了,也没找到解决方案。。。 目前还是4.6的系统。。当时建站的时候稍微做了一下修改,后来也不知道修改了哪些,一直没有升级。。
|