aquí está la parte si tiene un error.
Fatal error: Using $this when not in object context in /pb_events.php on line 6
línea 6 es: $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]}");
Muchas gracias! ¡apreciar!
gracias por la respuesta! este es un código de softwares de código abierto que funcionaba bien en PHP4. ahora probé en PHP5 y tengo errores:/No soy muy bueno en php:/tratando de resolver el problema de acuerdo a su consejo ... –
entonces, ¿cómo puedo editar esto? :/si pongo una clase en la parte superior, las otras páginas no funcionan ... gran lío –
wowowowow man !! TE [email protected]@@@!!!! ¡AHORRADOR DE VIDA! ¡¡MUCHAS GRACIAS HOMBRE!! :)) woaaaa tan feliz !! –