Actually acc. maker doesn't send e-mails (only show "e-mail sent").
You can't set custom acc. number. Maybe I'll add it.
News/access rights will work fine in version 1.4.
Actually:
-spells + admin panel for spells [100% ready]
-news + admin panel for news [100% ready]
-creatures [30% ready - load monsters from OTS data and save in database (mysql/sqlite)]
------------------------------------------
4. When I open "install.php" or main page I see (mysql):
OR (if you try to use SQLite):
You use old version of TFS. Acc. maker work fine with 0.2.6 and new versions.
Copy this lines and paste somewhere in "config.lua":
Now set good mysqlhost,mysqluser,mysqlpass,mysqldatabase,sqlitedatabase,sqltype to access database. OTS and page should work fine
In version 0.1.4 script will check OTS config version and read needed information to connect database.
@Pietia - down
Read text /\ to fix it or wait for version 0.1.4
-----------------------------------------------------------
//modified HTML code work in "news" (only with MySQL ), HTML DOESN'T work in "tickers" - you can give access to "tickers" for Tutors and they can't SQL inject.
You can't set custom acc. number. Maybe I'll add it.
News/access rights will work fine in version 1.4.
Actually:
-spells + admin panel for spells [100% ready]
-news + admin panel for news [100% ready]
-creatures [30% ready - load monsters from OTS data and save in database (mysql/sqlite)]
------------------------------------------
ADDED TO FAQ!Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [14] unable to open database file' in C:\Archivos de programa\xampp\htdocs\pot\OTS_DB_SQLite.php:54 Stack trace: #0 C:\Archivos de programa\xampp\htdocs\pot\OTS_DB_SQLite.php(54): PDO->__construct('sqlite:C:\Docum...') #1 C:\Archivos de programa\xampp\htdocs\pot\OTS.php(453): OTS_DB_SQLite->__construct(Array) #2 C:\Archivos de programa\xampp\htdocs\install.php(18): POT->connect(2, Array) #3 {main} thrown in C:\Archivos de programa\xampp\htdocs\pot\OTS_DB_SQLite.php on line 54
....
What are the error?
4. When I open "install.php" or main page I see (mysql):
Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[28000] [1045] Access denied for user 'ODBC'@'localhost' (using password: NO)' in C:\xampp165\htdocs\pot\OTS_DB_MySQL.php:96 Stack trace: #0 C:\xampp165\htdocs\pot\OTS_DB_MySQL.php(96): PDO->__construct('mysql:', NULL, NULL) #1 C:\xampp165\htdocs\pot\OTS.php(448): OTS_DB_MySQL->__construct(Array) #2 C:\xampp165\htdocs\config-and-functions.php(32): POT->connect(1, Array) #3 C:\xampp165\htdocs\index.php(5): include('C:\xampp165\htd...') #4 {main} thrown in C:\xampp165\htdocs\pot\OTS_DB_MySQL.php on line 96
Code:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [14] unable to open database file' in C:\xampp165\htdocs\pot\OTS_DB_SQLite.php:54 Stack trace: #0 C:\xampp165\htdocs\pot\OTS_DB_SQLite.php(54): PDO->__construct('sqlite:C:\Docum...') #1 C:\xampp165\htdocs\pot\OTS.php(453): OTS_DB_SQLite->__construct(Array) #2 C:\xampp165\htdocs\config-and-functions.php(38): POT->connect(2, Array) #3 C:\xampp165\htdocs\index.php(5): include('C:\xampp165\htd...') #4 {main} thrown in C:\xampp165\htdocs\pot\OTS_DB_SQLite.php on line 54
Copy this lines and paste somewhere in "config.lua":
Code:
-- MySQL
mysqlHost = "localhost"
mysqlUser = "root"
mysqlPass = ""
mysqlDatabase = "otserv"
mysqlPort = 3306
-- SqLite
sqliteDatabase = "forgottenserver.s3db"
-- SQL
sqlType = "mysql"
passwordType = "plain"
In version 0.1.4 script will check OTS config version and read needed information to connect database.
@Pietia - down
Read text /\ to fix it or wait for version 0.1.4
-----------------------------------------------------------
//modified HTML code work in "news" (only with MySQL ), HTML DOESN'T work in "tickers" - you can give access to "tickers" for Tutors and they can't SQL inject.
Last edited: