drupal2hugo icon indicating copy to clipboard operation
drupal2hugo copied to clipboard

Error When importing from drupal 7

Open tarek-chayya opened this issue 7 years ago • 5 comments

Dear, When Trying to import a drupal 7 site, I'm getting the following: Error executing CCKFields select. Error 1146: Table 'drpl.content_node_field' doesn't exist select vid,name from vocabulary Error 1146: Table 'drpl.vocabulary' doesn't exist

Those tables are for drupal 6, how can i make the import from drupal 7? Thanks in advance for replying

tarek-chayya avatar Apr 05 '18 09:04 tarek-chayya

Same. Went back to compare source with rickb777 's original and there are now significant differences. Going to remove this version and try again with rickb777 's latest version.

EDIT: Got it installed, eventually, then ran into the same taxonomy problem as Mario here. Setting up empty taxonomies now to test...

EDIT 2: Ran it and got an export! The rickb777 (and probably everyone else's) code defaults to a db prefix. If you enter that as an option as -prefix '' (that's two ' apostrophe's side by side, i.e. blank) you should be able to run the gosh-danged thing.

Check out the comment at the rickb777 repo for more info.

luxpir avatar Apr 06 '18 11:04 luxpir

hi @luxpir thank you any luck with rickb777 's original? im trying it and keep having pb with installation https://bitbucket.org/rickb777/drupal2hugo/issues/4/error-when-run-buildsh

tarek-chayya avatar Apr 13 '18 13:04 tarek-chayya

Hey @tarek-chayya I got back to you here - looked like you were having probs with your path?

I did get it to work in the end, so can confirm rickb777's updated version works for D7.

luxpir avatar Apr 13 '18 13:04 luxpir

Thanks @luxpir i've try your solution, i got the same error i've tried to install go inside ~/go it always generate the same error

I'm trying now to use go version 1.10 instead of 1.10.1 can you please inform me what go version you are using?

tarek-chayya avatar Apr 13 '18 13:04 tarek-chayya

I used 1.10.1.

go env GOPATH gives ~/go but I installed go to /usr/local/go/bin. One runs go itself (the latter), the other runs the go binaries, if I'm not mistaken.

luxpir avatar Apr 13 '18 14:04 luxpir