3340: loaddp failing with FK error

mack*****@gmai***** (Google Code) (Is this you? Claim this profile.)
July 28, 2014
What version are you running?
1.6.5


What's the URL of the page containing the problem?
N/A

What steps will reproduce the problem?
1. Dumpdb on old server
2. Create new site on new server
3. loaddb on the new site (tried removing the lines with contenttypes.contenttype)
4. Lots of output to STDOUT, but I see multiple 
   Error: (1452, 'Cannot add or update a child row: a foreign key contraint fails...
5. Get message 'Done' at the end

What is the expected output? What do you see instead?
Success and have reviews on the new site. But once I login, I see no reviews.

What operating system are you using? What browser?
Ubuntu 12.04, Firefox

Please provide any additional information below.
david
#1 david
I believe this is caused when trying to run loaddb using a different version from the server where you dumped. You'll have to install the same version on the new server, load the db, and then upgrade there.
  • +SetupIssue