#30 Undefined variable: postdata when submitting an array

closed-fixed
Gene Wood
None
5
2004-10-16
2004-03-08
Anonymous
No

Same problem as posted before - I tried the "fix" posted
below and it didn't help.

Can someone please take a look at this and post a
corrected _prepare_post_body() function.

Thanks,
rh

Discussion

  • Logged In: NO

    line 1140 (or anywhere before the first if statement in
    _prepare_post_body - add the line ...

    $postvars="";

     
  • Gene Wood
    Gene Wood
    2004-07-25

    Logged In: YES
    user_id=547273

    When you say "Same problem as posted before" are you
    referring to bug 642958? If not, which bug is this a
    followup to?

     
  • Gene Wood
    Gene Wood
    2004-07-26

    Logged In: YES
    user_id=547273

    Or are you referring to BUG # 905550

     
  • Logged In: NO

    Notice: Undefined variable: postdata in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 1153

    Notice: Undefined index: query in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 290

    Notice: Undefined variable: postdata in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 1153

    Notice: Undefined index: query in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 290

    Notice: Undefined variable: postdata in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 1153

    Notice: Undefined index: query in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 290

    Notice: Undefined variable: postdata in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 1153

    Notice: Undefined index: query in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 290

    Notice: Undefined variable: postdata in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 1153

    Notice: Undefined index: query in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 290

    Notice: Undefined variable: postdata in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 1153

    Notice: Undefined index: query in
    d:\web\1gb.ru\hosted\idk_b5a4c9f6c4cd2ad228a431f76221b7
    9b\snoopy\snoopy.class.php on line 290

     
  • Gene Wood
    Gene Wood
    2004-10-16

    • assigned_to: nobody --> gene_wood
    • status: open --> closed-fixed
     
  • Gene Wood
    Gene Wood
    2004-10-16

    Logged In: YES
    user_id=547273

    I've fixed the postdata notice you're getting as well as the
    query index notices.

    These are not bugs in the code, you just have your error
    reporting turned all the way up and it's identifying that
    these variables are empty.

    I've added in code to set these variables and so the notices
    won't come up.

    I've checked this into CVS.