Arduino problrm

I have uploaded both codes when all the modules are attached, including the keypad and the LCD, in both cases .

I will try to remove modules and the attach them one by one and check ..