Menu

Can't log in

Help
2003-01-17
2003-01-18
  • Nobody/Anonymous

    Why I can't log in (v. 0.5.0 and 0.5.1)?
    In previous version all works good.

    This is the log:

    Jan 17 22:15:46 DEBUG_CONNECTION: logging in
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: sent: "NICK DonKorleone"
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: sent: "USER  Korleone * :Главный мафиози"
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: received: ":comcor.msk.wenet.ru NOTICE AUTH :*** Looking up your hostname..."
    Jan 17 22:15:46 DEBUG_MESSAGEHANDLER: no method found for "NOTICE" (notice)
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: received: ":comcor.msk.wenet.ru NOTICE AUTH :*** Checking Ident"
    Jan 17 22:15:46 DEBUG_MESSAGEHANDLER: no method found for "NOTICE" (notice)
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: received: ":comcor.msk.wenet.ru NOTICE AUTH :*** No Ident response"
    Jan 17 22:15:46 DEBUG_MESSAGEHANDLER: no method found for "NOTICE" (notice)
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: received: ":comcor.msk.wenet.ru NOTICE AUTH :*** Found your hostname"
    Jan 17 22:15:46 DEBUG_MESSAGEHANDLER: no method found for "NOTICE" (notice)
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: received: ":comcor.msk.wenet.ru 433 * DonKorleone :Nickname is already in use."
    Jan 17 22:15:46 DEBUG_MESSAGEHANDLER: calling internal method "net_smartirc_messagehandler->_err_nicknameinuse" (by numeric)
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: sent: "NICK DonKo210"
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: received: ":comcor.msk.wenet.ru 461  USER :Not enough parameters"
    Jan 17 22:15:46 DEBUG_IRCMESSAGES: replycode UNKNOWN (461): ":comcor.msk.wenet.ru 461  USER :Not enough parameters"
    Jan 17 22:15:46 DEBUG_MESSAGETYPES: SMARTIRC_TYPE_UNKNOWN!: ":comcor.msk.wenet.ru 461  USER :Not enough parameters"
    Jan 17 22:15:46 DEBUG_MESSAGEHANDLER: no method found for "461" (err_needmoreparams)
    Jan 17 22:16:17 DEBUG_IRCMESSAGES: received: "PING :comcor.msk.wenet.ru"
    Jan 17 22:16:17 DEBUG_MESSAGEHANDLER: calling internal method "net_smartirc_messagehandler->_ping" (by string)
    Jan 17 22:16:17 DEBUG_CONNECTION: Ping? Pong!
    Jan 17 22:16:17 DEBUG_IRCMESSAGES: sent: "PONG :comcor.msk.wenet.ru"
    Jan 17 22:16:17 DEBUG_IRCMESSAGES: received: ":comcor.msk.wenet.ru 451 DonKo210 PONG :Register first."
    Jan 17 22:16:17 DEBUG_MESSAGEHANDLER: no method found for "451" (err_notregistered)
    Jan 17 22:16:53 DEBUG_IRCMESSAGES: received: "ERROR :Closing Link: 0.0.0.0 (Ping timeout)"
    Jan 17 22:16:53 DEBUG_MESSAGEHANDLER: calling internal method "net_smartirc_messagehandler->_error" (by string)
    Jan 17 22:16:53 DEBUG_CONNECTION: disconnected

     
    • Mirco Bauer

      Mirco Bauer - 2003-01-17

      this is because the login() method changed the parameter count in the 0.5.0 version. It is mentioned in the 0.5.0 changelog, but I forgot to add the changelog to the 0.5.0 release, I delivered in addition the 0.5.0 changelog in the 0.5.1 (the current one)
      the parameters changed from:
      login($nick, $realname, [$username], [$password]);
      to
      login($nick, $realname, [$usermode], [$username], [$password]);

      the usermode is new, default is 0, 8 is invisible (+i)

      tell me, if this fixed it...

       
    • Nobody/Anonymous

      Thank you, it works!
      But, there is another trouble:
      _sometimes_ script return this error:

      Jan 18 02:34:01 WARNING: socket extension not loaded, trying to load it...
      Jan 18 02:34:01 WARNING: couldn't load the socket extension
      Jan 18 02:34:01 WARNING: your PHP build doesn't support real sockets, will use fsocks instead
      Jan 18 02:34:01 DEBUG_ACTIONHANDLER: actionhandler(0) registered
      Jan 18 02:34:01 DEBUG_ACTIONHANDLER: actionhandler(1) registered
      Jan 18 02:34:01 DEBUG_ACTIONHANDLER: actionhandler(2) registered
      Jan 18 02:34:01 DEBUG_ACTIONHANDLER: actionhandler(3) registered
      Jan 18 02:34:01 DEBUG_ACTIONHANDLER: actionhandler(4) registered
      Jan 18 02:34:01 DEBUG_ACTIONHANDLER: actionhandler(5) registered
      Jan 18 02:34:01 DEBUG_CONNECTION: connecting
      Jan 18 02:34:01 DEBUG_SOCKET: using fsockets

      Fatal error:  Call to undefined function:  socket_strerror() in /path/to_script/SmartIRC.php on line 758

       
      • Mirco Bauer

        Mirco Bauer - 2003-01-18

        that is a bug in setUsetSockets(), I fixed it already in CVS, 0.5.2 will contain the bugfix. If you don't use socket extension, just don't call setUseSockets(), the default is that SmartIRC will _not_ use it....

         

Log in to post a comment.