Hi,
Ik krijg een paar irritante PHP foutmeldingen, hopen dat jullie me kunnen helpen.
Foutmelding 1:
Notice: Undefined index: hash in /home/shahiem/domains/***/public_html/includes/class/leden.class.php on line 79
Code:
Foutmelding 2:
Notice: Undefined variable: retStr
Code:
Foutmelding 3:
Warning: Cannot modify header information - headers already sent by (output started at /home/shahiem/domains/public_html/includes/class/leden.class.php:79) in /home/shahiem/domains/public_html/includes/class/leden.class.php on line 108
Ik krijg een paar irritante PHP foutmeldingen, hopen dat jullie me kunnen helpen.
Foutmelding 1:
Notice: Undefined index: hash in /home/shahiem/domains/***/public_html/includes/class/leden.class.php on line 79
Code:
$cookieQuery = $this->mysql->query("SELECT
lid_id
FROM
leden_sessies
WHERE
hash = ".$this->mysql->escape($_SESSION[hash])."
AND
ip = ".$_SERVER[REMOTE_ADDR].""); Foutmelding 2:
Notice: Undefined variable: retStr
Code:
$retStr .= <div class="mysql_error">;
$retStr .= <strong>MySQL error:</strong><br />;
$retStr .= Lege string (escape);
$retstr .= </div>;
return $retStr; Foutmelding 3:
Warning: Cannot modify header information - headers already sent by (output started at /home/shahiem/domains/public_html/includes/class/leden.class.php:79) in /home/shahiem/domains/public_html/includes/class/leden.class.php on line 108
