Welcome to AC Web.
Page 2 of 3 FirstFirst 123 LastLast
Results 16 to 30 of 33
  1. #16

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    Everything works fine for me. But when i gonna choose avatar i see realm status and this write Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 37

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 41

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 45

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 49

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 53

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 57

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 61

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 65

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 69

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 73

    Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php on line 77

    Anyone know how to fix this ??

  2. #17


    Join Date
    Dec 2007
    Location
    England, Rochdale
    Posts
    181
    configure your C:\AC Web Ultimate Repack\Server\htdocs\infusions\realms_status_panel \realms_status_panel.php correctly,

  3. #18
    well i have put everything but whats wrong ? here is the config



    <?PHP
    include_once "settings.php";
    /*---------------------------------------------------+
    | PHP-Fusion 6 Content Management System
    +----------------------------------------------------+
    | Copyright © 2002 - 2006 Nick Jones
    | http://www.php-fusion.co.uk/
    +----------------------------------------------------+
    | PHP-Fusion Ascent Realm Status Panel by Thurgood
    +----------------------------------------------------+
    | Tested with Ascent's v1777+ Character DB Structure
    +----------------------------------------------------+
    | Place this code into a folder under Infusionss
    | Make sure the folder and the filename are identical
    | then add your panel.
    +----------------------------------------------------+
    | http://emu.game-server-cc/
    +----------------------------------------------------+
    | Released under the terms & conditions of v2 of the
    | GNU General Public License. For details refer to
    | the included gpl.txt file or visit The GNU Operating System
    +----------------------------------------------------*/

    if (!defined("IN_FUSION")) { header("Location:../../index.php"); exit; }
    openside("Realm Status");
    $conn = mysql_connect($host,$user,$pass) or die(mysql_error());
    mysql_select_db($db) or die(mysql_error());
    $numonline=@mysql_num_rows(mysql_query("SELECT NULL FROM `characters` WHERE `online`='1'"));
    $accdb=@mysql_num_rows(mysql_query("SELECT * FROM accounts"));
    $chardb=@mysql_num_rows(mysql_query("SELECT * FROM characters"));
    $guilddb=@mysql_num_rows(mysql_query("SELECT * FROM guilds"));
    $arenadb=@mysql_num_rows(mysql_query("SELECT * FROM arenateams"));


    $abfrage = "SELECT * FROM `characters` WHERE `online`='1'";
    $result = mysql_query($abfrage);
    $rows0 = mysql_num_rows($result);

    $abfrage1 = "SELECT * FROM `characters` WHERE `race`='1' AND `online`='1'";
    $result1 = mysql_query($abfrage1);
    $rows1 = mysql_num_rows($result1);

    $abfrage2 = "SELECT * FROM `characters` WHERE `race`='2' AND `online`='1'";
    $result2 = mysql_query($abfrage2);
    $rows2 = mysql_num_rows($result2);

    $abfrage3 = "SELECT * FROM `characters` WHERE `race`='3' AND `online`='1'";
    $result3 = mysql_query($abfrage3);
    $rows3 = mysql_num_rows($result3);

    $abfrage4 = "SELECT * FROM `characters` WHERE `race`='4' AND `online`='1'";
    $result4 = mysql_query($abfrage4);
    $rows4 = mysql_num_rows($result4);

    $abfrage5 = "SELECT * FROM `characters` WHERE `race`='5' AND `online`='1'";
    $result5 = mysql_query($abfrage5);
    $rows5 = mysql_num_rows($result5);

    $abfrage6 = "SELECT * FROM `characters` WHERE `race`='6' AND `online`='1'";
    $result6 = mysql_query($abfrage6);
    $rows6 = mysql_num_rows($result6);

    $abfrage7 = "SELECT * FROM `characters` WHERE `race`='7' AND `online`='1'";
    $result7 = mysql_query($abfrage7);
    $rows7 = mysql_num_rows($result7);

    $abfrage8 = "SELECT * FROM `characters` WHERE `race`='8' AND `online`='1'";
    $result8 = mysql_query($abfrage8);
    $rows8 = mysql_num_rows($result8);

    $abfrage9 = "SELECT * FROM `characters` WHERE `race`='10' AND `online`='1'";
    $result9 = mysql_query($abfrage9);
    $rows9 = mysql_num_rows($result9);

    $abfrage10 = "SELECT * FROM `characters` WHERE `race`='11' AND `online`='1'";
    $result10 = mysql_query($abfrage10);
    $rows10 = mysql_num_rows($result10);

    $horde = $rows2+$rows5+$rows6+$rows8+$rows9;
    $ally = $rows1+$rows3+$rows4+$rows7+$rows10;

    //Database Connection information
    $ip='rexxor.servergame.org'; //IP or DNS of your LOGONSERVER
    $port1 ='8129'; //WORLD LISTENER PORT - REALM 1
    $port2 ='8128'; //WORLD LISTENER PORT - REALM 2
    $port3 ='8127'; //WORLD LISTENER PORT - REALM 2

    // Lets see if Realm 1 is alive
    $fp = @fsockopen ($ip,$port1,$errno,$errstr, 0.5);
    if ($fp)
    { print "<center></font><p><center><img src='".BASEDIR."images/realm_status/up.png'></center>"; }
    else {print "<center><img src='".BASEDIR."images/realm_status/down.png'></center>"; }
    @fclose($fp);

    $conn = mysql_connect($host,$user,$pass) or die(mysql_error());
    mysql_select_db($logondb) or die(mysql_error());
    $accdb=@mysql_num_rows(mysql_query("SELECT * FROM accounts"));
    echo "<b>Online Players: $numonline <br> Alliance : <font color='blue'>$ally</font> Horde : <font color='red'>$horde </font></b><p><b>Name:</b> $realmname<br><b>Realm:</b> $realmadress <br> <b>Patch:</b> $patch<br><b>Rates:</b> $rates <br> <b><br><u>Database Statistics:</u></b><br><b>Accounts: $accdb <br>Characters: $chardb <br>Guilds: $guilddb <br>Arena Teams: $arenadb</b>
    ";
    ?>


    <?php mysql_close; ?>
    <?php
    mysql_connect("$db_host",
    "$db_user","$db_pass");
    mysql_select_db("$db_name");
    ?>
    <?php
    // Leave this line in
    mysql_close;
    closeside();
    ?>

  4. #19
    Banned

    Join Date
    Feb 2008
    Location
    Check Releases Section For Soul WebsitePack
    Posts
    1,300
    its nothing to do with that, there is a config.php in the realm status file somewhere , open it and edit it or go back to the htdocs index and edit config.php and make sure u have made the new database named portal and exectued the portal.sql

  5. #20
    The website works perfect its just that problem my configs are correct but i still get that error i got the database too

    i only find the settings.php but here is that config i think its correct

    <?php
    // Db settings this is need to take out how many players are online from db
    $host='localhost';
    $user='root';
    $pass='ascent';
    $db='portal';
    $logondb='logon';

    //Text Settings
    $realmname='[Rexxor]'; // Server Name or Realm name if only 1 realm
    $realmadress='[rexxor.servegame.org]'; //realmlist adress
    $patch='[2.4.x]'; // Your Server supported patch
    $rates='[Server Rates]'; //server rates
    ?>
    Last edited by halostorm; 09-07-2008 at 09:50 PM.

  6. #21
    Banned

    Join Date
    Feb 2008
    Location
    Check Releases Section For Soul WebsitePack
    Posts
    1,300
    Make Sure You Change The User And Pass To Your Database Info

  7. #22
    Yes i have, everything works perfekt its just that error i get all the time :S

  8. #23
    Banned

    Join Date
    Feb 2008
    Location
    Check Releases Section For Soul WebsitePack
    Posts
    1,300
    well i dont know, atleast it works

  9. #24


    Join Date
    Jul 2008
    Location
    USA!!! ---> Austin, Texas
    Posts
    178
    that cat avatar is giving my diabetes and this is very old there are teams making a much more stable one if you have been reading around and this post is 4 months old stop bumping it!!!

  10. #25
    Banned

    Join Date
    Feb 2008
    Location
    Check Releases Section For Soul WebsitePack
    Posts
    1,300
    Yeh Guys Stop Bumping This I Added A Much Better CMS: http://www.ac-web.org/forum/releases...-megapack.html Up to date and blizzlike

  11. #26
    tell you the truth i like this cms then that crappy one, just my opinion but the other one is to bright for me, and i tryed it on my server and people did not like it also, but i was looking for a download link of this anyway because i lost mine when i redid my main computer

  12. #27
    Banned

    Join Date
    Feb 2008
    Location
    Check Releases Section For Soul WebsitePack
    Posts
    1,300
    This Is An Old CMS Check Out: http://www.ac-web.org/forum/releases...-megapack.html ArcEmu CMS V1.5

  13. #28


    Join Date
    Mar 2008
    Location
    Here and there ^^
    Posts
    21
    Thanks

  14. #29
    Omgomgomgomgomgomgomgmogmgom thanks thanks thabnks daodskoasdkoasdkok thanks soo much omgom omgogmogmog love you so much !!! Omg omgomgomgomgomg loveeee!!! Uuu!!!!

  15. #30

    REGISTER! (FREE)
    Registered members see less ads
    and also gain access to other great features.
    its some buggs, and armory doesn't work...

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •