fixes setup php 8.2 'new installation'

Dieser Commit ist enthalten in:
Ortwin Pinke 2023-05-30 09:46:38 +02:00
Ursprung 41c69d53fe
Commit 4b69f07b8f
7 geänderte Dateien mit 23 neuen und 10 gelöschten Zeilen

Datei anzeigen

@ -41,6 +41,7 @@ if (!defined('CON_FRAMEWORK')) {
* DB-class for all DB handling
*/
class DB_ConLite extends DB_Sql {
protected bool $NoRecord;
/**
* Constructor of database class.

Datei anzeigen

@ -866,6 +866,7 @@ class cHTMLRadiobutton extends cHTMLFormElement {
* @access private
*/
var $_value;
protected string $_labelText;
/**
* Constructor. Creates an HTML radio button element.

Datei anzeigen

@ -253,6 +253,4 @@ function txtFileToArray($sFile) {
$aFileArray = explode("\n", file_get_contents($sFile));
}
return $aFileArray;
}
?>
}

Datei anzeigen

@ -33,9 +33,9 @@
class cHTMLAlphaImage extends cHTMLImage {
public $_sClickImage;
public $_sMouseoverClickImage;
public $_sMouseoverSrc;
protected $_sClickImage;
protected $_sMouseoverClickImage;
protected $_sMouseoverSrc;
public function __construct()
{
@ -84,7 +84,8 @@ class cHTMLAlphaImage extends cHTMLImage {
}
class cHTMLErrorMessageList extends cHTMLDiv {
protected cHTMLTable $_oTable;
/**
* cHTMLErrorMessageList list all errors using a table
*/
@ -107,7 +108,13 @@ class cHTMLErrorMessageList extends cHTMLDiv {
}
class cHTMLFoldableErrorMessage extends cHTMLTableRow {
protected cHTMLTableData $_oFolding;
public cHTMLTableData $_oContent;
protected cHTMLTableData $_oIcon;
protected cHTMLAlphaImage $_oIconImg;
protected cHTMLDiv $_oTitle;
protected cHTMLDiv $_oMessage;
/**
*
* @param string $sTitle
@ -173,7 +180,9 @@ class cHTMLFoldableErrorMessage extends cHTMLTableRow {
}
class cHTMLInfoMessage extends cHTMLTableRow {
protected cHTMLTableData $_oTitle;
protected cHTMLTableData $_oMessage;
/**
*
* @param string $sTitle

Datei anzeigen

@ -46,6 +46,8 @@ class cSetupMask {
* @var string
*/
protected $_sHeader;
public mixed $_bBackstep;
public mixed $_bNextstep;
/**
* @param string $sStepTemplate

Datei anzeigen

@ -143,7 +143,7 @@ function canWriteFile($sFilename) {
/* Ignore errors in case isWriteable() returns
* a wrong information
*/
$fp = fopen($sFilename, "w");
$fp = @fopen($sFilename, "w");
if (is_resource($fp)) {
fclose($fp);
}

Datei anzeigen

@ -24,6 +24,8 @@ define("C_SEVERITY_ERROR", 4);
class cSetupSystemtest extends cSetupMask {
public array $_aMessages;
public function __construct($step, $previous, $next) {
parent::__construct("templates/setup/forms/systemtest.tpl", $step);
$bErrors = false;