• Resolved joelrozen

    (@joelrozen)


    Hi Team,

    Am wrestling with trying to get product feeds as xml files.
    Whenever I try to create a feed, the process appears to create 3x files called [hash]_tmp.xml in /wp-content/uploads/woo-product-feed-pro/xml

    When the feed says “Ready”, and gives me a link to the file which is of the form [hash]-[another hash].xml, that file doesn’t actually exist, and the 3 tmp.xml files are still there.

    All three _tmp.xml files contain the <channel> tag with <title>, <link> and <description> and nothing else.

    The “settings” page shows the product directory as being writeable “false” however the /wp-content/uploads is recursively 775 and owned by www-data. The fact the plugin is able to both create an ‘xml’ folder AND write the _tmp.xml files also tells me that it is, in fact, writeable.

    I am also unable to provide a debug log:
    Warning: fopen(/var/www/html/wp-content/uploads/woo-product-feed-pro/logs/debug.log): failed to open stream: No such file or directory

    Lastly, and I don’t know if this is related. I noticed upon installing the plugin, it automatically created uploads/woo-product-feed-pro in both my root dir AND the /wp-content dir. The one in the root dir is chowned by root and 755. If I delete this folder (since it shouldn’t be in the root dir anyway), and deactivate/reactivate the plugin, it appears again, however all the tmp files are still created in the /wp-content… path.

    I have no tried with other file types as I specifically need xml.

    WordPress: 5.1.1 (unable to update to 5.4 for other reasons)
    Woocommerce: 3.8.1

    Alternatively, is there a way I can save the files to a cloud provider rather than in my server’s directory?

Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Plugin only creates tmp xml, not the final’ is closed to new replies.