Okay, you've fixed "cli.php" and "seed.php" then successfully connect to the Amazon server. But now you're seeing errors from the Amazon server. If so, then try seeding the platforms table in your gamenomad database:
--
-- Database: `gamenomad`
--
-- --------------------------------------------------------
--
-- Table structure for table `platforms`
--
CREATE TABLE IF NOT EXISTS `platforms` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`abbreviation` varchar(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `platforms`
--
INSERT INTO `platforms` (`id`, `name`, `abbreviation`) VALUES
(1, 'Xbox 360', '360'),
(2, 'PlayStation 3', 'PS3'),
(3, 'Nintendo Wii', 'Wii');
Once I did that, the games table in my gamenomad database was seeded with hundreds of game descriptions from their games catalog.
(Note: changed the abbreviation for 'Xbox 360' to '360' -- July 5, 2011 -- FD)
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment