#1 小双
出错文件goods.php$tmp_goodsList = $zc_lib->findSql($sql);
PHP/5.4.4 版本 报错Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\cyxcweb\SpeedPHP\Core\spModel.php on line 436
低436行代码:
$total_count = array_pop( array_pop( $this->model_obj->findSql("SELECT COUNT({$this->model_obj->pk}) as sp_counter FROM ($conditions) sp_tmp_table_pager1") ) );
注释以后不报错,把findSql替换成findAll问题解决,初步判断在PHP/5.4.4 版本中,findSql函数可能存在兼容问题,待jake查证,是否有解决办法?
2015-04-10 13:27:15