validate_post($_POST) == true) { // First create the database, then create tables, then write config file if ($database->create_database($_POST) == false) { $message = $core->show_message('error', "The database could not be created, please verify your settings."); } elseif ($database->create_tables($_POST) == false) { $message = $core->show_message('error', "The database tables could not be created, please verify your settings."); } elseif ($core->write_config($_POST) == false) { $message = $core->show_message('error', "The database configuration file could not be written, please chmod /application/config/database.php file to 777"); } if ($core->write_configfile($_POST) == false) { $message = $core->show_message('error', "The config configuration file could not be written, please chmod /application/config/config.php file to 777"); } // If no errors, redirect to registration page if (!isset($message)) { sleep(1); $ch = curl_init(); $protocol = ((!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off') || $_SERVER['SERVER_PORT'] == 443) ? "https" : "http"; list($realHost,) = explode(':', $_SERVER['HTTP_HOST']); $wavelog_url = $protocol . "://" . $realHost . ":" . $_SERVER['SERVER_PORT']; curl_setopt($ch, CURLOPT_URL, $wavelog_url); curl_setopt($ch, CURLOPT_VERBOSE, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $result = curl_exec($ch); curl_setopt($ch, CURLOPT_URL, $wavelog_url . "/index.php/update/dxcc"); $result = curl_exec($ch); delDir(getcwd()); header('Location: ' . $protocol . "://" . $_SERVER['HTTP_HOST'] . $_POST['directory']); echo "

Install successful

"; echo "

Please delete the install folder"; exit; } } else { $message = $core->show_message('error', 'Not all fields have been filled in correctly. The host, username, password, and database name are required.'); } } ?> Install | Wavelog ' . $message . '

'; } ?>

Welcome to the Wavelog Installer

This installer will guide you through the necessary steps for the installation of Wavelog.
Wavelog is a powerful web-based amateur radio logging software. Follow the steps in each tab to configure and install Wavelog on your server.

If you encounter any issues or have questions, refer to the documentation (Wiki) or community forum (Discussions) on Github for assistance.

Thank you for installing Wavelog!

PHP Modules

Version (min. 7.4)
php-curl Installed Not Installed
php-mysql Installed Not Installed
php-mbstring Installed Not Installed
php-xml Installed Not Installed
php-zip Installed Not Installed

MySQL / MariaDB

MariaDB installed version ToDo

PHP Settings

max_execution_time ' . $max_execution_time . ' s'; ?> = $max_execution_time) { ?>
max_upload_file_size ' . $max_upload_file_size . 'M'; ?> ($max_upload_file_size * 1024 * 1024)) { // compare with given value in bytes ?>
post_max_size ' . $post_max_size . 'M'; ?> ($post_max_size * 1024 * 1024)) { // compare with given value in bytes ?>

Note: Everything is good or not

" class="form-control" name="directory" />
" class="form-control" name="websiteurl" />

here we will ask for the first user.

Here will be the Install Button

Please make the /application/config/ folder writable. Example:

chmod -R 777 application/config/

Don't forget to restore the permissions afterwards.