• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Guilds system + Woe problem...

hepy

New Member
Joined
Aug 15, 2007
Messages
217
Reaction score
1
Hi ive got a big problem with the modern guilds system, since a few months and i really dont know how to fix it. When players try to leave a guild, when they press the "leave" button, they get a blank page. I get the same error when i try to use this War Of Emperium (by Jano) script:

Code:
<?PHP  
require("config.php"); 
$ots = POT::getInstance(); 
$ots->connect(POT::DB_MYSQL, connection()); 
$SQL = $ots->getDBHandle(); 

$woe = $SQL->query("  
    SELECT w.id AS id, w.time AS time, g.name AS guild, p.name AS name, w.started AS start, w.guild AS guild_id  
        FROM woe AS w  
    INNER JOIN players AS p  
        ON p.id = w.breaker  
    INNER JOIN guilds AS g  
        ON g.id = w.guild  
    ORDER BY id DESC LIMIT 10;      
");  

$winners = ''; 

foreach ($woe as $k=>$v) {  
    $winners .="  
        <TR BGCOLOR=".($k % 2 == 1 ? '#993333' : '#336633').">  
            <TD>{$v['id']}</TD>  
            <TD><a href='index.php?subtopic=guilds&action=show&guild=" . $v['guild'] . "'>$v[guild]</a></TD>  
            <TD>{$v['name']}</TD>  
            <TD>" . date("d/m/y   H:i:s", $v['start']) . "</TD>  
            <TD>" . date("d/m/y   H:i:s", $v['time']) . "</TD>  
        </TR>  
    ";  
}  
echo '  
';  

if($winners == '') {  
    echo '  
        <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%>  
            <TR BGCOLOR="#red">  
                <TD CLASS=white>  
                    <B>Winners of WoE</B>  
                </TD>  
            </TR>  
            <TR BGCOLOR="#black">  
                <TD>  
                    There are no WoEs in '.$config['server']['serverName'].' yet.  
                </TD>  
            </TR>  
        </TABLE>  
    ';  
} else {  
    echo "  
        <TABLE BORDER=0 CELLSPACING=1 CELLPADDING=4 WIDTH=100%>  
            <TR BGCOLOR='#3366CC'>  
                <TD CLASS=white width=5%>  
                    <B>No.</B>  
                </TD>  
                <TD CLASS=white width=30%>  
                    <B>Winner guild</B>  
                </TD>  
                <TD CLASS=white width=25%>  
                    <B>Conquest by</B>  
                </TD>  
                <TD CLASS=white width=20%>  
                    <B>Start time</B>  
                </TD>  
                <TD CLASS=white width=20%>  
                    <B>Last conquest</B>  
                </TD>  
            </TR>  
            $winners  
        </TABLE>  
    ";  
}  
?>

see the error here --> http://tw.game-over.cl//index.php/p/v/woem

I tried to add it with modern admin panel and manually, but i still get a blank page... i also tried to change the file permissions, but it didnt help.

any idea?? i really need to fix this to start my ots again!
THANKS!:D
 
Its not a question is a problem.. when players try to leave guilds in my webpage, they get a blank page..
 
@demian
.... el script "woe" es solo uno de prueba para ver si funcionaba el sistema de pages... no soy tan tonto jajaja de todas maneras gracias por el intento..

the script "woe" its juts a test to know if the moderns page system working is... its not a fail, any idea? thanks
 
offer
its really sad to see people like you around this forum, but i think its the only way i have to solve this problem...
 
it works! THANKS!

now, did someone knows how to solve my php woe problem? thanks :)
 
Back
Top