Hello all
I am getting some strange Error messages from my project when I turn on ALL php errors.
[14-Jul-2020 15:59:25 UTC] PHP Notice: Undefined index: password in /home/wwmedev/public_html/include/appsettings.php on line 3630
[14-Jul-2020 19:21:45 UTC] PHP Notice: Undefined index: myqsladdress in /home/wwmedev/public_html/connections/MySQLiConnection.php on line 71
[14-Jul-2020 19:21:45 UTC] PHP Notice: Undefined index: thewas2020_at_localhost in /home/wwmedev/public_html/classes/db.php on line 403
[14-Jul-2020 19:21:45 UTC] PHP Notice: Undefined index: schema in /home/wwmedev/public_html/classes/db.php on line 324
The password errors come from:
/ delete old username & password cookies
if( $_COOKIE["password"] ) {
runner_setcookie("username", "", time() - 1, "", "", false, false);
runner_setcookie("password", "", time() - 1, "", "", false, false);
}
The myqsladdress errors come from:
$hosts = array();
// fix IPv6 slow connection issue
if( $this->host == "localhost" )
{
if( $_SESSION["myqsladdress"] )
$hosts[] = $_SESSION["myqsladdress"];
else
$hosts[] = "127.0.0.1";
}
$hosts[] = $this->host;
The "schema" error comes from and is displayed dozens of times. I think it displays based on the number of tables in my project:
foreach( $dalTables[$conn->connId] as $t )
{
if( $t["schema"] == $tableName["schema"] && $t["name"] == $tableName["table"] )
return $t;
}
The "thewas2020_at_localhost" error comes from the original project name.