I know it is too late but for future reference
http://www.opengl.org/wiki/index.php/GLSL_:_common_mistakes
Also, it will render your triangle whether you enable or disable those texture units when you are in fixed pipeline mode. Clear your background to some other color to be sure.