LCD Shield not behaving

That looks like this DFRobot shield: http://www.robotshop.com/dfrobot-lcd-keypad-shield-arduino-1.html.

Look at what it says in the description: "Pins 4, 5, 6, 7, 8, 9 and 10 are used to interface with the LCD"

It would be nice if they also told you which pin was which but at least we know that your values are incorrect. Whatever you do, don't use the LCD4Bit sketch that they recommend~~, but do take a look at the sketch and you will probably find the answers that you need~~.

Edit: The schematic has the answer.

//LiquidCrystal lcd(RS, E, D4, D5, D6, D7);
LiquidCrystal lcd(8, 9, 4, 5, 6, 7);

Don