qui è la parte in caso di errore.
Fatal error: Using $this when not in object context in /pb_events.php on line 6
linea 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]}");
Grazie mille! apprezzare!
grazie per la risposta! questo è un codice software opensource che funzionava bene su PHP4. ora proverò su PHP5 e ho degli errori:/Non sono molto bravo con PHP:/sto cercando di risolvere il problema secondo i tuoi consigli ... –
quindi come posso modificare questo? :/se metto una classe in cima, le altre pagine non funzionano ... gran casino –
wow Eeeek !!! TI [email protected]@@@!!!! SALVAVITA!!!! GRAZIE A LOT UOMO !! :)) woaaaa così felice !! –