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

Windows acc maker doesn't work properly

utk

New Member
Joined
Oct 13, 2011
Messages
27
Reaction score
0
Hi. I installed acc maker (Gesior2012-TFS-0.3.6_and_0.4_to_rev_3703), and I came across a problem. I type in the browser localhost to go to ots page. When I click a logout button this page redirecting me to otland site;o. Other sites 'spells', 'create account', etc. works fine. Please help me.
 
Last edited:
Change the window.location for that button, and which button is it exactly?
 
layouts/tibiacom/initialize.js, you should be able to find this and change the second window.location to ?subtopic=accountmanagement.
Code:
function LoginButtonAction()
{
  if(loginStatus == "false") {
    window.location = LINK_ACCOUNT + "?subtopic=accountmanagement";
  } else {
    window.location = LINK_ACCOUNT + "[COLOR=#ff0000]randomtexthere[/COLOR]";
  }
}
 
Now it works properly. Unfortunately, I must reinstall my acc, next when I install acc this showing an error:
Code:
Fatal error: Call to a member function fetch() on a non-object in W:\x\xampp\htdocs\classes\account.php on line 33
This includes this line:
Code:
$this->data = $this->getDatabaseHandler()->query('SELECT ' . implode(', ', $fieldsArray) . ' FROM ' . $this->getDatabaseHandler()->tableName(self::$table) . ' WHERE ' . $search_string)->fetch();
 
Last edited:
How to fix it?

Link for what?

Code:
  -- Status
        statusPort = 7171
        ownerName = ""
        ownerEmail = "@otland.net"
        url = "http://otland.net/"
        location = "Europe"
        displayGamemastersWithOnlineCommand = false


Change url to your URL.. Does no1 think by themself nowadays?
 
bump
Code:
Fatal error: Call to a member function fetch() on a non-object in W:\x\xampp\htdocs\classes\account.php on line 33
This includes this line:
Code:
$this->data = $this->getDatabaseHandler()->query('SELECT ' . implode(', ', $fieldsArray) . ' FROM ' . $this->getDatabaseHandler()->tableName(self::$table) . ' WHERE ' . $search_string)->fetch();
 
Read previous posts.
This error displays when I want make new acc

@edit
why u delete post?:/
 
Last edited:
I tried to repair this but with no reason. I have no idea how to fix it. Though, I know for certain users its easy..
 
Back
Top