- This topic has 5 replies, 2 voices, and was last updated 1 year ago by barbara.
December 8, 2019 at 3:56 pm #1098152barbara
Hello, I installed generatepress Version: 2.4.1 and gp premium Version: 1.9.1
When I try to import a site from the site library I can’t import images and Elements (header, hooks etc), altough I see the changes in the interface (colors, typography, footer etc) and the plugins associated with the theme are installed.
This happens with any theme.
This is the error returned by my local server with easy php, it seems like I import an empty xml file:
[Mon Dec 09 00:07:05.935883 2019] [php7:warn] [pid 18740:tid 1380] [client 127.0.0.1:51920] PHP Warning: XMLReader::read(): file:/C:/Program%20Files%20(x86)/EasyPHP-Devserver-17/eds-www/xxx/wp-content/uploads/2019/12/content-5.xml:1: parser error : Document is empty in C:\\Program Files (x86)\\EasyPHP-Devserver-17\\eds-www\\xxx\\wp-content\\plugins\\gp-premium\\sites\\libs\\wxr-importer\\WXRImporter.php on line 344, referer: http://127.0.0.1/xxx/wp-admin/themes.php?
this is the content of xml file:
E²¼øÒœ|—ý,ûÉÞ $AŠ’EÙ²•VÙljƒÀ`0 f~€ƒï/§.9gaäøÞaÃhê
Â¼¡o;Þø°ñãéß ß}sð’M#§'”ð—’ŸýÐþ²(“ì1ólf“”dä¸ŒŒ™ÇBCÒàJÉHá¯GØeà‡1ñGäÊOB91kM“¼ŽÉÐ÷bêxP7òÃ)/B~ç%E$ð£8Ú!3øÏÐŸN™‡ C¨xì‡¦RÏ&~<a!’
ß•šþé’dJ¯H1c³8ë±OâzÑÊÄ§É(ô§Ä÷¯³QSV(žfTà¿ð %Ù#ž3.ä5pPÐá§$¨…¤çgÊ…ÅùSÅ”ýB’p®F¾ëú›A›¢˜‘•sg4É%y±i¼ŒèjOÏ‰ é±¯6Él’—>8õ}¨½ü ‘ S»ËC_xÌUJ·šäµÅÔuyöF–¿!BærÅ¯.T¯”m7Éñ0vÎ¡7ÉwäcâÉºï4ÉëS[éÁ$‚Ë)¢¸Húçöï‰Vã€QHt›|$\8ÀäÈ £˜P(ŸD¯MiÀIÑ$žøa$5ÉAœCð1£ |!!Ñ¥/ü0:œH2;ØÝ|ì
Can you help me?
Thanks a lotDecember 9, 2019 at 3:24 am #1098432barbara
I add that I tried this solution but it doesn’t work for me:December 9, 2019 at 10:09 am #1098957TomLead DeveloperLead Developer
That topic you linked to is the only other time I’ve seen this. They reported that installing these extensions on their server worked: https://generatepress.com/forums/topic/import-from-site-library-but-has-no-demo-content/#post-932022
I do believe the issue is that your server isn’t able to download the XML file correctly – all of those weird characters shouldn’t be there.
Are you using shared hosting or something more advanced?December 18, 2019 at 10:31 am #1108062barbara
thank you for your answer and sorry for my late feedback. It was a local installation.
I wasn’t able to solve the problem, but I uninstalled Easyphp and with Xampp everything works.
Thanks a lot anywayDecember 18, 2019 at 12:22 pm #1108163TomLead DeveloperLead DeveloperDecember 18, 2019 at 12:25 pm #1108168barbara
- You must be logged in to reply to this topic.