×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Clean migration disabled still deletes data?

Clean migration disabled still deletes data? 12 years 2 months ago #17696

  • eric ribellarsi
  • eric ribellarsi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hmmmm, on our site, I had set Clean Migration to "No," but all of our old content was still deleted it seems? What could cause this? Is there a way I could recover it without restoring a backup since I had Clean Migration set to No?

EDIT: Looks like its a bug. I see now that it didn't delete the users or articles, but it did delete the categories. I had set the Categories import option to "No," so instead of leaving my categories alone, it deleted them all.... Anything I can do about this?

EDIT2: It also seems that all of the p tags the delineated paragraphs were removed during the migration? The article readability is sort of devastated by this... Is that normal?

Clean migration disabled still deletes data? 12 years 2 months ago #17697

  • eric ribellarsi
  • eric ribellarsi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Hmmm, on the p tags issue:

I've noticed that in all of the articles on the old Wordpress site, there are no P tags, just spaces.. I've put together a pastebin that shows what the articles looked like. Is there any way to automatically add p tags where they should be? It would be massive work for us to go through adding P tags to 4000 articles...

pastebin.com/FZU87xET

Clean migration disabled still deletes data? 12 years 2 months ago #17698

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Eric,
The raw article saved in the database doesn't have P tags in wordpress. The article gets its <p> tags upon display. (wordpress parses it and adds what is necessary).

In our case -> we migrate the content as it is. Then you have to run the parsing function and it will go through each article and make it joomla like - it will add the necessary <p> tags, remove unnecessary tags from wordpress -> change the <!--more--> to the joomla's readmore etc.

About the clean migration - I'm sorry about that. I need to try to reproduce it. As far as I'm aware it should not delete any categories and stuff, but maybe Peter didn't take this into account. (good thing that you have a backup!!! (you are maybe the first user that has one - kudos!!!))

Cheers,
Daniel
The following user(s) said Thank You: eric ribellarsi

Clean migration disabled still deletes data? 12 years 2 months ago #17703

  • eric ribellarsi
  • eric ribellarsi's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 12
  • Thank you received: 0
Ahhh, I see. I missed the parsing step. It worked like a charm, but there were a couple of bugs I noticed..

1. In each article, it looks like the original image links weren't deleted. So each article now has duplicate images (though duplicate images are showing as broken links for now because we haven't forwarded our domain yet, but if you set it in your host file you see them):

216.14.126.36/Import-data/89en-solidarid...t-mensajes-de-mexico

2. There were hundreds of images that failed (I think because they used custom widths?)... giving errors like these:

Image: bill-martin-porphyry-may-25-2012.png?w=196. This image format is not supported by CMigrator!
Image: flowers-fall-off.jpg?w=300. This image format is not supported by CMigrator!
Image: nepal-big-red-flag.jpg?w=300&h=211. This image format is not supported by CMigrator!
Image: i-cant-hear-you.jpg?w=300. This image format is not supported by CMigrator!
Image: black-panther3.jpg?w=219. This image format is not supported by CMigrator!
Image: kansas-road-fields-card_02.jpg?w=300. This image format is not supported by CMigrator!
Image: queen-elizabeth-prince-philipbritain-mummies.jpg?w=300. This image format is not supported by CMigrator!
Image: staudenmaier_truth.jpg?w=186. This image format is not supported by CMigrator!
Image: syriza-electoral-map.png?w=300. This image format is not supported by CMigrator!
Image: eyes.jpg?w=300. This image format is not supported by CMigrator!

---

any ideas?

EDIT: The alignment on the images also seems to break.. for example: 216.14.126.36/Import-data/61miles-below-...emorrhage-capitalism

Clean migration disabled still deletes data? 12 years 2 months ago #17704

  • Petar Tuovic
  • Petar Tuovic's Avatar
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 32
  • Thank you received: 9
Hey Eric,

Sorry for my late answer!
As I can see, you typed your website location for "Base url" function. I think you typed: kasamaproject.org ? This is why your image is not shown properly. We make absolute url to your image files if you enter base url and you used migration on 216.14.126.36/ , so all images are placed in 216.14.126.36/images/cmigration/ .
About double image, right image is an fulltext image. I am not sure why are both images shown... It should be there only one image. You should check it out with your Joomla! options.

Those errors with images format are problem with custom width and height, that is for sure. CMigrator is always looking for src like base/image_name.image_format. We will work it out to fix this in next version.

Cheers,
Petar
  • Page:
  • 1
Time to create page: 0.180 seconds