Welcome, Guest!!
follow us on... rss

Author Topic: Error: ! Missing or Malformed Data - Halting.  (Read 8809 times)

Boris

  • Newbie
  • *
  • Posts: 4
    • View Profile
Error: ! Missing or Malformed Data - Halting.
« on: February 13, 2009, 02:27:02 PM »
Hi,

I just installed Botscout, but the register.php now reads:

API Data: ! Missing or Malformed Data - Halting.
API Data Not Returned.

Warning: Cannot modify header information - headers already sent by (output started at /includes/ucp/BotScout.php:164) in /includes/functions.php on line 3567

Warning: Cannot modify header information - headers already sent by (output started at /includes/ucp/BotScout.php:164) in /includes/functions.php on line 3569

Warning: Cannot modify header information - headers already sent by (output started at /includes/ucp/BotScout.php:164) in /includes/functions.php on line 3570

Warning: Cannot modify header information - headers already sent by (output started at /includes/ucp/BotScout.php:164) in /includes/functions.php on line 3571


With diagnose mod it adds:
Test String: http://botscout.com/test/?mail=&key={my key in here}
RETURNED DATA: ! Missing or Malformed Data - Halting.

Boris

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Error: ! Missing or Malformed Data - Halting.
« Reply #1 on: February 13, 2009, 02:27:34 PM »
Extra info: I have got a phpbb3

Boris

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Error: ! Missing or Malformed Data - Halting.
« Reply #2 on: February 13, 2009, 02:57:03 PM »
Ok, I solved it myself.

It is not working with PHPBB right away.

Problems:

1. Variable $data is used in BotScout but also by phpbb.
2. If register.php is opened to show the form, it already queries the BotScout API. I added an if-clause, which does not start the check, if $XMAIL is empty before sending the query.
3. in  // sanity check  the API return is printed on the screen, but this conflcits with the later /includes/functions.php try to add something to the header. Since this output is not needed, I also added a if diag=1 in here.

Now it is working!
Thanks for developing this tool!
Maybe you like to add those changes to help other phpbb users.

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Error: ! Missing or Malformed Data - Halting.
« Reply #3 on: February 13, 2009, 10:31:54 PM »
Boris,

Thank you! I'll pass this along to the author of the mod. Is this the version you downloaded from the phpBB site, or...?

BTW, cup stacking competition is one of the coolest things I've seen- some of the stacking videos I've seen on YouTube are absolutely incredible.



Ok, I solved it myself.

It is not working with PHPBB right away.

Problems:

1. Variable $data is used in BotScout but also by phpbb.
2. If register.php is opened to show the form, it already queries the BotScout API. I added an if-clause, which does not start the check, if $XMAIL is empty before sending the query.
3. in  // sanity check  the API return is printed on the screen, but this conflcits with the later /includes/functions.php try to add something to the header. Since this output is not needed, I also added a if diag=1 in here.

Now it is working!
Thanks for developing this tool!
Maybe you like to add those changes to help other phpbb users.
« Last Edit: February 13, 2009, 10:42:34 PM by Mike »
Please don't PM me for assistance- post your questions in the forum where others can see them.

MysteryFCM

  • Moderator
  • Full Member
  • *****
  • Posts: 200
    • View Profile
    • I.T. Mate
Re: Error: ! Missing or Malformed Data - Halting.
« Reply #4 on: February 14, 2009, 01:10:29 AM »
Boris,
Are you using the phpBB3 mod;

http://temerc.com/forums/viewtopic.php?f=71&t=6175

... or this one?

http://botscout.com/forum/index.php/topic,4.0.html

... Or the one from the Code Samples page?

http://botscout.com/code.htm
Regards
Steven Burn
I.T. Mate / hpHosts
it-mate.co.uk / hosts-file.net

Boris

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Error: ! Missing or Malformed Data - Halting.
« Reply #5 on: February 15, 2009, 04:03:12 AM »
I got the 1.20 code from http://botscout.com/code.htm and follwed the phpbb.txt instructions within the zip container.


BTW, cup stacking competition is one of the coolest things I've seen- some of the stacking videos I've seen on YouTube are absolutely incredible.
;D

Sure its mostly for kids and many people cant see it as sport.
But everyone, who tries it out himself, will quickly see, that it is a full-body sport and pretty exhaustive.

Mike

  • Administrator
  • Sr. Member
  • *****
  • Posts: 300
    • View Profile
Re: Error: ! Missing or Malformed Data - Halting.
« Reply #6 on: February 15, 2009, 04:45:02 AM »
Boris,

I'm incorporating the changes you detailed above into the version 3.0 code package.

Can you show me the modification you made that you referenced here: "I added an if-clause, which does not start the check, if $XMAIL is empty before sending the query."

I'd like to make sure I add it correctly. If it's okay, I'd like to credit you in the change documentation.




I got the 1.20 code from http://botscout.com/code.htm and follwed the phpbb.txt instructions within the zip container.


BTW, cup stacking competition is one of the coolest things I've seen- some of the stacking videos I've seen on YouTube are absolutely incredible.
;D

Sure its mostly for kids and many people cant see it as sport.
But everyone, who tries it out himself, will quickly see, that it is a full-body sport and pretty exhaustive.

Please don't PM me for assistance- post your questions in the forum where others can see them.