• 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
Joined
Jul 18, 2009
Messages
1,209
Solutions
8
Reaction score
90
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?
 

slaw

Developer
Joined
Aug 27, 2007
Messages
3,269
Solutions
99
Reaction score
756
Location
Germany
GitHub
slawkens
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..
 
OP
Mjmackan

Mjmackan

Mapper ~ Writer
Joined
Jul 18, 2009
Messages
1,209
Solutions
8
Reaction score
90
Location
Sweden
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.
 
Top