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

MyAAC v1.0

Yah. But...
I have downloaded everything from zero. Your acc and OTBR.
Also reseted all database. But get errors. The site works, but when I click on login, get:

PHP:
2025/03/03 11:21:09 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:10 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:10 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:10 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:10 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:11 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"

even with dev state it dont show properly.
The site works at I click on accountmanagent.

PHP:
const MYAAC = true;
const MYAAC_VERSION = '1.2';


You can see, site works but when click on login. Error appears. Also admin page work normally.

I really don't know what I'm doing wrong.
 
Yah. But...
I have downloaded everything from zero. Your acc and OTBR.
Also reseted all database. But get errors. The site works, but when I click on login, get:

PHP:
2025/03/03 11:21:09 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:10 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:10 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:10 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:10 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"
2025/03/03 11:21:11 [error] 172074#172074: *2920 open() "/var/www/html/index.php/account/manage" failed (20: Not a directory), client: 191.36.184.232, server: _, request: "GET /index.php/account/manage HTTP/1.1", host: "177.54.147.173", referrer: "http://177.54.147.173/"

even with dev state it dont show properly.
The site works at I click on accountmanagent.

PHP:
const MYAAC = true;
const MYAAC_VERSION = '1.2';


You can see, site works but when click on login. Error appears. Also admin page work normally.

I really don't know what I'm doing wrong.

Check this nginx-sample from myaac: (its located at /etc/nginx/sites-enabled)


These 3 lines are important, verify if you have the same:
Code:
    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }
 
Finally. Thanks! Now I can test it.
Sorry for inconvenience and for touch in u sleep xD
 
I have already install php8+ but website still not work.


LUA:
PHP 8.4.7 (cli) (built: May  9 2025 06:53:45) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.7, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.7, Copyright (c), by Zend Technologies

On site error:

PHP version 8.1 or higher is required.
 
I have already install php8+ but website still not work.


LUA:
PHP 8.4.7 (cli) (built: May  9 2025 06:53:45) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.4.7, Copyright (c) Zend Technologies
    with Zend OPcache v8.4.7, Copyright (c), by Zend Technologies

On site error:

Your webserver is probably configured to use older version of php.

What webserver do you use? apache2/nginx?
 
apache2

but i fix this
now error i have:

LUA:
PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/system/libs/pot/OTS_DB_MySQL.php:123
Stack trace: #0 /var/www/html/system/libs/pot/OTS_DB_MySQL.php(123):
PDO->__construct() #1 /var/www/html/system/libs/pot/OTS.php(373): OTS_DB_MySQL->__construct()
#2 /var/www/html/system/database.php(91): POT->connect()
#3 /var/www/html/install/includes/database.php(6): require('...')
#4 /var/www/html/install/steps/5-database.php(51): require('...')
#5 /var/www/html/install/index.php(214): require('...') #6 {main}

rv0pF9u.png
 
Last edited:
apache2

but i fix this
now error i have:

LUA:
PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/html/system/libs/pot/OTS_DB_MySQL.php:123
Stack trace: #0 /var/www/html/system/libs/pot/OTS_DB_MySQL.php(123):
PDO->__construct() #1 /var/www/html/system/libs/pot/OTS.php(373): OTS_DB_MySQL->__construct()
#2 /var/www/html/system/database.php(91): POT->connect()
#3 /var/www/html/install/includes/database.php(6): require('...')
#4 /var/www/html/install/steps/5-database.php(51): require('...')
#5 /var/www/html/install/index.php(214): require('...') #6 {main}

rv0pF9u.png

What server is that? Is your mysql running?

Try change in config.lua the mysqlHost to "127.0.0.1".

Show me the mysql* part in config.lua.
 
its open source already a guy give me the files
this is the schema shouldn't be hard to make the changes i already have adapted znote to work with it
there is the db works as any other 7.x database but in accounts it uses the variable id instead of name apart from minimal changes
i have the website that comes with the proyect its a znote one the basic although
but i manage to make it work with mine znote one would be cool to test myacc too
 

Attachments

its open source already a guy give me the files
this is the schema shouldn't be hard to make the changes i already have adapted znote to work with it
there is the db works as any other 7.x database but in accounts it uses the variable id instead of name apart from minimal changes
i have the website that comes with the proyect its a znote one the basic although
but i manage to make it work with mine znote one would be cool to test myacc too

Looking at the schema, it tells me that it should work. Try it.
 
Looking at the schema, it tells me that it should work. Try it.
tried after i thought it was a succesfull installation i get this

Installation finished!​


Warning: Undefined array key "template_path" in C:\xampp\htdocs3\config.php on line 257
Created admin account...
Newses has been created...


Warning: Undefined variable $config in C:\xampp\htdocs3\config.php on line 257

Warning
: Trying to access array offset on value of type null in C:\xampp\htdocs3\config.php on line 257
Player samples has been imported...
Items has been loaded...
Weapons has been loaded...
Error: Cannot load monsters.xml. File is invalid. More info in system/logs/error.log file.
Spells has been loaded...
Congratulations! MyAAC is ready to use!
You can now login to Admin Panel, or visit homepage.

Please delete install/ directory.

Post bugs and suggestions at https://my-aac.org, thanks! after going to main page i get this

Installation finished!​


Warning: Undefined array key "template_path" in C:\xampp\htdocs3\config.php on line 257
Created admin account...
Newses has been created...


Warning: Undefined variable $config in C:\xampp\htdocs3\config.php on line 257

Warning
: Trying to access array offset on value of type null in C:\xampp\htdocs3\config.php on line 257
Player samples has been imported...
Items has been loaded...
Weapons has been loaded...
Error: Cannot load monsters.xml. File is invalid. More info in system/logs/error.log file.
Spells has been loaded...
Congratulations! MyAAC is ready to use!
You can now login to Admin Panel, or visit homepage.

Please delete install/ directory.

Post bugs and suggestions at https://my-aac.org, thanks!

'events_xml' => $config['template_path'] . "data/xml/events.xml",
change this to this
// events
'events_xml' => $config['template_path'] . "data/events/events.xml", nothing changed
 
tried after i thought it was a succesfull installation i get this

Installation finished!​


Warning: Undefined array key "template_path" in C:\xampp\htdocs3\config.php on line 257
Created admin account...
Newses has been created...


Warning: Undefined variable $config in C:\xampp\htdocs3\config.php on line 257

Warning
: Trying to access array offset on value of type null in C:\xampp\htdocs3\config.php on line 257
Player samples has been imported...
Items has been loaded...
Weapons has been loaded...
Error: Cannot load monsters.xml. File is invalid. More info in system/logs/error.log file.
Spells has been loaded...
Congratulations! MyAAC is ready to use!
You can now login to Admin Panel, or visit homepage.

Please delete install/ directory.

Post bugs and suggestions at https://my-aac.org, thanks! after going to main page i get this

Installation finished!​


Warning: Undefined array key "template_path" in C:\xampp\htdocs3\config.php on line 257
Created admin account...
Newses has been created...


Warning: Undefined variable $config in C:\xampp\htdocs3\config.php on line 257

Warning
: Trying to access array offset on value of type null in C:\xampp\htdocs3\config.php on line 257
Player samples has been imported...
Items has been loaded...
Weapons has been loaded...
Error: Cannot load monsters.xml. File is invalid. More info in system/logs/error.log file.
Spells has been loaded...
Congratulations! MyAAC is ready to use!
You can now login to Admin Panel, or visit homepage.

Please delete install/ directory.

Post bugs and suggestions at https://my-aac.org, thanks!

'events_xml' => $config['template_path'] . "data/xml/events.xml",
change this to this
// events
'events_xml' => $config['template_path'] . "data/events/events.xml", nothing changed

Use this version: Release MyAAC v1.4 · slawkens/myaac (https://github.com/slawkens/myaac/releases/tag/v1.4)

And not the opentibiabr version, because it won't work.
 
Back
Top