Site logo

[Support request] importing content doesn’t finish

Home Forums Support [Support request] importing content doesn’t finish

Home Forums Support importing content doesn’t finish

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1714422
    Deyaa

    Hey, GP community! Question about Google cloud platform (GCP). I have VM instances with WordPress and activated GeneratePress premium theme then tried to import demo sites from the GeneratPress site library, the importing process reaches importing content and doesn’t finish it. Any Idea about what should I do?

    Note : From vim /var/log/nginx/error.log I got that:
    2021/03/28 02:06:09 [error] 11634#11634: *1895 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Class ‘XMLReader’ not found in /var/www/wordpress/wp-content/plugins/gp-premium/site-library/libs/wxr-importer/WXRImporter.php:124
    Stack trace:
    #0 /var/www/wordpress/wp-content/plugins/gp-premium/site-library/libs/wxr-importer/WXRImporter.php(343): GeneratePress\WPContentImporter2\WXRImporter->get_reader()
    #1 /var/www/wordpress/wp-content/plugins/gp-premium/site-library/class-site-library-helper.php(189): GeneratePress\WPContentImporter2\WXRImporter->import()
    #2 /var/www/wordpress/wp-content/plugins/gp-premium/site-library/class-site-library-rest.php(554): GeneratePress_Site_Library_Helper::import_xml()
    #3 /var/www/wordpress/wp-includes/rest-api/class-wp-rest-server.php(1139): GeneratePress_Site_Library_Rest->import_content()
    ============================
    update : I did
    apt install php7.4-xml
    service nginx reload
    the long load time has gone but the imported site without content !!

    #1714706
    David
    Staff
    Customer Support

    Hi there,

    see Tom’s reply here regarding this type of error:

    https://generatepress.com/forums/topic/site-library-import-does-not-work/page/2/#post-1412913

    #1716941
    Deyaa

    `[31-Mar-2021 17:53:54 UTC] PHP Warning: XMLReader::read(): /var/www/wordpress/wp-content/uploads/2021/03/content-2.xml:1: parser error :
    Document is empty in /var/www/wordpress/wp-content/plugins/gp-premium/site-library/libs/wxr-importer/WXRImporter.php on line 355
    [31-Mar-2021 17:53:54 UTC] PHP Warning: XMLReader::read(): ^_�^H in /var/www/wordpress/wp-content/plugins/gp-premium/site-library/libs/w
    xr-importer/WXRImporter.php on line 355
    [31-Mar-2021 17:53:54 UTC] PHP Warning: XMLReader::read(): ^ in /var/www/wordpress/wp-content/plugins/gp-premium/site-library/libs/wxr-i
    mporter/WXRImporter.php on line 355
    [31-Mar-2021 17:53:57 UTC] == Start mapping menu locations ==
    [31-Mar-2021 17:53:57 UTC] PHP Notice: Undefined offset: 33 in /var/www/wordpress/wp-content/plugins/gp-premium/site-library/class-site-
    library-helper.php on line 417
    [31-Mar-2021 17:53:57 UTC] PHP Notice: Undefined offset: 33 in /var/www/wordpress/wp-content/plugins/gp-premium/site-library/class-site-
    library-helper.php on line 418
    [31-Mar-2021 17:53:57 UTC] 33 ->
    [31-Mar-2021 17:53:57 UTC] PHP Notice: Undefined offset: 34 in /var/www/wordpress/wp-content/plugins/gp-premium/site-library/class-site-
    library-helper.php on line 417
    [31-Mar-2021 17:53:57 UTC] PHP Notice: Undefined offset: 34 in /var/www/wordpress/wp-content/plugins/gp-premium/site-library/class-site-

    it’s my log!!

    #1716971
    Deyaa

    it seems like that /wp-content/uploads/2021/03/content-4.xml

    https://generatepress.com/forums/topic/problem-adding-site-library-templates/

    ^_<8b>^H^@^@^@^@^@^@^Cí½í<92>ã6²(øÛ<8e>¸ï<80>Ñì<9e>;^S§É"ÀïrwÏm·g¦}¯ûØ;ݶ÷ÄÄD^EEB%NS¢<86><94>ªºÚë<88>û^Nûk^_a_c^_å>Éf&H<8a><94>(<95>¨<8f>
    *vYm<97>D<81>@"<91>Hd&^R@âù<9f>>N^Rv#³<N§/^F\7^FLNÃ4<8a>§×/^F?¾ÿ<8b>æ^MØ<9f>^~ùüw<9a>ÆÞ<8f>ã<9c>Áÿ^Aû9Í¢^_2<99>çLþ<9f>s9<8d>dÄþöî^]^[Å<89
    >d×r*³<code>^NIûZÆ^@þ<9f>2ùq<96>fs<96><8e>Ø]ºÈX^^Ï¥Î4­ ¨àÛ9^KÓé<<88>§PÏt<94>f<93></code>^Nx±

    <98>.æË^Rÿ5g³4<9f>çÏØ,¸<96>ð^U¦<93><89><9c>bB^H^U_§Y<8c
    >©Á4bé|,3^B
    ïk5ýgº`<93>à<8e>-rÉæØ,B}<9e>²y^VLó^Q<94><99><8f><83>yY<90><8d>²tÂÒ©¤ê1[0%È5<88>ï+(ð^Mo¡^A^Ee {.³^[I$@\g<89>^D(à ü°<98>µ<90>¢<80><97>²xBÄ”
    üêä^@Èi£^S^H«Q<9a>$é-ä<96>Ц|.gùå^R;®³ïÒk(ImĦQ^YÕ)A4<89>§q^NM<9f>§õ& <9d>ý5Å^BïÓ4^Ahß*|^PÈXÖ»^VËC_LeR+mêìÛi>^O<92><84>²^Oªü<83>¢a@d¢+¾M
    úZYKg¯Ây|^C½Éþ<8d>ým1-ênPÜÖÙ<8f>³$^M¢Z^O.r`\<82><88>äb³,½<89>±^OÒ©j52L^M<84>£^S’ÜÆ<80>ä(Îò9^[“Q>¨^<9b>^D3^B^U,æã4ËUá¦<82><89>K<96>^A^^<
    82><97>^ULø<97>*
    ©.ýK<9a>1^Y<84>ã^BÌ3ìnâ½p<9c>¦¹¬*B¦j@<91>^_<81>(Ø^\¬ ^N<93>^ADÈ^^f^Ré^S°©¼¥<µ<86>¹z­ ^?¨yPxZr^T¡^C<8c><87>^@w^YIr^^ê^MÔ<8a>Q
    d*i¢8^_^Ys<95><9b>¿ B<85>TH³^WKF¸°ugP4#z1^P<86>à<9a>Á5á3î_Zö@U<99>A^K*^A%@@}ù^EȬi~)?<86>2<9b>Í_^LÆóùìòââ^VàÎ^P®<9e>f×^Wª<93>.¸..<8a><8c>
    ^WUÉbXW%g<8b>,¡BP^W<94>0.&i´Hd~Qd\<96>¼^]Ý.ë<93>I<82>\&£[9¤â¯^Uõ^ýðí²D^T®W^S<85>^W2<91>Dh¨<8e>×ÀÏîoÍàK^T^Qá8<98>Âx{ ä<9d>ÇóD¾|'<83>,^\
    ?¿P¿ 9<89>§^_^”°^\ ]ϰGr=L/ò”#½<87>|<91>ÌÃ,<9e>¡dyùü¢þ^K^Î^VÃo w^þ%<8b><9f>1è<98>ÿ^N<<8a>ý¤zè<92>^Köï^Fü{~QfÄ<8a><83>éõ^BØé¥<9c>j?¾<83><8
    a>Êßðîvvyû1»*úó%´çùÅJ<9a>Ê5^Lry<85>8_^AÑ^^V4©µ<82><8a>53Õ
    ^N<93>ôº*¸¡ýky<81>U <82>^Z§/<97><8f>WqôÒæTb<99>P{^M^@b Ýïþþú<9b>Wï_ý}^R^?<90>i^RC{þñ<8f><97>õRE¾e<82><9c>^DqÒ,øß<96>¥õ<89>\^APä_&Dq>K
    <82>»«i0<91>K8^?¥±<96>I^Zd+ <9a>%<96>é$ýVà¬^T­ g©5*¸¯\-Ç2µè­ VZskgZÏÓÉ”^_¦Ùt<95>T÷Ñ^Z
    þ7^Y]K!<80>’&ûÑùýZÁþP·àåB<8a>ß½,~<83>^F<9d>^P<89>)sùk%óÕ4^Ne³ÒÅ´Ô^G<9f>dTb°<9e>^?^UÐ^L¸p:_Ç}5òÜJc^?ÜPïUQ]^C^Z<82>Y6sµÉv[<93>éç<ø<98>NÓÉÝ
    ²Úips^EâyQÖØÌV/<9b>'<8b>ëÚ^H^-C¯ëù7Q¤þ²<9e>¿I<8e>·«ðëdXmôN}¾<81>^@%I»^R <95>ONA<89>VÆØH<92>%M6sÄ:5J.h¡@§þïÖ<99>5Ä¡^U<95>ÝT©²¦að§<9b>^W`E=
    ¿X棡^OÊNõ¿2^G@ûNû¥qp<9f>u^@<86>ÏLf0¬Smvõ!^Nÿ^E2ÒʵÅ^TÅ[>¾¨¬<87>^U^KÁð<9a>^V<82>qÉ<8d>u^K^Al<8e>ð<92>Ì>^Tý^[Ôf-^K<96>¸^Ä`læ?^@]<82>ï î^W
    <83>Q<90>är°¥^M·3­ ´ß^V4OÈ/(Ë<85>'<9a>íûöõÿñúû·µöéÿ<9c>]^CI^WÅ0Ùf!}ñ¼¨ã<92>¦Í2ZaèÕ·X¢°G7<94>X}[<8c>^A´Ó<91>MMÃ’^N)^?×_GHß
    ZiOC§pKõEÉnËܫů®’óv^Pþ^F^PT¢^TàÊ^@¾<82>iß|<91>×ÄI^B3<9d>¥ünæ*Q<80>©Î=^EëYê<88>7ÇÕvÞmà_WZ«UÇS<98>àÇó2^?Kµ<85><90>2<96>ð<9a>b^K¥Á^U<8c>V<9
    9>^Uyj u8ó»Y^Mý`><87>é^Y^R¨<81>*ejÖ<9e>ç(^KÖ%hóuQ&Î<81>rqøá®Àeù<9b>´faúVu<93>E\A>Õ «l<99>f½^EF^UZØ <89><9c>^GKÂÎ<83>«^O²¦¯®ngW
    <88><8c>®p.ZB®²Ö<8b>Þ^DÉb^SÃlųV^Zá]¬à¶^WÂÔjÌ^@<83>)è<82>vpi_þ<92>ÃÇà6<8e>æãÁWñ¥c^X_å<97>Îå`,ãëñ^\<93>,J².^GH<95>^A<<9a>ð|^?<8b>1’@ÎA½æ<8
    3>¯<82>K<8e>Uù<97><83>ùx1^YNÁ<ÆD^K^Sk -q^_hÍ4<8c><8f>ðW«¢BÞ\G^%Aµ<93>x”5^\^BX<88>^[<97><83>x^B:íâ<9f>3 `~ýµ<96>F¤$<8c>^Ebç]^N^B@h¾ÈTÑË<81
    >1Pµ<80>v<89>â9þ<80>¢e^ZÈ<83>,¨¥¹<98>F²¾<96>È]*<8d>^<8b>«9 ^F¢a2«C÷<89>^Lw<99>jƲ^\<90>g<94><86>Ar<95>Èé56zYÄ^Dôó´<9e>Â!)^_/æ`
    \å3)£úK ^[éò:tx<87>þ<9a>é<(ñ-s^C^Q<80><97>P^ZP_^Z<97>¿üú믒çiÕ^]A2ïÄÔd©tÂí¢4v¾X7|Fi6<94>y^GÃG^Uè`à<98>¼<97>^F<8e>j<87><9e>ßô×<90>áÆ¾<86><
    8c>É^O6dZ@ôÎ<90>Q}x6X^^ÌY^N<9a>~^X&ëøôÌ^@±V^M^P<97>¯ªpî5Í^OTS5B¯Ú^YN<9b><9d>±bç<90>¶^DÓЬ«<9e><8c>6N<96><96>J<99>^OVp0P^Q×QX31ÌÒÄ<80>^L
    ÿþq^BhüJ<95>MÀhXL6!å´#å¬ 5¼4<8e><83>^PZ^T
    £«$È®å&¼\Ç[ë4^N<8e><8f>^UT¾^Y^[<80>ÏE^K<99>jéÇÇ^HrqÛt>âG^KVÀ¥ðb<8d>sUZ<85>M|Dl<84>ay^_ñ£^U^[|±<8a>M<91>vllúj^G6ußÁvàõ”È¢8<98>v°^DË”<9f>¿
    -X¶¤ßÖ ?[<83>[­ Á²^WÏöà<83>Ù<83>õ<81>Ó^O<8b>°^M£¾Û<84>Þº.[µ A15<88>ý8V!^XS«H<¶]¸7J’¶^L÷Æë<84>¶áÞ8<9d>È:<^D<9f>SØ<87>{âÓW^KqU^_^^l#<8e>
    ^WÃ|<96>Î;<98><88>E<89>ÏßB,^ZÒo^CQ<9c>^MÄ­ ^FbÑ<89>gûðÁìÃÚ°é<87>yØ<82>Pï­ C^?U<93><99>æºâª<93>úq<8c>CH[Áá±mÃ}1:±i¸/Z’´^L÷EéD<86>á^Aè<9c>Â.Ü
    ^O<9d>¾<9a><85>+Zð`«ð6ÎdÔÁ&¤ü<9f>¿EHÍè·=h<9e>íÁ­ ö uáÙ^Z|0k°^Z2ý°^E×Ðé»%èß¿vl<80>%XµëQì@^_AÕ^Pxd#p?tNk^Aî<87>ÓéÌ¿ýð9<8d>í·7.’0üöÁ¥¯V_C×^]l
    ó^EC<^L^]ε|^\Ì:m^_^\§^Sy±Rüâ÷<93> <9e>¶X<84>oÓé3ÆyÔ^T.<98>^W½´^HWZÕgÛ<90>^[¦ÕÑ8<84>n^@ã<90>¨¿¯qÈ<97>^]¸<97>qø@fáJ?^^ß@tÏ^FâÎ#¨^_¦â^VÄún
    4Zë<87>^F¸m7^U<9d>@³±¥<8d><8f>ãH<84>`

    #1716975
    Deyaa

    I’m using vim, What does that mean? and if Something on my server is corrupting the data on the download. How to know what is it?

    #1718116
    Tom
    Lead Developer
    Lead Developer

    It certainly seems like the download of the XML file isn’t going well.

    I don’t know enough about server configuration to know the cause, exactly.

    Have you confirmed that the php-xml extension is installed on the server?

    #1718930
    Deyaa

    yes, the php-xml extension is installed on the server.

    #1719357
    Tom
    Lead Developer
    Lead Developer

    I did some looking around and found a similar issue here: https://generatepress.com/forums/topic/import-from-site-library-but-has-no-demo-content/#post-932022

    I wonder if your site is missing one of those extensions as well?

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.