Web-FTP Login, sits and then logs out of ISPConfig w/ errors

Discussion in 'General' started by teleriddler, Mar 3, 2006.

  1. teleriddler

    teleriddler New Member

    OK,

    So I am only experiencing this on one of my domains. The admin account tries to login via the Web-FTP application and the 3 logos start to show up then the page hangs and spits out a bunch of error messages that are immediately erased and I am sent to the login page for ISPConfig. This is strange behavior and I cannot find a log file anywhere on the system that displays the errors I am experiencing. How do I know, I have done a "tail -f" on each log file I can find and replicate the error and nothing new shows up an any of the logs I have tailed. This only happens for 1 site as the 5 other sites I host can login completely fine to the Web-FTP application in ISPConfig.

    Any ideas???


    TeleRiddler
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Can you try to hit the browser's stop button when you see these error messages and post them here? Or can you remember what these messages are saying?
     
  3. teleriddler

    teleriddler New Member

    Error Messages

    Falko,

    The error message go by too fast. I have no way to capture them but I will keep trying. I have checked all the log files and cannot find anything that looks close to what I see for a glimpse.


    TeleRiddler
     
  4. teleriddler

    teleriddler New Member

    Good to see "Print Screen" still has a use

    OK,

    So after trying to time my browser to stop at the error page, it hit me. The print screen command worked fantastically.

    I have attached a JPEG of the errors to this message. I will type them out in a bit.


    TeleRiddler
     

    Attached Files:

  5. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

  6. teleriddler

    teleriddler New Member

    PHP code change

    I tried that solution and no dice.

    Here is how the code of ispconfig_db_mysql.lib.php looks after the mod.


    Code:
     function connect()
                    {
                            if($this->linkId == 0)
                            {
                                    $this->linkId = mysql_connect($this->dbHost, $this->dbUser, $this->dbPass);
                                    mysql_query("SET character_set_client = 'latin1'");
                                    mysql_query("SET character_set_results = latin1");
                                    mysql_query("SET character_set_connection = utf8");
                                    if(!$this->linkId)
                                    {
                                            $this->updateError('DB::connect()<br />mysql_connect');
                                            return false;
                                    }
                            }
                            return true;
                    }
    
    I still get the same error when I login. Since this only happens with 1 domain I don't see how changing the whole code base would resolve this. The other domains login just fine and unfortunately this is the only user who needs this functionality, oh well.
     
  7. teleriddler

    teleriddler New Member

    Ftp

    Just to let you know I have a Fedora Core 4 installation using the Perfect Setup. Things have been running fine for about 2 months now. I just grabbed smartFTP and can verify that I can login successfully with the faulty domain/account in question.

    So if I can get into FTP just fine from a client, I wonder what would be making the web based version mess up? I will start running extensive debugging.

    TeleRiddler
     

Share This Page