这是错误的部分.
原文链接:https://www.f2er.com/php/136682.htmlFatal error: Using $this when not in
object context in
/pb_events.PHP
on line 6
第6行是:$jpp = $this-> vars-> data [“jpp”];
function DoEvents($this) { global $_CONF,$_PAGE,$_TSM,$base; $jpp = $this->vars->data["jpp"]; $cache["departments"] = $this->db->QFetchRowArray("SELECT * FROM {$this->tables[job_departments]}"); $cache["locations"] = $this->db->QFetchRowArray("SELECT * FROM {$this->tables[job_location]}"); $cache["names"] = $this->db->QFetchRowArray("SELECT * FROM {$this->tables[job_names]}"); $cache["categories"] = $this->db->QFetchRowArray("SELECT * FROM {$this->tables[job_categories]}");
非常感谢!欣赏!