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

Can't Connect to my website

RunarM

Finally back
Joined
Jul 17, 2008
Messages
1,636
Reaction score
34
Location
Norway/Tromsø
when i try to connect to my website this comes up:

Code:
Database error - can't connect to MySQL database. Possible reasons:
1. MySQL server is not running on host.
2. MySQL user, password, database or host isn't configured in: C:\Documents and Settings\Rm\Skrivebord\Server/config.lua .
3. MySQL user, password, database or host is wrong.

How can i fix that :/?
Please help!

-Runarm
 
Monsters:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'florensia.z_monsters' doesn't exist' in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\creatures.php:35 Stack trace: #0 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\creatures.php(35): PDO->query('SELECT * FROM `...') #1 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\index.php(76): include('C:\Documents an...') #2 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\index.php(1): include('C:\Documents an...') #3 {main} thrown in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\creatures.php on line 35

Spells:

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'florensia.z_spells' doesn't exist' in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\spells.php:12 Stack trace: #0 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\spells.php(12): PDO->query('SELECT * FROM z...') #1 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\index.php(82): include('C:\Documents an...') #2 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\index.php(1): include('C:\Documents an...') #3 {main} thrown in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\spells.php on line 12

Power gamers:


Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'players.exphist_lastexp' in 'order clause'' in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\exphist.php:24 Stack trace: #0 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\exphist.php(24): PDO->query(' SELECT * FROM ...') #1 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\power.php(5): include('C:\Documents an...') #2 {main} thrown in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\exphist.php on line 24

Online:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'onlinetimetoday' in 'order clause'' in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\onlinetime.php:23 Stack trace: #0 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\onlinetime.php(23): PDO->query(' SELECT * FROM ...') #1 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\online.php(5): include('C:\Documents an...') #2 {main} thrown in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\onlinetime.php on line 23

Shop system:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'florensia.z_shop_offer' doesn't exist' in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\shopsystem.php:55 Stack trace: #0 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\shopsystem.php(55): PDO->query('SELECT * FROM `...') #1 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\shopsystem.php(99): getOfferArray() #2 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\index.php(191): include('C:\Documents an...') #3 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\index.php(1): include('C:\Documents an...') #4 {main} thrown in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\shopsystem.php on line 55

Team:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'florensia.groups' doesn't exist' in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\pot\OTS_Base_List.php:238 Stack trace: #0 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\pot\OTS_Base_List.php(238): PDO->query('SELECT `groups`...') #1 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\team.php(15): OTS_Base_List->rewind() #2 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\index.php(173): include('C:\Documents an...') #3 C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\index.php(1): include('C:\Documents an...') #4 {main} thrown in C:\Documents and Settings\Rm\Skrivebord\Florensia\htdocs\includes\pot\OTS_Base_List.php on line 238
 
Last edited:
I had the same problem as you, but my solution wasnt so hard. ill show you what i did.

I saw your screen and i saw that apache and Mysql didt had a V in the square. try to make it like this.



First stop Mysql and Apache, then try to mark the squares, it will ask you to install/reinstall your apache/mysql.
Do this and it should work fine. if it doesnt work, reinstall Xammp and directly install Apache and Mysql

Dont forget to rep++
 
I had the same problem as you, but my solution wasnt so hard. ill show you what i did.

I saw your screen and i saw that apache and Mysql didt had a V in the square. try to make it like this.



First stop Mysql and Apache, then try to mark the squares, it will ask you to install/reinstall your apache/mysql.
Do this and it should work fine. if it doesnt work, reinstall Xammp and directly install Apache and Mysql

Dont forget to rep++

yea i has the same problem and i solved it like him /\
 
Making them into services will not solve any problem..

All a service does it tell's windows to run this program at startup... As long as the program is running that area is fine.
 
Making them into services will not solve any problem..

All a service does it tell's windows to run this program at startup... As long as the program is running that area is fine.

i disagree with you on that part, because when it was "only" running i couldt load my webpage, after i reinstalled it (like in the screen) it was OK.
 
Back
Top