• 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 Acc] 4Story Layout

Olddies

Classicot.com
Premium User
Joined
Nov 21, 2009
Messages
1,172
Solutions
12
Reaction score
309
Location
Dominican Republic 🇩🇴
Hello otlanders i found this layout somewhere in internet but i cant get it working, when i try the website only become a blank page with some errors if someone can remake it and upload here again would be nice for some people here in otland :D

102kzzs.jpg

http://speedy*****malware.localhost/CdX7g/4story.rar
 
dont know what u mean :O im using you vps and i can use anyother layout but this one no
What I think is you have not installed php which is why your webpage doesnt work :)

This pretty much verifies my thoughts. I sent a request to your server and it wont show php version:
Code:
root@15432:~# curl -I http://5.135.250.162
HTTP/1.1 200 OK
Date: Sun, 27 Mar 2016 13:29:18 GMT
Server: Apache/2.4.10 (Ubuntu)
Set-Cookie: PHPSESSID=55imesc8gjelmrt0u40r407qc3; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
 
What I think is you have not installed php which is why your webpage doesnt work :)

This pretty much verifies my thoughts. I sent a request to your server and it wont show php version:
Code:
root@15432:~# curl -I http://5.135.250.162
HTTP/1.1 200 OK
Date: Sun, 27 Mar 2016 13:29:18 GMT
Server: Apache/2.4.10 (Ubuntu)
Set-Cookie: PHPSESSID=55imesc8gjelmrt0u40r407qc3; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
how i can fix this then?
 
how i can fix this then?
Acctually there is php in the output so you may acctually have installed php on your server already so it may not fix your problem.
Anyway run this command "php -v" and post the output here to check php version.
If it turns out you havent installed php run this command (paste whole code) to install php, restart apache and check if php works now.
Code:
sudo apt-get install php5 libapache2-mod-php5 && sudo /etc/init.d/apache2 restart && php -r 'echo "\n\nYour PHP installation is working fine.\n\n\n";'
 
i get this when i run "php -v"
Code:
PHP 5.6.4-4ubuntu6.4 (cli) (built: Oct 28 2015 01:21:29)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
 
i get this when i run "php -v"
Code:
PHP 5.6.4-4ubuntu6.4 (cli) (built: Oct 28 2015 01:21:29)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
Aight then you have php installed. Hm atm Im rly tired and gotta sleep now (2:47am here) but I will give it some thought and let ya know tomorrow if I have come up with something :)
 
how i can fix this? that is how in my website look
28k32hl.png


and this other picture is how i want it looks
153n2hg.jpg


i have looked in layout.php and i found this but dont know if it is good or something is wrong with it
Code:
<div class="page" style="margin-top:-30px">
<div class="page" style="margin-left:30px">
<h2><font color="#F1C75C"><br></br>
<?PHP
    if($config['status']['serverStatus_online'] == 1)
        echo '<font color="green" size="5"><b> ONLINE</b></font><br></br><div class="page" style="margin-right: 0px">Players Online:<font color=""> <div id="players" style="display: inline;">0 </div>/'.$config['status']['serverStatus_playersMax'].' <br>Uptime: '.    $config['status']['serverStatus_uptime'].'</font>';
  
elseif($config['status']['serverStatus_online'] == 0)
                echo '<font color="red" size="5"><b> <br></br><div class="page" style="margin-top:-30px">OFFLINE</font><br>
Players Online:<font color=""> <div id="players" style="display: inline;">0 </div>/'.$config['status']['serverStatus_playersMax'].' <br>Uptime: '.    $config['status']['serverStatus_uptime'].'</font>';
else
echo 'Error.';

            ?>
          
<div class="page" style="margin-top:-50px">
<div class="page" style="margin-left:320px">
<font color="#3aab12">Experience: x30</br><br>
Loot: x2 </br><br>
Skills: x4 </br></font>              
</font></h2>


</div>
                                <div class="agb-reg">
 
Last edited:
how i can fix this? that is how in my website look
28k32hl.png


and this other picture is how i want it looks
153n2hg.jpg


i have looked in layout.php and i found this but dont know if it is good or something is wrong with it
Code:
<div class="page" style="margin-top:-30px">
<div class="page" style="margin-left:30px">
<h2><font color="#F1C75C"><br></br>
<?PHP
    if($config['status']['serverStatus_online'] == 1)
        echo '<font color="green" size="5"><b> ONLINE</b></font><br></br><div class="page" style="margin-right: 0px">Players Online:<font color=""> <div id="players" style="display: inline;">0 </div>/'.$config['status']['serverStatus_playersMax'].' <br>Uptime: '.    $config['status']['serverStatus_uptime'].'</font>';
 
elseif($config['status']['serverStatus_online'] == 0)
                echo '<font color="red" size="5"><b> <br></br><div class="page" style="margin-top:-30px">OFFLINE</font><br>
Players Online:<font color=""> <div id="players" style="display: inline;">0 </div>/'.$config['status']['serverStatus_playersMax'].' <br>Uptime: '.    $config['status']['serverStatus_uptime'].'</font>';
else
echo 'Error.';

            ?>
         
<div class="page" style="margin-top:-50px">
<div class="page" style="margin-left:320px">
<font color="#3aab12">Experience: x30</br><br>
Loot: x2 </br><br>
Skills: x4 </br></font>             
</font></h2>


</div>
                                <div class="agb-reg">
@Cornex @HalfAway
 
Back
Top