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

Gesior phpmailer.php doesn't exist

Azerty

Active Member
Joined
Apr 15, 2022
Messages
334
Solutions
4
Reaction score
36
Can anyone help me with this error? I already checked if the file exists in classes/phpmiler.php
phpmiler.JPG
PHP:
# Create Account Options
$config['site']['one_email'] = FALSE;
$config['site']['create_account_verify_mail'] = FALSE;
$config['site']['verify_code'] = TRUE;
$config['site']['email_days_to_change'] = 3;
$config['site']['newaccount_premdays'] = 0;
$config['site']['send_register_email'] = FALSE;
$config['site']['flash_client_enabled'] = FALSE;

# Create Character Options
$config['site']['newchar_vocations'] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample'); /*array(0 => 'Rook Sample');*/
$config['site']['newchar_towns'] = array(1, 2, 3, 4);
$config['site']['max_players_per_account'] = 7;

# Emails Config
$config['site']['lost_acc'] = true;
$config['site']['send_emails'] = false;
$config['site']['mail_address'] = "meuemail@gmail";
$config['site']['mail_senderName'] = "Meu nome";
$config['site']['smtp_enabled'] = true;
$config['site']['smtp_host'] = "smtp.gmail.com"; // não coloque ssl aqui
$config['site']['smtp_port'] = 465;
$config['site']['smtp_auth'] = true;
$config['site']['smtp_user'] = "[email protected]";
$config['site']['smtp_pass'] = "minha senha";
$config['site']['smtp_secure'] = true;

# PAGE: accountmanagement.php
$config['site']['send_mail_when_change_password'] = TRUE;
$config['site']['send_mail_when_generate_reckey'] = TRUE;
$config['site']['email_time_change'] = 7;
$config['site']['daystodelete'] = 7;
 
I'm not understanding this tutorial, can you make a more simplified one?
Your acc. maker does not contain all files required to make it work. In this case 'PHPMailer' library.
It uses composer, which is PHP dependency management application.
In acc. maker there is file composer.json with list of required libraries:

1. You got to install in your system/on your VPS application composer first.

2. Then open terminal (Linux) / 'cmd' (Windows), go to folder with acc. maker and execute command:
Code:
composer install
It will check required things in composer.json and install them.

How to install composer on Linux:
Code:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mv composer.phar /usr/local/bin/composer
`
How to install composer on Windows: I don't know. Check in google.

OR get Gesior2012/MyAAC/ZnoteAAC - they all contain all required files in project and you don't have to use composer.
 
Your acc. maker does not contain all files required to make it work. In this case 'PHPMailer' library.
It uses composer, which is PHP dependency management application.
In acc. maker there is file composer.json with list of required libraries:

1. You got to install in your system/on your VPS application composer first.

2. Then open terminal (Linux) / 'cmd' (Windows), go to folder with acc. maker and execute command:
Code:
composer install
It will check required things in composer.json and install them.

How to install composer on Linux:
Code:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === '55ce33d7678c5a611085589f1f3ddf8b3c52d662cd01d4ba75c0ee0459970c2200a51f492d557530c71c15d8dba01eae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mv composer.phar /usr/local/bin/composer
`
How to install composer on Windows: I don't know. Check in google.

OR get Gesior2012/MyAAC/ZnoteAAC - they all contain all required files in project and you don't have to use composer.
Well, now when I finish creating an account, I am not directed to the account registration page, I am redirected directly to the home page
Post automatically merged:

And all accounts have wrong password
account error.JPG
 
Last edited:
Back
Top