GUI unresponsive: can not start array [solved]


J.Nerdy

Recommended Posts

I can not use the GUI (accessible, and tabs will navigate, but no selection ability) after a CA update.

 

This error code appears on every page 

 

Warning: parse_ini_file(): Filename cannot be empty! in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(357) : eval()'d code on line 9

Any thoughts?

 

Edit:  unable to start array:  even from SSH session.  Though everything appears healthy.

 

Edit2:  I have no familiarity with PHP, but it appears the warning is referencing this block of code:


 

// Build page menus
echo "<div id='menu'><div id='nav-block'><div id='nav-left'>";
foreach ($tasks as $button) {
  $page = $button['name'];
  echo "<div id='nav-item'";
  echo $task==$page ? " class='active'>" : ">";
  echo "<a href='/$page' onclick='initab()'>$page</a></div>";
}
unset($tasks);
if ($display['usage']) my_usage();
echo "</div>";
echo "<div id='nav-right'>";
foreach ($buttons as $button) {
  eval("?>{$button['text']}");
  if (empty($button['Link'])) {
    $icon = $button['Icon'];
    if (substr($icon,-4)=='.png') {
      $icon = "<img src='/{$button['root']}/icons/$icon' class='system'>";
    } elseif (substr($icon,0,5)=='icon-') {
      $icon = "<i class='$icon system'></i>";
    } else {
      if (substr($icon,0,3)!='fa-') $icon = "fa-$icon";
      $icon = "<i class='fa $icon system'></i>";
    }
    $title = $themes2 ? "" : " title='{$button['Title']}'";
    echo "<div id='nav-item' class='{$button['name']} util'><a href='".($button['Href'] ?? '#')."' onclick='{$button['name']}();re
turn false;'{$title}>$icon<span>{$button['Title']}</span></a></div>";
  } else
    echo "<div id='{$button['Link']}'></div>";
}
unset($buttons,$button);
if ($notify['display']) {
  echo "<span id='nav-tub1' class='tub'><i id='box-tub1' class='fa fa-square grey-text'></i><span id='txt-tub1' class='score one'>
0</span></span>";
  echo "<span id='nav-tub2' class='tub'><i id='box-tub2' class='fa fa-square grey-text'></i><span id='txt-tub2' class='score one'>
0</span></span>";
  echo "<span id='nav-tub3' class='tub'><i id='box-tub3' class='fa fa-square grey-text'></i><span id='txt-tub3' class='score one'>
0</span></span>";
}
echo "</div></div></div>";

Line 357 is eval("?>[$button['text']}");

 

EDIT 3:  

 

Changed "start array" to yes in /boot/config/disk.cfg ;rebooted and from command line and still can not get array started (GUI still states Autostart disabled).

 

EDIT 4:  WEIRD!  I was having some problems with a separate array (ThunderBAY attached to Mac mini and had to rebuild directories - have a failed disk that is being replaced).  Completed that operation.  On a whim, I rebooted server again... and everything came back as normal?  They should not be linked (though the array is a network resource for unRAID).  Odd.

 

 

Edited by J.Nerdy
Link to comment

Has anyone fixed this issue? It is happening to me as well.  I cannot click on anything within the tabs and have the same error mentioned above.  I can't run Diagnostics as I cannot click on anything.

 

Warning: parse_ini_file(): Filename cannot be empty! in /usr/local/emhttp/plugins/dynamix/include/DefaultPageLayout.php(357) : eval()'d code on line 9

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.