Some "basic" errors

some isset before access to an array
define without quotes
a mistake between email and contact variable
+ a warning over the use of ' into CA password

Still not work because i'm looking for $config not initialized variable :(