awesomemotive / one-click-demo-import

One Click Demo Import plugin
https://www.awesomemotive.com/
195 stars 83 forks source link

Massive site and OCDI #168

Closed vlthemes closed 5 years ago

vlthemes commented 5 years ago

Hello team. I have a massive site and my customers can not install demo. Absolutely everyone. Half content is imported.

Attachments looks good. Some pages did`t imported.

Maybe I can use demo import parts? (media, posts, pages etc.)

THEME: http://wp.vlthemes.com/leedo/

vlthemes commented 5 years ago

Results after demo import:

OCDI (manual mode): http://take.ms/Ohpja Default Importer (with media): http://take.ms/iCtE0

This is very sad, we have to install demo import manually for each client.

I hope for your help.

capuderg commented 5 years ago

Hi,

so you used OCDI before in other themes and it's working OK, but now in this theme, it will not import? Did you not test the import before launching the theme?

All media files get imported and some pages are missing? How many media files does the demo content have?

What is the output of the plugin (does the import finish with success, with error, or something else)? What does the PHP error logs say?

Take care!

vlthemes commented 5 years ago

Thank you for your answer!

so you used OCDI before in other themes and it's working OK, but now in this theme, it will not import? Did you not test the import before launching the theme?

Yes, because this is biggest theme which we did. We use OCDI in other themes and all looks good. Usually we did small portfolio themes with a couple of images.

All media files get imported and some pages are missing? How many media files does the demo content have?

Yes, some pages is missing. We have this menu after demo import with missing pages http://take.ms/8fTKp 218 attachments

What is the output of the plugin (does the import finish with success, with error, or something else)? What does the PHP error logs say?

OCDI says that the demo content ended successfully. http://take.ms/nGMrw Plugin Log here http://take.ms/ov7Nd Nothing PHP errors

We can send our theme/import files and you can check it.

UPD: We used Merlin and this problem is also here. Also we tried all methods from this docs, but nothing results https://github.com/proteusthemes/one-click-demo-import/blob/master/docs/import-problems.md

capuderg commented 5 years ago

I see the import goes till the end, so you get the green success notice on the end of the import?

Did you check, if the pages in your menu are actually imported (are in the "Pages" section), but just the menu is "corrupted"? This way, only the menu is the issue and not the content import?

vlthemes commented 5 years ago

Yes, we have green message after import.

Pages that are listed in the menu as "broken" does not exist on Pages tab. For imported pages, the menu looks good.

capuderg commented 5 years ago

It's very strange, that the importer would not output an error if a pages fails to import... Did you try to make a new XML file (export) and try the import with that new file?

vlthemes commented 5 years ago

I tried that 5 times. But default importer works good. I tried automatic mode http://take.ms/4pajx Manually mode Manually mode twice

But nothing helped.

UPD: Can you check this file? http://take.ms/GxwbMy

capuderg commented 5 years ago

Hi,

try to open the XML file in google chrome browser, you will see that there is an encoding issue in it:

screen shot 2018-10-29 at 07 27 24

That is probably the issue why the import fails...

Take care!

vlthemes commented 5 years ago

Hmm. Maybe you know how can I fix this? I used default exporter for this xml file.

capuderg commented 5 years ago

I'm not sure, but you should view the line 16691 and see if you can change the content in your demo site that is pointing to this line... Maybe there are some strange characters... Try to remove that content on your demo site and type it out, maybe you copy-pasted this content and it added some strange content...

vlthemes commented 5 years ago

Thank you sou much. You are right.

I found phantom space between words.

I`ll try to import demo again.

vlthemes commented 5 years ago

Solved. Thank you so much for your help.

You are the best.

capuderg commented 5 years ago

no problem :)