Updated

Congress enacted a massive election-year farm bill Thursday over President Bush's veto, sending new and bigger subsidies for farmers and more food stamps to help the poor with rising grocery prices.

The 82-13 vote in the Senate following a 316-108 vote Wednesday night in the House provided Democrats only their second veto override in Bush's presidency.

However not all of the bill that Congress passed last week is becoming law immediately. Due to a printing glitch, the version that Bush vetoed was missing 34 pages on international food aid and trade — a mistake that may require Congress to send the White House yet another bill.

The president claimed the legislation was too expensive and too generous with subsidies for farmers who are already enjoying record high prices and incomes.

The $290 billion bill increases food stamps by $1 billion a year. It also increases subsidies for some crops and for the first time subsidizes growers of fresh fruits and vegetables.

The printing error turned a triumphant political victory into a vexing embarrassment for Democrats.

The party's leaders in the House decided to pass the bill again, including the missing section in the version that Bush got. That vote was 306-110, again enough to override another veto from Bush should the need arise.

Democratic leadership aides said the Senate will deal with the problem when Congress returns in June from a one-week vacation.

House Republicans used the error to plead Democratic incompetence. They complained that Bush vetoed a different bill from the one Congress passed, raising questions that the eventual law would be unconstitutional.

The White House also seized on the error.

"Maybe it gives them one more chance to take a look and think about how much they're asking the taxpayers to spend at a time of record farm income," said White House spokeswoman Dana Perino. "I think what this clearly shows is that they can even screw up spending the taxpayers' money unwisely."

Reid said the process is entirely legal.

"We have, under good legal precedent, going back to a case I understand in 1892 where something like this happened before, it is totally constitutional," he said.

Robert B. Dove, a former Senate parliamentarian, agreed.

"It really doesn't matter what Congress actually does, all that matters is what goes to the president," he said. "The courts don't really want to get into the workings of Congress and try to figure out what the Congress really meant to do."

But House Republicans continued to berate Democrats over the mistake, delaying action by forcing the House into a vote over whether the Democrats should be investigated for abuse of power. The motion was dismissed on a party line vote.

"The House should not gloss over an incident of this magnitude," Rep. Doc Hastings, R-Wash., said on the House floor. "It's a serious constitutional violation."