After login, in all pages I see a long sequence on notice and warnings, as you can see in this image: Only happens to me?
Most of the errors are Strict Standards: Creating default object from empty value in... or Trying to get property of non-object in .. or Undefined index on .. or Undefined variable: ...
For some these errors I made a patch.
form.php lines 31-33 (error displayed: Undefined index on .../form.php line 31-32):
Code: Select all
$c = (isset($_GET['c']) ? $_GET['c'] : '');
$delete = (isset($_GET['delete']) ? $_GET['delete'] : '');
//$delete = $_GET['delete']; duplicate
Code: Select all
if ($this->zzsys_user_id == 'globeadmin') {
$userName = 'globeadmin';
} else {
$t = nuRunQuery("SELECT * FROM zzsys_user WHERE zzsys_user_id = '$this->zzsys_user_id'");
$r = db_fetch_object($t);
$userName = $r->sus_login_name;
}
print "<td class='unselected' style='text-align:right;border-style:none;width:30%'>";
if ($this->form->sfo_help != '') {
$help = "title='help' onclick=\"openHelp('".$this->form->zzsys_form_id."')\"";
print "<span $help >($userName) | " . nuTranslate('Help') . "</span>";
} else {
$help = "";
print "<span $help >($userName) </span>";
}
Code: Select all
//-- add session variables
$a['#zzsys_session_id#'] = $_SESSION['nu_session'];
$a['#access_level#'] = $_SESSION['nu_access_level'];
$a['#zzsys_user_id#'] = $_SESSION['nu_user_id'];
$a['#zzsys_user_group_name#'] = $_SESSION['nu_user_group'];
$a['#session_id#'] = $_SESSION['#nu_session#'];
$a['#ses#'] = $_SESSION['#nu_session#'];
$a['#session_parameter#'] = $a['#parameter#'];
However, setting the php.ini display_errors=Off the application works correctly.
I hope this is helpful.