If you’re getting an unreasonable “Expected Identifier” Javascript error on IE6/7, check to see if you have any variable names which are reserved words.
This also goes for HTML form element names:
<form name="aform">
<input type="text" name="name" />
</form>
Then accessing document.aform.name.value would throw an error since name is a reserved word.
Javascript Reserved Words
abstract
alert
Anchor
Area
arguments
Array
assign
blur
boolean or Boolean
break
Button
byte
callee
caller
captureEvents
case
catch
char
Checkbox
class
clearInterval
clearTimeout
close
closed
comment
confirm
const
constructor
continue
Date
debugger
default
defaultStatus
delete
do
document
Document
double
Element
else
enum
escape
eval
export
extends
false
FileUpload
final
finally
find
float
focus
for
Form
Frame
frames
function
Function
getClass
goto
Hidden
history or [...]
Jeremy Zawodny posted yet another great article over at Linux Magazine on some improved defaults that can save you a lot of grief when your network fails intermittently. In summary:
Faster replication heartbeat (old default is 3600 seconds = 1 hour):
slave_net_timeout 10
Disable DNS hostname lookups:
skip-name-resolve
Sane connection timeout (may need to be raised if your network is [...]