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

Linux Help in Ubuntu 12.10 x64

FabianoBN

l|¬¬"|l
Joined
Jan 23, 2009
Messages
745
Reaction score
22
Location
Goias - Brazil
WebSite
Lighttpd installed and Mysql server.
But the site does not work!
I open the website by ip and instead of opening the page opens the code!
example:
open in chrome: 127.0.0.1
appears and the php code:
PHP:
<?php

class exemplo
{
function __construct()
{
include_once('test.php');
}

}
$e = new exemplo();


?>

Server

And the server will compile and give the error:

Code:
chat.cpp: In member function 'ChatChannel* Chat::getChannel(Player*, uint16_t)':
chat.cpp:1144:10: error: converting 'false' to pointer type 'ChatChannel*' [-Werror=conversion-null]
cc1plus: all warnings being treated as errors
make[1]: *** [chat.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f .deps/beds.Tpo .deps/beds.Po
mv -f .deps/actions.Tpo .deps/actions.Po
mv -f .deps/combat.Tpo .deps/combat.Po
mv -f .deps/condition.Tpo .deps/condition.Po
make[1]: Leaving directory `/home/trunk.r3777'
make: *** [all] Error 2

I had one already built I think in previous version of ubuntu 12.10.
and gives this error:

Code:
./theforgottenserver: error while loading shared libraries: libmysqlclient.so.16: cannot open shared object file: No such file or directory

Thanks!
 
Web: Did you install lighttpd?...

Server: you tried to open a compiled server that wasn't compiled in your PC...

Compile problem: Open your Makefile.am and delete -Werror and do again ./autogen.sh -> ./configure --enable-mysql --enable-root-permission -> make -j 2
 
Well, have you tried to install apache2?

Apache2 Installation:
apt-get install apache2
apt-get install libapache2-mod-php5

If you're still have problems, please contact me via P.M for personal help.
 
Back
Top