• 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!

Gesior 2012 help

3alola1

I don't have time
Joined
Sep 2, 2010
Messages
934
Solutions
8
Reaction score
542
Location
Darashia
Hello otland .I have been working on a server but there is a problem with my site
it is gesior 2012 0.4

XUv7QZh.png


Line 217

PHP:
<?php
                            $players = $SQL->query('SELECT `name`,  `level`, `experience`, `online`, `group_id` FROM `players` WHERE `group_id` <  '.$config['site']['players_group_id_block'].' AND `name` != "Account  Manager" ORDER BY `level` DESC, `experience` DESC LIMIT 5;');
                            $i = 0;
                            foreach($players as $player)
                            {
                             $i++;
                             echo '<li  class="light">'.$i.'. <a href="index.php?subtopic=characters&name='.urlencode($player['name']).'"  >'.$player['name'].'</a> - Level:  '.$player['level'].'</li>';
                            }
                        ?>
                        </ul>
                    </div>
                <div class="topguilds"></div>
                    <div id="vt_menu">
                        <ul>
<?PHP
 
Last edited:
The query isen't even loaded, are you on the correct page? Logged in if that is needed etc?
 
Yes and that is correct, but the query is not loaded, so I asked are you on the correct page?
 
So what did you do to get the image above?
What I can see is that the database is not debugged.
 
this image of the whole site in every page when i changed false to true as you said

@WibbenZ

Are you in that case switching it off? I can't see any information at all.
If you are worried that your player (you) will see the messages then don't.
Nothing harmful is printed out - or take a screenshoot of the full screen and post it so we can see what it actually says.
Make sure to actually have the code in your layout.php file aswell(it's removed as of now).
 
Back
Top