• 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 v0.7.12

Status
Not open for further replies.
Code:
[Thu May 04 10:42:14.222260 2017] [:error] [pid 1844:tid 2020] [client ::1:60293] PHP Fatal error:  Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ip' cannot be null' in C:\\UniServerZ\\www\\system\\libs\\pot\\OTS_Base_DB.php:100\nStack trace:\n#0 C:\\UniServerZ\\www\\system\\libs\\pot\\OTS_Base_DB.php(100): PDO->query('INSERT INTO `my...')\n#1 C:\\UniServerZ\\www\\system\\libs\\pot\\OTS_Account.php(896): OTS_Base_DB->query('INSERT INTO `my...')\n#2 C:\\UniServerZ\\www\\install\\steps\\finish.php(99): OTS_Account->logAction('Account created...')\n#3 C:\\UniServerZ\\www\\install\\index.php(40): require('C:\\\\UniServerZ\\\\w...')\n#4 {main}\n  thrown in C:\\UniServerZ\\www\\system\\libs\\pot\\OTS_Base_DB.php on line 100, referer: http://localhost/install/

Go to your phpmyadmin, select your database and execute this:
Code:
ALTER TABLE `myaac_account_actions` MODIFY `ip` INT(11) NOT NULL DEFAULT 0;

Anyway, this is strange. I don't understand why its returning NULL
 
Code:
Warning: DOMDocument::loadXML(): Input is not proper UTF-8, indicate encoding ! Bytes: 0xEA 0x20 0x70 0x6F in Entity, line: 1 in C:\xampp\htdocs\new\system\libs\pot\OTS_ServerInfo.php on line 124

Fatal error: Call to a member function getElementsByTagName() on null in C:\xampp\htdocs\new\system\libs\pot\OTS_InfoRespond.php on line 191

Try editing system\libs\pot\OTS_ServerInfo.php
Change:
Code:
if(!$info->loadXML( $status->getBuffer()))
to:
Code:
if(!$info->loadXML( utf8_encode($status->getBuffer())))

And tell me if it helped.
 
Go to your phpmyadmin, select your database and execute this:
Code:
ALTER TABLE `myaac_account_actions` MODIFY `ip` INT(11) NOT NULL DEFAULT 0;

Anyway, this is strange. I don't understand why its returning NULL
Now is working! Thanks a lot
 
Try editing system\libs\pot\OTS_ServerInfo.php
Change:
Code:
if(!$info->loadXML( $status->getBuffer()))
to:
Code:
if(!$info->loadXML( utf8_encode($status->getBuffer())))

And tell me if it helped.
Solved :D
Server Online » Players Online: 0 / 0 » Monsters: 58535 » Uptime: 0h 0m
 
Create Character
Sem título.png

After Submit
Sem título.png

MyAAC latest version is 0.0.5. You're using the latest version.
 
Yeeah, um, i am getting this!
And i am on the latest.
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ip' cannot be null' in E:\xampp\htdocs\system\libs\pot\OTS_Base_DB.php:100 Stack trace: #0 E:\xampp\htdocs\system\libs\pot\OTS_Base_DB.php(100): PDO->query('INSERT INTO `my...') #1 E:\xampp\htdocs\system\libs\pot\OTS_Account.php(896): OTS_Base_DB->query('INSERT INTO `my...') #2 E:\xampp\htdocs\system\pages\accountmanagement.php(932): OTS_Account->logAction('Created charact...') #3 E:\xampp\htdocs\index.php(188): require('E:\\xampp\\htdocs...') #4 {main} thrown in E:\xampp\htdocs\system\libs\pot\OTS_Base_DB.php on line 100
 
Create Character
View attachment 29814

After Submit
View attachment 29815

MyAAC latest version is 0.0.5. You're using the latest version.

You can't be using the latest version. Cause it has been fixed. I tried the same on my AAC and its working. It shows error, cause you can't create name with 'GM'.
Yeeah, um, i am getting this!
And i am on the latest.

But you have probably installed
Go to your phpmyadmin, select your database and execute this:
Code:
ALTER TABLE `myaac_account_actions` MODIFY `ip` INT(11) NOT NULL DEFAULT 0;
 
You can't be using the latest version. Cause it has been fixed. I tried the same on my AAC and its working. It shows error, cause you can't create name with 'GM'.
[/code]
Sem título.png
 
Cant Create but dont show any error
 
You can't be using the latest version. Cause it has been fixed. I tried the same on my AAC and its working. It shows error, cause you can't create name with 'GM'.


But you have probably installed
Go to your phpmyadmin, select your database and execute this:
Code:
ALTER TABLE `myaac_account_actions` MODIFY `ip` INT(11) NOT NULL DEFAULT 0;

Ive reinstalled using that 0.0.5 and it still does that

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ip' cannot be null' in E:\xampp\htdocs\system\libs\pot\OTS_Base_DB.php:100 Stack trace: #0 E:\xampp\htdocs\system\libs\pot\OTS_Base_DB.php(100): PDO->query('INSERT INTO `my...') #1 E:\xampp\htdocs\system\libs\pot\OTS_Account.php(896): OTS_Base_DB->query('INSERT INTO `my...') #2 E:\xampp\htdocs\system\pages\accountmanagement.php(932): OTS_Account->logAction('Created charact...') #3 E:\xampp\htdocs\index.php(188): require('E:\\xampp\\htdocs...') #4 {main} thrown in E:\xampp\htdocs\system\libs\pot\OTS_Base_DB.php on line 100
 
Ive reinstalled using that 0.0.5 and it still does that

As I said, you need to execute that query in database.

Check this screenshot!

i have this error when creating new character how to fix it?

Create Character
View attachment 29814

After Submit
View attachment 29815

MyAAC latest version is 0.0.5. You're using the latest version.

Ok now fixed, seems i didn't upload it correctly last time.

Download latest version here: https://github.com/slawkens/myaac/archive/master.zip
 
As I said, you need to execute that query in database.





Ok now fixed, seems i didn't upload it correctly last time.

Download latest version here: https://github.com/slawkens/myaac/archive/master.zip
Ok :D
i have removed from characters.php this line
Code:
if($ban['type'] != 2 and $ban['type'] != 4)
for solve this error
Notice: Undefined index: type in C:\xampp\htdocs\new\system\pages\characters.php on line 622
Notice: Undefined index: type in C:\xampp\htdocs\new\system\pages\characters.php on line 622
Account Information
Created: 1 January 1970, 1:00 am [Banished until 05 May 2017, 06:50]
 
Ok :D
i have removed from characters.php this line
Code:
if($ban['type'] != 2 and $ban['type'] != 4)
for solve this error
Notice: Undefined index: type in C:\xampp\htdocs\new\system\pages\characters.php on line 622
Notice
: Undefined index: type in C:\xampp\htdocs\new\system\pages\characters.php on line 622
Account Information

Created: 1 January 1970, 1:00 am [Banished until 05 May 2017, 06:50]

Good job. I removed it too. It wasn't needed.
 
Status
Not open for further replies.
Back
Top