hi
what i guess is by ur error message ur trigger is invalid
check ur script again for any spaces fix it then drop the trigger
and recreate it without errors-or probably some other user also owns the same trigger--that also goes for invalidation
-so try to drop it and recreate without errors and check whether it is valid(enabled).