[Kalmax] Website Error.

Results 1 to 5 of 5
  1. #1
    Enthusiast custre is offline
    MemberRank
    Oct 2007 Join Date
    29Posts

    [Kalmax] Website Error.

    Hey,

    I tried to install kalweb website, but I get errors in install.php

    link kalweb: http://forum.ragezone.com/f315/php-w...77/index3.html


    I editted dbconnect.php;

    PHP Code:
     <?php
    if (ALLOW_OPEN != 1){
        exit(
    "<strong>Error: </strong>Can't be opened directly!");
    }
    // MSSQL Database Info
    $connect $mssql_connect(localhost,sa,mypassword); ?>
    And ofcourse dbinfo.php;

    PHP Code:
    <?php
    //MSSQL config
    $mssql_host="localhost";
    $mssql_user="sa";
    $mssql_pass="mypassword";
    ?>
    And then if I open install.php, and enter my information then I get these errors;

    Code:
    Warning: mssql_select_db() [function.mssql-select-db]: Unable to connect to server: (null) in C:\xampp\htdocs\site\install.php on line 27
     
    Warning: mssql_select_db() [function.mssql-select-db]: A link to the server could not be established in C:\xampp\htdocs\site\install.php on line 27
     
    Warning: mssql_query() [function.mssql-query]: Unable to connect to server: (null) in C:\xampp\htdocs\site\install.php on line 28
     
    Warning: mssql_query() [function.mssql-query]: A link to the server could not be established in C:\xampp\htdocs\site\install.php on line 28
     
    Warning: mssql_query() [function.mssql-query]: Unable to connect to server: (null) in C:\xampp\htdocs\site\install.php on line 29
     
    Warning: mssql_query() [function.mssql-query]: A link to the server could not be established in C:\xampp\htdocs\site\install.php on line 29
     
    Warning: mssql_query() [function.mssql-query]: Unable to connect to server: (null) in C:\xampp\htdocs\site\install.php on line 30
     
    Warning: mssql_query() [function.mssql-query]: A link to the server could not be established in C:\xampp\htdocs\site\install.php on line 30
     
    Warning: mssql_query() [function.mssql-query]: Unable to connect to server: (null) in C:\xampp\htdocs\site\install.php on line 34
     
    Warning: mssql_query() [function.mssql-query]: A link to the server could not be established in C:\xampp\htdocs\site\install.php on line 34
    Failed
    Whats the problem?
    I run on MYSSQL 2005 , do I need to replace localhost with H1325062\SQLEXPRESS or something?
    Last edited by custre; 14-10-07 at 12:46 AM. Reason: not complete


  2. #2
    Account Upgraded | Title Enabled! TrueDarKZONE is offline
    MemberRank
    Nov 2006 Join Date
    Some Were In ALocation
    686Posts

    Re: [Kalmax] Website Error.

    O_O yes u do sql 2005 dont use localhost nore 127.0.0.1
    it wont allow the connection

  3. #3
    Enthusiast custre is offline
    MemberRank
    Oct 2007 Join Date
    29Posts

    Re: [Kalmax] Website Error.

    what? please say that again incorrect English, I dont understand what you said there:P

  4. #4
    Account Upgraded | Title Enabled! L3gend is offline
    MemberRank
    Dec 2006 Join Date
    United KingdomLocation
    208Posts

    Re: [Kalmax] Website Error.

    Quote Originally Posted by custre View Post
    what? please say that again incorrect English, I dont understand what you said there:P
    I think you are so dumb to understand what he said..
    He said that dont use localhost or 127.0.0.1, If you use that, SQL will not allow you the connection..

    btw why you are using this template :O with insecure scripts -.-

  5. #5
    Enthusiast custre is offline
    MemberRank
    Oct 2007 Join Date
    29Posts

    Re: [Kalmax] Website Error.

    Quote Originally Posted by L3gend View Post
    I think you are so dumb to understand what he said..
    He said that dont use localhost or 127.0.0.1, If you use that, SQL will not allow you the connection..

    btw why you are using this template :O with insecure scripts -.-
    Excuse me for that, I just woke up and not seeing clear, so I'm really sorry for that.

    But why I wanna use it, is because there is an nice admin system in there, that I only wanna use for myself.
    But if I cant use 127.0.0.1 or localhost, what to use then? my server name or? Thats the only thing what keeps me away from setting up my server.



Advertisement