The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Problems with post content being cut off (2 posts)

  1. creynolds86
    Posted 5 years ago #

    Hi Everyone,

    I'm currently building a weather website for my university dissertation and I'm having some trouble with post content. I'm currently using a php file to process an xml file uploaded by a weather station. I've checked the php code and it's passing all the data to the wp_insert function and I'm also passing all the needed variables in the correct format however most of the data is being cut off for some reason. Any suggestions?

    Here's the php file code:

    [Moderator note: snipped code block, please use the pastebin as per the Forum Guidelines]

  2. creynolds86
    Posted 5 years ago #

    The code can be found here

Topic Closed

This topic has been closed to new replies.

About this Topic