oh sorryI almost got this.
You have changed this line:
can you show me original code?Code:foreach ($config["gifts_system"] as $ServiceCategoryID => $data) {
updated
oh sorryI almost got this.
You have changed this line:
can you show me original code?Code:foreach ($config["gifts_system"] as $ServiceCategoryID => $data) {
I found two bugs already, if you make a very long news post, the edit button stops working at the bottom.
If you make a long news ticker the structure of the site breaks and you cannot edit the ticker or remove it.
I don't know how long dd you tried, but it seems it have some other reason. Cause i've tried to post a very very long post (more than 1800 words) and it worked fine.
Can you dump me your phpmyadmin myaac_news table?
You need to go to your database, select myaac_news, then there's in right up corner "Export" option. Use that to export that table.
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ip' cannot be null' in D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php:100 Stack trace: #0 D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php(100): PDO->query('INSERT INTO `my...') #1 D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Account.php(919): OTS_Base_DB->query('INSERT INTO `my...') #2 D:\Tibia Projekt\xampp\htdocs\system\pages\createaccount.php(151): OTS_Account->logAction('Account created...') #3 D:\Tibia Projekt\xampp\htdocs\index.php(223): require('D:\\Tibia Projek...') #4 {main} thrown in D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php on line 100
// new character config
'character_samples' => array( // vocations, format: ID_of_vocation => 'Name of Character to copy'
2 => 'Rogue Sample',
3 => 'Sorcerer Sample',
4 => 'Druid Sample',
5 => 'Ranger Sample',
6 => 'Knight Sample',
7 => 'Paladin Sample'
),
// new character config
'character_samples' => array( // vocations, format: ID_of_vocation => 'Name of Character to copy'
0 => 'Rogue Sample',
1 => 'Sorcerer',
2 => 'Druid Sample',
3 => 'Ranger Sample',
4 => 'Knight Sample',
5 => 'Paladin Sample'
),
You should have only 4 vocations right ? why is there a ranger sample ? Your vocation ids are different than a default ones cause you have one extra vocation. Maybe there's a problem
Hi. Im using myacc version 0.1.3 with OTHire 0.0.3. I have a problem when creating a new account.
Code:Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ip' cannot be null' in D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php:100 Stack trace: #0 D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php(100): PDO->query('INSERT INTO `my...') #1 D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Account.php(919): OTS_Base_DB->query('INSERT INTO `my...') #2 D:\Tibia Projekt\xampp\htdocs\system\pages\createaccount.php(151): OTS_Account->logAction('Account created...') #3 D:\Tibia Projekt\xampp\htdocs\index.php(223): require('D:\\Tibia Projek...') #4 {main} thrown in D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php on line 100
The account is successfully created in account table but there is no record in myaac_account_actions table. Idk why its problem with column ip because it has a default value of 0 so its should not be NULL right ?
Thx for answer
I set the config to this;
Code:// new character config 'character_samples' => array( // vocations, format: ID_of_vocation => 'Name of Character to copy' 0 => 'Rogue Sample', 1 => 'Sorcerer', 2 => 'Druid Sample', 3 => 'Ranger Sample', 4 => 'Knight Sample', 5 => 'Paladin Sample' ),
Now it shows up correctly on the character creation screen but in-game it uses a completely different sample that doesn't even exist in my database.
Hi. Im using myacc version 0.1.3 with OTHire 0.0.3. I have a problem when creating a new account.
Code:Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ip' cannot be null' in D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php:100 Stack trace: #0 D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php(100): PDO->query('INSERT INTO `my...') #1 D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Account.php(919): OTS_Base_DB->query('INSERT INTO `my...') #2 D:\Tibia Projekt\xampp\htdocs\system\pages\createaccount.php(151): OTS_Account->logAction('Account created...') #3 D:\Tibia Projekt\xampp\htdocs\index.php(223): require('D:\\Tibia Projek...') #4 {main} thrown in D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php on line 100
The account is successfully created in account table but there is no record in myaac_account_actions table. Idk why its problem with column ip because it has a default value of 0 so its should not be NULL right ?
Thx for answer
Export your players table and post here.
Also show me your $config['vocations'] and $config['character_samples']
// new character config
'character_samples' => array( // vocations, format: ID_of_vocation => 'Name of Character to copy'
0 => 'Rogue Sample',
1 => 'Sorcerer Sample',
2 => 'Druid Sample',
3 => 'Ranger Sample',
4 => 'Knight Sample',
5 => 'Paladin Sample'
),
Hi. Im using myacc version 0.1.3 with OTHire 0.0.3. I have a problem when creating a new account.
Code:Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'ip' cannot be null' in D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php:100 Stack trace: #0 D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php(100): PDO->query('INSERT INTO `my...') #1 D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Account.php(919): OTS_Base_DB->query('INSERT INTO `my...') #2 D:\Tibia Projekt\xampp\htdocs\system\pages\createaccount.php(151): OTS_Account->logAction('Account created...') #3 D:\Tibia Projekt\xampp\htdocs\index.php(223): require('D:\\Tibia Projek...') #4 {main} thrown in D:\Tibia Projekt\xampp\htdocs\system\libs\pot\OTS_Base_DB.php on line 100
The account is successfully created in account table but there is no record in myaac_account_actions table. Idk why its problem with column ip because it has a default value of 0 so its should not be NULL right ?
Thx for answer
The house page doesn't work?