michelH wrote:
Yesterday 28-05-2010 I did a firmwareupdate and now I can not access my WD anymore.
I can go to the WD via the IP address in my browser and I get the login screen but when I login with admin/admin (never changed) I get the following message:
“Warning: in_array(): Wrong datatype for second argument in /proto/SxM_webui/index.php on line 41”
Also that the login and password do not match.
I had the same problems and more.
In this case it seems the second argument is an array that is empty.
In comparing my My BookWorld II I found two problems:
-
the file /proto/SxM_webui/share/config/.htusers.php was missing.
-
the file /proto/SxM_webui/admin/.htadmin.php was empty (or also missing, I can’t remember exactly).
The web login started working again after fixing these files.
You can find the factory default versions of the files in the directory /etc/.factoryDefault.
Take care not damage the factory default files, 
Alas, the system thinks my DataVolume is running in degraded mode, probably because I connected the mirror to my Linux box to copy some irreplacable data before going further. So, once I’ve got the rest of the data backed up I can actually do a full factory restore from the web interface, hope that fixes it.
Seems fairly bad, these obvious, stupid mistakes in the firmware update.
Anyway, hope this helps.
Ian