MYSQL error during startup

Discussion in 'Installation/Configuration' started by farmeunit, Jun 8, 2006.

  1. farmeunit

    farmeunit New Member

    I get this error when starting ISPConfig, but it also starts successfully.
    Code:
    Starting ISPConfig system...
    /root/ispconfig/httpd/bin/apachectl startssl: httpd started
    
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /root/ispconfig/scripts/lib/config.inc.php on line 47
    No results found!ISPConfig system is now up and running!
    
    Below is line 47 from my config.inc.php:
    Code:
    if(!$go_info["isp"]["server_conf"] = mysql_fetch_array($server_params)){
      die("No results found!");
    } else {
      foreach($go_info["isp"]["server_conf"] as $key => $value) {
        $value = trim($value);
        while(strlen($value) > 1 && substr($value,-1) == "/") $value = substr($value,0,strlen($value)-1);
        $go_info["isp"]["server_conf"][$key] = $value;
      }
      $key = NULL;
      $value = NULL;
    }
    
    Can anyone tell me what I need to do next, or if I need to provide more info?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Which ISPConfig version have you installed?
     

Share This Page