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.

who can fix this file?

Discussion in 'PHP' started by talker1, Apr 29, 2011.

  1. #1
    Hi

    I have some else errors on this file please check it

    Thanks
     

    Attached Files:

    talker1, Apr 29, 2011 IP
  2. TimK

    TimK Peon

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Are you going to tell us the errors...?
     
    TimK, Apr 29, 2011 IP
  3. talker1

    talker1 Active Member

    Messages:
    160
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Parse error: syntax error, unexpected T_ELSE in C:\wamp\www\jumbo_core_admin_packed.inc.php on line 2014
     
    talker1, Apr 30, 2011 IP
  4. TimK

    TimK Peon

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Instead of making us download the whole file, and search where the error occurs, post 10 or so lines around it. If it's a premade script, try reinstalling it. You probably entered something incorrectly that's messing up one of the brackets in an if statement.
     
    TimK, Apr 30, 2011 IP
  5. talker1

    talker1 Active Member

    Messages:
    160
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    my error is here:

    
                    if ( !empty( $sendmsg ) )
                    {
                    if ( $this->_setsmtp == 1 )
                    {
                    $retval = $this->_sendtohost( "localhost", $alldm, $tostr, $ccstr, $bccstr, $sendmsg, $typmime );
                    return $retval;
                    }
                     if ( $this->_setsmtp == 5 )
                     {
                     $retval = $this->_sendtohost( $this->_relayset, $alldm, $tostr, $ccstr, $bccstr, $sendmsg, $typmime, true );
                     return $retval;
                     }
                     if ( $this->_setsmtp == 2 )
                     {
                     foreach ( $grpto as $namdom => $arrdom )
                     {
                      $retval = $this->_sendtohost( $namdom, $arrdom, $tostr, $ccstr, $bccstr, $sendmsg, $typmime );
                      continue;
                      return $retval;
                      }
    				  }
     				    else
                        {
                        if ( $this->_setsmtp == 3 )
                        {
                       if ( $retval = $this->_sendtohost( "localhost", $alldm, $tostr, $ccstr, $bccstr, $sendmsg, $typmime ) )
                        {
                        break;
                        }
                        else
                        {
                        foreach ( $grpto as $namdom => $arrdom )
                        {
                        $retval = $this->_sendtohost( $namdom, $arrdom, $tostr, $ccstr, $bccstr, $sendmsg, $typmime );
                        continue;
                        return $retval;
                        }
    				    }
    					}
                        else
                        {
                        if ( !( $this->_setsmtp == 4 ) )
                        {
                        break;
                        }
                        else
                        {
                        foreach ( $grpto as $namdom => $arrdom )
                        {
                        $retval = $this->_sendtohost( $namdom, $arrdom, $tostr, $ccstr, $bccstr, $sendmsg, $typmime );
                        }
                        }
                        }
                        }
                        }
                        }
                        if ( $retval )
                        {
                        break;
                        }
                        $retval = $this->_sendtohost( "localhost", $alldm, $tostr, $ccstr, $bccstr, $sendmsg, $typmime );
                        return $retval;
                        if ( $this->_setsmtp == 6 )
                        {
                        if ($retval=$this->_sendtohost($this->_relayset, $alldm, $tostr, $ccstr, $bccstr, $sendmsg, $typmime, true ) )
                        {
                        break;
                        }
                        foreach ( $grpto as $namdom => $arrdom )
                        {
                        $retval = $this->_sendtohost( $namdom, $arrdom, $tostr, $ccstr, $bccstr, $sendmsg, $typmime );
                        }
                        return $retval;
                        }
                        else
                        {
                        if ( !( $this->_setsmtp == 7 ) )
                        {
                        break;
                        }
                        foreach ( $grpto as $namdom => $arrdom )
                        {
                        $retval = $this->_sendtohost( $namdom, $arrdom, $tostr, $ccstr, $bccstr, $sendmsg, $typmime );
                        }
                        if ( $retval )
                        {
                        break;
                        }
                        $retval = $this->_sendtohost( $this->_relayset, $alldm, $tostr, $ccstr, $bccstr, $sendmsg, $typmime, true );
                        return $retval;
    					}
                        else if ( PRINT_ERROR )
                        {
                        trigger_error( "Unknow message type on class XPertMailer->send()", 512 );
                        }
                        return $retval;
                        }
    
    
    PHP:
     
    talker1, Apr 30, 2011 IP