[2] ErrorException in Connection.php line 368

PDO::prepare(): open_basedir restriction in effect. File(/opt/rasp73/logs/plugin/plugin.log.2024-03-29) is not within the allowed path(s): (/www/wwwroot/www.xj-xry.com.cn/:/tmp/)

  1. $this->free();
  2. }
  3. Db::$queryTimes++;
  4. try {
  5. // 调试开始
  6. $this->debug(true);
  7. // 预处理
  8. if (empty($this->PDOStatement)) {
  9. $this->PDOStatement = $this->linkID->prepare($sql);
  10. }
  11. // 是否为存储过程调用
  12. $procedure = in_array(strtolower(substr(trim($sql), 0, 4)), ['call', 'exec']);
  13. // 参数绑定
  14. if ($procedure) {
  15. $this->bindParam($bind);
  16. } else {
  17. $this->bindValue($bind);
  18. }

Exception Datas

Error Context
sql SELECT * FROM `gppz_redirecturl` ORDER BY id desc
bind []
master false
pdo false