如果出現錯誤,這裏是部分。
Fatal 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]}");
非常感謝!欣賞!
感謝您的回覆!這是一個在PHP4上運行良好的開源軟件代碼。現在我嘗試在PHP5上,並有錯誤:/我不擅長在PHP:/根據您的建議,試圖解決這個問題... – 2009-10-29 14:06:49
所以我怎麼編輯? :/如果我在上面放一個班,其他頁面不工作...大混亂 – 2009-10-29 14:15:09
哇!我愛你@@@@!!!!生命保護!!!!感謝一位很多人! :))woaaaa太開心了! – 2009-10-29 14:40:09