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

MyAAC v0.8.13

Hello @slawkens I'm using this version on tfs 1.3 and I'm getting a warning like this:

Warning: Use of undefined constant BASE_URL - assumed 'BASE_URL' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\system\functions.php on line 79

any easy way to get this warning away before it becomes an error?

Hello,

Thanks for your report.

Do you use some old software like old web browser or old web server?

Anyways, I fixed that warning here:

To apply, you can just download this common.php file and replace in your main MyAAC directory:
 
As far as i know is my browser and webserver are up to date.
I do still use just normal http instead of https, but i`m not sure how to get that https.
Anyway I updated the common.php

Thanks for the quick reply.
 
I have just pushed an update for the admin panel on Github if anyone wants to check it out.
Report any issues on Github.

Thanks
1585617076671.png
1585617474245.png
 
@slawkens I have a weird problem.
My featured articles are referred towards a other website.
*It seems to be for all news articles
This only counts for the base url though the additional part like ?news/archive/9 is correct.

Its like this:

but should be like this:
Post automatically merged:

Alright i narrowed it down into the tibia.com template
Post automatically merged:

Update
Alright after I added a new template the tibiacom template suddenly has the correct urls again, weird stuff...
 
Last edited:
@slawkens I have a weird problem.
My featured articles are referred towards a other website.
*It seems to be for all news articles
This only counts for the base url though the additional part like ?news/archive/9 is correct.

Its like this:

but should be like this:
Post automatically merged:

Alright i narrowed it down into the tibia.com template
Post automatically merged:

Update
Alright after I added a new template the tibiacom template suddenly has the correct urls again, weird stuff...

Is that other website being hosted on the same server?
 
@slawkens I have a weird problem.
My featured articles are referred towards a other website.
*It seems to be for all news articles
This only counts for the base url though the additional part like ?news/archive/9 is correct.

Its like this:

but should be like this:
Post automatically merged:

Alright i narrowed it down into the tibia.com template
Post automatically merged:

Update
Alright after I added a new template the tibiacom template suddenly has the correct urls again, weird stuff...
Did you download the tibiacom template from another source? they may have edited the files.
 
Shop doesn't give Items wich are bought. TFS 1.2 8.6
 
Last edited:
Do you have any error logs? So the problem can be replicated?
Are you using the most recent commits?
 
Last edited:
Notice: Undefined index: database_encryption in C:\xampp\htdocs\system\functions.php on line 316
Your account and character have been created. See you in Tibia!

An error occurred while sending email. For Admin: More info can be found in system/logs/mailer-error.log

the acc of adm are encrypted and the other not, i cant enter on other accounts beacause it. how to fix?
Help-.
 
You haven't set database_encryption in the config file.

Maybe this needs to be modified with: "if(isset($config['database_encryption']))" in a future version.

PHP:
function encrypt($str)
{
    global $config;
    if(isset($config['database_salt'])) // otserv
        $str .= $config['database_salt'];

    $encryptionType = $config['database_encryption'];  // line 316

    if(isset($encryptionType) && strtolower($encryptionType) !== 'plain')
    {
        if($encryptionType === 'vahash')
            return base64_encode(hash('sha256', $str));

        return hash($encryptionType, $str);
    }

    return $str;
}
 
You haven't set database_encryption in the config file.

Maybe this needs to be modified with: "if(isset($config['database_encryption']))" in a future version.

PHP:
function encrypt($str)
{
    global $config;
    if(isset($config['database_salt'])) // otserv
        $str .= $config['database_salt'];

    $encryptionType = $config['database_encryption'];  // line 316

    if(isset($encryptionType) && strtolower($encryptionType) !== 'plain')
    {
        if($encryptionType === 'vahash')
            return base64_encode(hash('sha256', $str));

        return hash($encryptionType, $str);
    }

    return $str;
}
its work now i can see all password with out encrypt but on my phpmyadmin>db. but the error is "wrong password" i reinstaller page for test and same error.

and this msgs Notice: Undefined index: database_encryption in C:\xampp\htdocs\system\functions.php on line 316


im using otx 3
 
i told you how to fix it, you haven't set database_encryption.
The message you posted is the exact same as the previous message.
 
It's an awesome web application!! I'm loving it! and learning slowly on how to apply it :p!!

I'm needing to make pages; like a task page to display my server rewards :p

how can I do it?

thanks <3
 
It's an awesome web application!! I'm loving it! and learning slowly on how to apply it :p!!

I'm needing to make pages; like a task page to display my server rewards :p

how can I do it?

thanks <3
You can create a new page in the admin panel and use the inbuilt editor to create the page if its simple.
Or create a php page in system/pages and it can be accessed the same way the other pages get accessed ?newpage
 
You can create a new page in the admin panel and use the inbuilt editor to create the page if its simple.
Or create a php page in system/pages and it can be accessed the same way the other pages get accessed ?newpage
how can I make appear another page in leftside bar?
I've made this page but I don't know how to insert it xd
1588778821671.png
 
Back
Top