1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

What does "Missing end boundary in multipart body" mean?

Discussion in 'PHP' started by samie, Feb 7, 2014.

  1. #1
    I'm working on a PHP script, and it has a foreach inside of a while, but for some reason the first foreach runs, but the second one shoots out there error "Missing end boundary in multipart body".

    Anybody have any idea what this means? Unfortunately it doesn't show what line it's coming from or anything :( And doesn't have anything in the error logs. I think it's coming from the Google API.

    I was thinking maybe I had to unset all variables, but it doesn't appear to be helping so far.
     
    samie, Feb 7, 2014 IP
  2. ThePHPMaster

    ThePHPMaster Well-Known Member

    Messages:
    737
    Likes Received:
    52
    Best Answers:
    33
    Trophy Points:
    150
    #2
    What PHP script is this?

    If this is a custom code, what API functions are you using?

    Besides that, it would be best to have the actual page code (along with includes) if its a small app.
     
    ThePHPMaster, Feb 7, 2014 IP
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    After a quick Google search, it seems this error appears when there's a buffer issue or a problem with unchecked uploads using the mac value and not returning proper info.
    We'd need to see the code to help fix this error, I'm afraid.
     
    PoPSiCLe, Feb 8, 2014 IP