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

Creating Guilds

Radium

Frozen-Hell.com
Joined
Nov 20, 2010
Messages
248
Reaction score
11
Location
England
I am getting these errors when i try to create a guild through Modern AAC's web application.

LUA:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1364 Field 'motd' doesn't have a default value' in /var/www/system/application/libraries/POT/OTS_Guild.php:178 Stack trace: #0 /var/www/system/application/libraries/POT/OTS_Guild.php(178): PDO->query('INSERT INTO `gu...') #1 /var/www/system/application/models/guilds_model.php(49): OTS_Guild->save() #2 /var/www/system/application/controllers/guilds.php(62): Guilds_Model->createGuild('test guild', '998') #3 [internal function]: Guilds->create() #4 /var/www/system/codeigniter/CodeIgniter.php(236): call_user_func_array(Array, Array) #5 /var/www/index.php(166): require_once('/var/www/system...') #6 {main} thrown in /var/www/system/application/libraries/POT/OTS_Guild.php on line 178

Anyone know the solution to these problems?
 
Execute this query in phpMyAdmin:
SQL:
ALTER TABLE `guilds` MODIFY `motd` VARCHAR(255) NOT NULL DEFAULT '';
 
Last edited:
PHP:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'VARCHAR(255) NOT NULL DEFAULT ''' at line 1

Thats what i get when i try and execute it.
 
Back
Top