v3.1 Working but...

Results 1 to 14 of 14
  1. #1
    Proficient Member nzamkdh is offline
    MemberRank
    Feb 2009 Join Date
    AsianLocation
    173Posts

    shout v3.1 Working but...

    Hello friend... i have problem with cabaltoolsv3.1 ..
    In my pc all web cabaltool v3.1 work but in my friend pc NOT WORK

    This error:
    "Fatal error: Call to a member function children() on a non-object in C:\xampp\htdocs\modules\mod.servstats.php on line 29"

    My PC is work:


    My Friend PC not work:


    backend config :
    Code:
    $_config['db_type'] = 'mssql';
    $_config['Server'] = "192.168.1.4"; <--- ip my connection
    $_config['User'] = *REMOVED*;
    $_config['Pass'] = *REMOVED*;
    $_config['DB'] = "ACCOUNT";
    $_config['DB2'] = "GAMEDB";
    $_config['DB3'] = "CabalCash";
    frontend config :
    Code:
    $_config['server_feed'] = 'http://192.168.1.4/backend/';// dont forget to add / in the end
    $_config['front_page'] = 'frontpage';
    $_config['popup_vote'] = 120;
    $_config['top_hero'] = 10;
    $_config['nocache'] = false;
    $_config['close_site'] = false;
    $_config['redirect'] = 'http://192.168.1.4/frontend/'; <--- ip my connection
    192.168.1.4 = ip my connection

    Please tell me how to fix this....
    Last edited by Yamachi; 16-06-11 at 04:04 AM. Reason: removed username and password


  2. #2
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: v3.1 Working but...

    What version of xampp are you using and what version your friend is using?If its different told him to try you version or better give him your whole xampp folder.

  3. #3
    Proficient Member nzamkdh is offline
    MemberRank
    Feb 2009 Join Date
    AsianLocation
    173Posts

    Re: v3.1 Working but...

    version 1.7.1 i use.... if my friend need see the page must download xampp? :(

    in my pc web work nice.. but my friend have prob (other link Internet)

  4. #4
    Account Upgraded | Title Enabled! Amaymon is offline
    MemberRank
    Apr 2011 Join Date
    RomaniaLocation
    252Posts

    Re: v3.1 Working but...

    Try delete your friend logs from the website then restart apache.

  5. #5
    Valued Member Kero Yugi is offline
    MemberRank
    Jul 2010 Join Date
    111Posts

    Re: v3.1 Working but...

    removed
    Last edited by Kero Yugi; 21-05-19 at 03:34 PM.

  6. #6
    Proficient Member nzamkdh is offline
    MemberRank
    Feb 2009 Join Date
    AsianLocation
    173Posts

    Re: v3.1 Working but...

    Quote Originally Posted by Kero Yugi View Post
    I had this error but when enabled "php_mssql.dll" it works :D
    To enable php_mssql.dll go to your php folder default "C:\xampp\php\php.ini"
    and search for "extension=php_mssql.dll" it must be "extension=php_mssql.dll" NOT ";extension=php_mssql.dll" if u get this give a hell yeah :) ▼ ↓
    already check this before:
    extension=php_mssql.dll
    extension=php_mysql.dll
    extension=php_mysqli.dll
    (not have ;)

  7. #7
    Hi Extornia is offline
    MemberRank
    Mar 2011 Join Date
    Sarajevo, BosniLocation
    496Posts

    Re: v3.1 Working but...

    Setup the WAN IP in frontend instead of LAN and it will work for him, but you might have bugs.
    Worth it though.

  8. #8
    ┌П┐(•_•)┌П┐ allocen is offline
    MemberRank
    Dec 2009 Join Date
    Deep AbyssLocation
    1,003Posts

    Re: v3.1 Working but...

    Version 1.7.1 already have " ; " removed only version 1.7.3 have " ; ",i recommand to use still xampp 1.7.1 because its stable (i`m using it myself for many years),did you try to get him a new fresh copy of cabaltoolz v3.1 and a fresh install of xampp?

  9. #9
    Proficient Member nzamkdh is offline
    MemberRank
    Feb 2009 Join Date
    AsianLocation
    173Posts

    Re: v3.1 Working but...

    mod.servstats.php :
    Code:
    <?PHP
    $file = $_config['server_feed'] . 'serverstats.php';
    $data = file_get_contents($_rootdir.'backend.php'.$file);
    
    $feed = simplexml_load_string($data);
    
    ?>
    <style>
    #stats {
    	margin: 2px;
    	background-color:#000;
    	padding-left: 15px;
    }
    #stats label {
    	float: left;
    	width: 70px;
    	color: rgb(152, 207, 154);
    }
    .label2 {
    	padding-left: 15px;
    	float: left;
    	color: rgb(152, 207, 154);
    }
    </style>
    <div id="servstats" align="left">
    <?PHP
    $c = 1;
    $i = 1;
    foreach ($feed->children() as $x => $s) {
    if ($x == 'service') {
    
    	echo '<table width="100%">';
    	foreach ($s as $s1 => $s2) {
    if ($s2->user == 0) { 
    echo '<tr style="background-color:#000;">
    <td width="130" height="20" style="background-color:#000;"><div class="label2">'. $s2->desc. '</div></td>
    <td width="39" align="left" height="20"><small>Wait</small></td>
    </tr>';
    
    } else {
    echo '<tr style="background-color:#000;"> 
    <td width="100" height="20" ><div class="label2">'. $s2->desc. '</div></td>
    <td width="39" align="left" height="20">
    <div style="position: relative; top: 4px; left: 0pt; width: 39px; background-image: url(includes/empty.jpg);"><img src="includes/spacer.gif" height="8"></div>
    <div style="position: relative; top: -4px; left: 0pt; width: '.$s2->user.'%; background-image: url(includes/full.jpg); background-repeat: no-repeat;"><img src="includes/spacer.gif" height="8"></div>
    </td>
    </tr>';
    }
    	}
    	echo '</table>';
    } else {
    	foreach ($s as $s1 => $s2) {
    		echo '<div id="stats"><label>'. $s1. '</label> : <b>'.$s2.'</b></div>';
    	}
    }
    }
    ?>
    				
    
    </div>
    Frontend Config :
    Code:
    $_config['server_feed'] = 'http://WANIP/backend/';// dont forget to add / in the end
    $_config['front_page'] = 'frontpage';
    $_config['popup_vote'] = 120;
    $_config['top_hero'] = 10;
    $_config['nocache'] = false;
    $_config['close_site'] = false;
    $_config['redirect'] = 'http://WANIP/';
    Backend Config :
    Code:
    $_config['db_type'] = 'mssql';
    $_config['Server'] = "192.168.1.5"; <----ip my server
    $_config['User'] = "******";
    $_config['Pass'] = "******";
    $_config['DB'] = "ACCOUNT";
    $_config['DB2'] = "GAMEDB";
    $_config['DB3'] = "CabalCash";
    that my setting on config.. that right or wrong?

    update :register page on my friend is work.. but still got problem :
    Code:
    Fatal error: Call to a member function children() on a non-object in C:\xampp\htdocs\modules\mod.servstats.php on line 29
    Last edited by nzamkdh; 16-06-11 at 08:35 PM.

  10. #10
    ┌П┐(•_•)┌П┐ allocen is offline
    MemberRank
    Dec 2009 Join Date
    Deep AbyssLocation
    1,003Posts

    Re: v3.1 Working but...

    $_config['Server'] = "192.168.1.5"; <----ip my server ,here you must put your WAN IP from where you have database(if its on your computer,put your own wan ip).

  11. #11
    Proficient Member nzamkdh is offline
    MemberRank
    Feb 2009 Join Date
    AsianLocation
    173Posts

    Re: v3.1 Working but...

    i use router and use no-ip :
    1. i put wan ip what i find on ( What's My IP Address? Networking Tools & More )
    2. after change $_config['Server'] = "192.168.1.5" to WAN ip not work too
    3. i can't reg,can't see ranking page, can,t see channelrates.... (use my friend pc)

    what should i do?

  12. #12
    Hi Extornia is offline
    MemberRank
    Mar 2011 Join Date
    Sarajevo, BosniLocation
    496Posts

    Re: v3.1 Working but...

    Can you private message me your teamviewer details, I'll have a look at it.

  13. #13
    Banned Yamachi is offline
    BannedRank
    Oct 2006 Join Date
    Jolly EnglandLocation
    3,517Posts

    Re: v3.1 Working but...

    Quote Originally Posted by RisingDevs View Post
    Can you private message me your teamviewer details, I'll have a look at it.
    We prefer to resolves problems by posting on the forums, not by offering personal support (besides IRC, ofc). This means that solutions will be visible for anyone that has the same problem.

  14. #14
    Hi Extornia is offline
    MemberRank
    Mar 2011 Join Date
    Sarajevo, BosniLocation
    496Posts

    Re: v3.1 Working but...

    It is way easier for me to do it for him privately to see what the problem is, because mate all I can do here is sit and guess. If I can have a look at his computer and his website setup, I can get the basic idea to able to help others.
    Anyway.
    Don't use XAMPP 1.7.1 it doesen't function well, its old and its less secure for the newest exploits, 1.7.4 and 1.7.5 don't even work with CT 3.1/CT4.0 so your best bet is to take XAMPP 1.7.3.
    If I can have a look at your website setup, I can see what other things are wrong, and I'll be far more helpfull.



Advertisement