Menu

#74 Fatal error: Cannot redeclare print_array() in

open
nobody
Interface (19)
5
2005-03-29
2005-03-29
Anonymous
No

Hey,

i´m not able to get popper running. When I start the
index.php I get the error:

Fatal error: Cannot redeclare print_array() in
/multimedia/www/root/popper/class.mimepart.inc.php on
line 587

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Yes i have the same problem! can somebody helP?

     
  • Nobody/Anonymous

    Logged In: NO

    i've got the same ... please help us out.

     
  • Chris

    Chris - 2005-04-15

    Logged In: YES
    user_id=1260293

    All you have to do is "comment" that line out. Find line 587
    in your document and put // at the beginning of every line
    in that syntax.

    You're going to come across another line when you fix that,
    do the same to that...

     
  • Nobody/Anonymous

    Logged In: NO

    yes i have this bug, too.

    to make it easy for you i have ziped the two changed files,
    download the archiv extract it and replace the two files.

    http://www.sits-online.de/bug1172534.tar.gz

     
  • Nobody/Anonymous

    Logged In: NO

    same here... will try chriscluffs trick

     
  • Ebonit

    Ebonit - 2005-09-08

    Logged In: YES
    user_id=1341770

    Right, I got the same one: this function is declared two times:

    class.mimepart.inc.php:
    Line 297:
    function print_array($array) {
    foreach($array as $key => $val) {
    echo("$key -> $val<br>");
    }
    }

    Line 587:
    function print_array($arr) {
    foreach($arr as $key => $val) {
    echo("$key -->
    $val<br>\r\n");
    }
    }

    I removed the last one and all seems to work.

     
  • Nobody/Anonymous

    Logged In: NO

    I have this Problem, too :(

     

Log in to post a comment.