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

AAC MYAAC guild bug

Mjmackan

Mapper ~ Writer
Premium User
Joined
Jul 18, 2009
Messages
1,424
Solutions
15
Reaction score
176
Location
Sweden
Tryin to use gesior's guildwar system i now get this error when entering guilds.

PHP:
Class 'DatabaseList' not found


Backtrace:

#0 C:\xampp\htdocs\index.php(360): require()
#1 {main}


I guess myaac uses a new class function? But what?
 
To fix that error, you can try changing in guilds.php:
Code:
    $guilds_list = new DatabaseList('Guild');
    $guilds_list->addOrder(new SQL_Order(new SQL_Field('name'), SQL_Order::ASC));

To:
Code:
    $guilds_list = new OTS_Guilds_List();
    $guilds_list->orderBy('name');

But it won't work.. There are many more incompatibilities I guess..
 
To fix that error, you can try changing in guilds.php:
Code:
    $guilds_list = new DatabaseList('Guild');
    $guilds_list->addOrder(new SQL_Order(new SQL_Field('name'), SQL_Order::ASC));

To:
Code:
    $guilds_list = new OTS_Guilds_List();
    $guilds_list->orderBy('name');

But it won't work.. There are many more incompatibilities I guess..
Yeah, I'd guess so, just new error after new error.
PHP:
Call to undefined method OTS_Guild::getDescription()

Check PMs Slaw.
 
Back
Top