|
![](static/image/common/ico_lz.png)
楼主 |
发表于 2016-10-27 11:33:11
|
显示全部楼层
本帖最后由 shine_xn 于 2016-10-27 11:34 编辑
[error] 1563#0: *9 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to a member function quote() on a non-object in /app/www/CodeIgniter/system/database/drivers/pdo/pdo_driver.php on line 231" while reading response header from upstream, 只能看到这个错误
protected function _escape_str($str)
{
// Escape the string
$str = $this->conn_id->quote($str);
// If there are duplicated quotes, trim them away
return ($str[0] === "'")
? substr($str, 1, -1)
: $str;
}
231行代码。
|
|