[Support request] Problem Adding Site Library Templates

Home Forums Support [Support request] Problem Adding Site Library Templates

Home Forums Support Problem Adding Site Library Templates

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #746860
    Allen

    Hello,

    I am following the guidance with regards to adding a theme from the Site Library. Fresh installation, deleted existing content using WP Reset etc. The theme semi-loads in that none of the demo content will come through. I have gone through several of the mentioned fixes here: https://docs.generatepress.com/article/error-codes-importing/ and https://docs.generatepress.com/article/increasing-php-memory-limit/.

    This is a self-hosted WP installation on nginx. Everything is working great except for importing Site Library themes.

    I turned on WP_DEBUG and this is the output I am getting:

    [03-Dec-2018 15:48:50 UTC] PHP Notice: Trying to get property of non-object in /var/www/html/test.mytestsite.com/wp-content/plugins/gp-premium/sites/classes/class-site.php on line 728
    [03-Dec-2018 15:48:50 UTC] PHP Warning: Creating default object from empty value in /var/www/html/test.mytestsite.com/wp-content/plugins/gp-premium/sites/classes/class-site.php on line 728
    [03-Dec-2018 15:49:02 UTC] PHP Warning: XMLReader::read(): /var/www/html/test.mytestsite.com/wp-content/uploads/2018/12/content-4.xml:1: parser error : Document is empty in /var/www/html/test.mytestsite.com/wp-content/plugins/gp-premium/sites/libs/wxr-importer/WXRImporter.php on line 344
    [03-Dec-2018 15:49:02 UTC] PHP Warning: XMLReader::read(): in /var/www/html/test.mytestsite.com/wp-content/plugins/gp-premium/sites/libs/wxr-importer/WXRImporter.php on line 344
    [03-Dec-2018 15:49:02 UTC] PHP Warning: XMLReader::read(): ^ in /var/www/html/test.mytestsite.com/wp-content/plugins/gp-premium/sites/libs/wxr-importer/WXRImporter.php on line 344
    [03-Dec-2018 15:49:02 UTC] == Start mapping menu locations ==
    [03-Dec-2018 15:49:02 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/test.mytestsite.com/wp-content/plugins/gp-premium/sites/classes/class-site-helper.php on line 439
    [03-Dec-2018 15:49:02 UTC] PHP Notice: Undefined offset: 2 in /var/www/html/test.mytestsite.com/wp-content/plugins/gp-premium/sites/classes/class-site-helper.php on line 440
    [03-Dec-2018 15:49:02 UTC] 2 ->
    [03-Dec-2018 15:49:02 UTC] PHP Notice: Undefined offset: 3 in /var/www/html/test.mytestsite.com/wp-content/plugins/gp-premium/sites/classes/class-site-helper.php on line 439
    [03-Dec-2018 15:49:02 UTC] PHP Notice: Undefined offset: 3 in /var/www/html/test.mytestsite.com/wp-content/plugins/gp-premium/sites/classes/class-site-helper.php on line 440
    [03-Dec-2018 15:49:02 UTC] 3 ->

    Thanks,
    Allan

    #746905
    Tom
    Lead Developer
    Lead Developer

    Hmm, it seems your server is having trouble reading the content file.

    If you open this file, is there content inside of it?: wp-content/uploads/2018/12/content-4.xml

    #747925
    Allen

    It’s gibberish:

    /wp-content/uploads/2018/12$ head content-4.xml

    ��]{�㶑�{�*��+�����H����cDZ�l�/k�/�K� ����y���?���\7$(i�C���s��dgH����_��h��Gw��ܰ$�”�n�aq B��[�}�Yg�”�~��ם�v�S�Q�H�o����g�␅��oސ%� ?Y��%4�G�{� ��b��”ɈX�{�’$��NG7�EFg���N�Ɇf��
    �’y�H�ݒ�g�d$Qxo���%���43�2 b&��b4��-��T�_x �ge�ߦd+�,m�-]1�’�
    ��)Kn��?PY��m�=
    MO��’��� ʢ���RD����
    �y �fl��J��]�XAM�G욬��B�

    What does that mean?

    #747993
    Tom
    Lead Developer
    Lead Developer

    What program are you opening it up in?

    Maybe try with a program like this: https://atom.io/

    If it still looks like that, then that’s definitely the issue. Something on your server is corrupting the data on download.

    #930895
    Khanh Nguyen

    I have the same issue and content of content-1.xml also looks the same.

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