Web server of the project site buggy or is it the forum? (General)
Just to add after updating the code these errors show
PHP Warning: mysqli_fetch_assoc() expects exactly 1 parameter, 2 given in ... includes/admin.inc.php on line 1189
PHP Warning: Invalid argument supplied for foreach() in ... admin.inc.php on line 1222
I'm sorry, my example code in the former posting was broken (I corrected it meanwhile). Change …
while ($line = mysqli_fetch_assoc($connid, $rGetSettingsEdit)) {
… to …
while ($line = mysqli_fetch_assoc($rGetSettingsEdit)) {
… on both places (settings section and advanced settings section).
And there is a further code change. Go to functions.inc.php
, line 93 and change it from …
if ($current_time > intval($nda[0]['value'])) {
… to …
if ($current_time > intval($nda['value'])) {
That should solve Juanma's issue with the undefined offset.
Tschö, Auge
--
Trenne niemals Müll, denn er hat nur eine Silbe!