hlmod.hu

Magyar Half-Life Mód közösség!
Pontos idő: 2024.03.28. 17:17



Jelenlévő felhasználók

Jelenleg 265 felhasználó van jelen :: 0 regisztrált, 0 rejtett és 265 vendég

A legtöbb felhasználó (1565 fő) 2020.11.21. 11:26-kor tartózkodott itt.

Regisztrált felhasználók: nincs regisztrált felhasználó az elmúlt 5 percben aktív felhasználók alapján

Utoljára aktív
Ahhoz hogy lásd ki volt utoljára aktív, be kell jelentkezned.



Az oldal teljeskörű
használatához regisztrálj.

Regisztráció

Kereső


Új téma nyitása  Hozzászólás a témához  [ 13 hozzászólás ]  Oldal 1 2 Következő
Szerző Üzenet
 Hozzászólás témája: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 01:47 
Offline
Senior Tag
Avatar

Csatlakozott: 2015.06.11. 01:54
Hozzászólások: 220
Megköszönt másnak: 46 alkalommal
Megköszönték neki: 13 alkalommal
Próbáltam felrakni a MySql-t + PhpMyAdmni-t VPS-re ami elvileg sikerült, de ha próbálok csatlakozni PhpMyAdminra ezt dobja ki.

  1. <?php
  2. /* vim: set expandtab sw=4 ts=4 sts=4: */
  3. /**
  4.  * Main loader script
  5.  *
  6.  * @package PhpMyAdmin
  7.  */
  8. use PMA\libraries\RecentFavoriteTable;
  9.  
  10. /**
  11.  * Gets some core libraries and displays a top message if required
  12.  */
  13. require_once 'libraries/common.inc.php';
  14.  
  15. /**
  16.  * display Git revision if requested
  17.  */
  18. require_once 'libraries/display_git_revision.lib.php';
  19.  
  20. /**
  21.  * pass variables to child pages
  22.  */
  23. $drops = array(
  24.     'lang',
  25.     'server',
  26.     'collation_connection',
  27.     'db',
  28.     'table'
  29. );
  30. foreach ($drops as $each_drop) {
  31.     if (array_key_exists($each_drop, $_GET)) {
  32.         unset($_GET[$each_drop]);
  33.     }
  34. }
  35. unset($drops, $each_drop);
  36.  
  37. /*
  38.  * Black list of all scripts to which front-end must submit data.
  39.  * Such scripts must not be loaded on home page.
  40.  *
  41.  */
  42. $target_blacklist = array (
  43.     'import.php', 'export.php'
  44. );
  45.  
  46. // If we have a valid target, let's load that script instead
  47. if (! empty($_REQUEST['target'])
  48.     && is_string($_REQUEST['target'])
  49.     && ! preg_match('/^index/', $_REQUEST['target'])
  50.     && ! in_array($_REQUEST['target'], $target_blacklist)
  51.     && in_array($_REQUEST['target'], $goto_whitelist)
  52. ) {
  53.     include $_REQUEST['target'];
  54.     exit;
  55. }
  56.  
  57. if (isset($_REQUEST['ajax_request']) && ! empty($_REQUEST['access_time'])) {
  58.     exit;
  59. }
  60.  
  61. // See FAQ 1.34
  62. if (! empty($_REQUEST['db'])) {
  63.     $page = null;
  64.     if (! empty($_REQUEST['table'])) {
  65.         $page = PMA\libraries\Util::getScriptNameForOption(
  66.             $GLOBALS['cfg']['DefaultTabTable'], 'table'
  67.         );
  68.     } else {
  69.         $page = PMA\libraries\Util::getScriptNameForOption(
  70.             $GLOBALS['cfg']['DefaultTabDatabase'], 'database'
  71.         );
  72.     }
  73.     include $page;
  74.     exit;
  75. }
  76.  
  77. /**
  78.  * Check if it is an ajax request to reload the recent tables list.
  79.  */
  80. if ($GLOBALS['is_ajax_request'] && ! empty($_REQUEST['recent_table'])) {
  81.     $response = PMA\libraries\Response::getInstance();
  82.     $response->addJSON(
  83.         'list',
  84.         RecentFavoriteTable::getInstance('recent')->getHtmlList()
  85.     );
  86.     exit;
  87. }
  88.  
  89. if ($GLOBALS['PMA_Config']->isGitRevision()) {
  90.     if (isset($_REQUEST['git_revision']) && $GLOBALS['is_ajax_request'] == true) {
  91.         PMA_printGitRevision();
  92.         exit;
  93.     }
  94.     echo '<div id="is_git_revision"></div>';
  95. }
  96.  
  97. // Handles some variables that may have been sent by the calling script
  98. $GLOBALS['db'] = '';
  99. $GLOBALS['table'] = '';
  100. $show_query = '1';
  101.  
  102. // Any message to display?
  103. if (! empty($message)) {
  104.     echo PMA\libraries\Util::getMessage($message);
  105.     unset($message);
  106. }
  107.  
  108. $common_url_query =  PMA_URL_getCommon();
  109. $mysql_cur_user_and_host = '';
  110.  
  111. // when $server > 0, a server has been chosen so we can display
  112. // all MySQL-related information
  113. if ($server > 0) {
  114.     include 'libraries/server_common.inc.php';
  115.  
  116.     // Use the verbose name of the server instead of the hostname
  117.     // if a value is set
  118.     $server_info = '';
  119.     if (! empty($cfg['Server']['verbose'])) {
  120.         $server_info .= htmlspecialchars($cfg['Server']['verbose']);
  121.         if ($GLOBALS['cfg']['ShowServerInfo']) {
  122.             $server_info .= ' (';
  123.         }
  124.     }
  125.     if ($GLOBALS['cfg']['ShowServerInfo'] || empty($cfg['Server']['verbose'])) {
  126.         $server_info .= $GLOBALS['dbi']->getHostInfo();
  127.     }
  128.     if (! empty($cfg['Server']['verbose']) && $GLOBALS['cfg']['ShowServerInfo']) {
  129.         $server_info .= ')';
  130.     }
  131.     $mysql_cur_user_and_host = $GLOBALS['dbi']->fetchValue('SELECT USER();');
  132.  
  133.     // should we add the port info here?
  134.     $short_server_info = (!empty($GLOBALS['cfg']['Server']['verbose'])
  135.                 ? $GLOBALS['cfg']['Server']['verbose']
  136.                 : $GLOBALS['cfg']['Server']['host']);
  137. }
  138.  
  139. echo '<div id="maincontainer">' , "\n";
  140. // Anchor for favorite tables synchronization.
  141. echo RecentFavoriteTable::getInstance('favorite')->getHtmlSyncFavoriteTables();
  142. echo '<div id="main_pane_left">';
  143. if ($server > 0 || count($cfg['Servers']) > 1
  144. ) {
  145.     if ($cfg['DBG']['demo']) {
  146.         echo '<div class="group">';
  147.         echo '<h2>' , __('phpMyAdmin Demo Server') , '</h2>';
  148.         echo '<p style="margin: 0.5em 1em 0.5em 1em">';
  149.         printf(
  150.             __(
  151.                 'You are using the demo server. You can do anything here, but '
  152.                 . 'please do not change root, debian-sys-maint and pma users. '
  153.                 . 'More information is available at %s.'
  154.             ),
  155.             '<a href="url.php?url=https://demo.phpmyadmin.net/" target="_blank" rel="noopener noreferrer">demo.phpmyadmin.net</a>'
  156.         );
  157.         echo '</p>';
  158.         echo '</div>';
  159.     }
  160.     echo '<div class="group">';
  161.     echo '<h2>' , __('General settings') , '</h2>';
  162.     echo '<ul>';
  163.  
  164.     /**
  165.      * Displays the MySQL servers choice form
  166.      */
  167.     if ($cfg['ServerDefault'] == 0
  168.         || (! $cfg['NavigationDisplayServers']
  169.         && (count($cfg['Servers']) > 1
  170.         || ($server == 0 && count($cfg['Servers']) == 1)))
  171.     ) {
  172.         echo '<li id="li_select_server" class="no_bullets" >';
  173.         include_once 'libraries/select_server.lib.php';
  174.         echo PMA\libraries\Util::getImage('s_host.png') , " "
  175.             , PMA_selectServer(true, true);
  176.         echo '</li>';
  177.     }
  178.  
  179.     /**
  180.      * Displays the mysql server related links
  181.      */
  182.     if ($server > 0) {
  183.         include_once 'libraries/check_user_privileges.lib.php';
  184.  
  185.         // Logout for advanced authentication
  186.         if ($cfg['Server']['auth_type'] != 'config') {
  187.             if ($cfg['ShowChgPassword']) {
  188.                 $conditional_class = 'ajax';
  189.                 PMA_printListItem(
  190.                     PMA\libraries\Util::getImage('s_passwd.png') . "&nbsp;" . __(
  191.                         'Change password'
  192.                     ),
  193.                     'li_change_password',
  194.                     'user_password.php' . $common_url_query,
  195.                     null,
  196.                     null,
  197.                     'change_password_anchor',
  198.                     "no_bullets",
  199.                     $conditional_class
  200.                 );
  201.             }
  202.         } // end if
  203.         echo '    <li id="li_select_mysql_collation" class="no_bullets" >';
  204.         echo '        <form method="post" action="index.php">' , "\n"
  205.            . PMA_URL_getHiddenInputs(null, null, 4, 'collation_connection')
  206.            . '            <label for="select_collation_connection">' . "\n"
  207.            . '                ' . PMA\libraries\Util::getImage('s_asci.png')
  208.             . "&nbsp;" . __('Server connection collation') . "\n"
  209.            // put the doc link in the form so that it appears on the same line
  210.            . PMA\libraries\Util::showMySQLDocu('Charset-connection')
  211.            . ': ' .  "\n"
  212.            . '            </label>' . "\n"
  213.  
  214.            . PMA_generateCharsetDropdownBox(
  215.                PMA_CSDROPDOWN_COLLATION,
  216.                'collation_connection',
  217.                'select_collation_connection',
  218.                $collation_connection,
  219.                true,
  220.                true
  221.            )
  222.            . '        </form>' . "\n"
  223.            . '    </li>' . "\n";
  224.     } // end of if ($server > 0)
  225.     echo '</ul>';
  226.     echo '</div>';
  227. }
  228.  
  229. echo '<div class="group">';
  230. echo '<h2>' , __('Appearance settings') , '</h2>';
  231. echo '  <ul>';
  232.  
  233. // Displays language selection combo
  234. if (empty($cfg['Lang'])) {
  235.     echo '<li id="li_select_lang" class="no_bullets">';
  236.     include_once 'libraries/display_select_lang.lib.php';
  237.     echo PMA\libraries\Util::getImage('s_lang.png') , " "
  238.         , PMA_getLanguageSelectorHtml();
  239.     echo '</li>';
  240. }
  241.  
  242. // ThemeManager if available
  243.  
  244. if ($GLOBALS['cfg']['ThemeManager']) {
  245.     echo '<li id="li_select_theme" class="no_bullets">';
  246.     echo PMA\libraries\Util::getImage('s_theme.png') , " "
  247.             ,  $_SESSION['PMA_Theme_Manager']->getHtmlSelectBox();
  248.     echo '</li>';
  249. }
  250. echo '<li id="li_select_fontsize">';
  251. echo PMA\libraries\Config::getFontsizeForm();
  252. echo '</li>';
  253.  
  254. echo '</ul>';
  255.  
  256. // User preferences
  257.  
  258. if ($server > 0) {
  259.     echo '<ul>';
  260.     PMA_printListItem(
  261.         PMA\libraries\Util::getImage('b_tblops.png') . "&nbsp;" . __(
  262.             'More settings'
  263.         ),
  264.         'li_user_preferences',
  265.         'prefs_manage.php' . $common_url_query,
  266.         null,
  267.         null,
  268.         null,
  269.         "no_bullets"
  270.     );
  271.     echo '</ul>';
  272. }
  273.  
  274. echo '</div>';
  275.  
  276.  
  277. echo '</div>';
  278. echo '<div id="main_pane_right">';
  279.  
  280.  
  281. if ($server > 0 && $GLOBALS['cfg']['ShowServerInfo']) {
  282.  
  283.     echo '<div class="group">';
  284.     echo '<h2>' , __('Database server') , '</h2>';
  285.     echo '<ul>' , "\n";
  286.     PMA_printListItem(
  287.         __('Server:') . ' ' . $server_info,
  288.         'li_server_info'
  289.     );
  290.     PMA_printListItem(
  291.         __('Server type:') . ' ' . PMA\libraries\Util::getServerType(),
  292.         'li_server_type'
  293.     );
  294.     PMA_printListItem(
  295.         __('Server version:')
  296.         . ' '
  297.         . PMA_MYSQL_STR_VERSION . ' - ' . PMA_MYSQL_VERSION_COMMENT,
  298.         'li_server_version'
  299.     );
  300.     PMA_printListItem(
  301.         __('Protocol version:') . ' ' . $GLOBALS['dbi']->getProtoInfo(),
  302.         'li_mysql_proto'
  303.     );
  304.     PMA_printListItem(
  305.         __('User:') . ' ' . htmlspecialchars($mysql_cur_user_and_host),
  306.         'li_user_info'
  307.     );
  308.  
  309.     echo '    <li id="li_select_mysql_charset">';
  310.     echo '        ' , __('Server charset:') , ' '
  311.        . '        <span lang="en" dir="ltr">';
  312.     echo '           ' , $mysql_charsets_descriptions[$mysql_charset_map['utf-8']];
  313.     echo '           (' , $mysql_charset_map['utf-8'] , ')'
  314.        . '        </span>'
  315.        . '    </li>'
  316.        . '  </ul>'
  317.        . ' </div>';
  318. }
  319.  
  320. if ($GLOBALS['cfg']['ShowServerInfo'] || $GLOBALS['cfg']['ShowPhpInfo']) {
  321.     echo '<div class="group">';
  322.     echo '<h2>' , __('Web server') , '</h2>';
  323.     echo '<ul>';
  324.     if ($GLOBALS['cfg']['ShowServerInfo']) {
  325.         PMA_printListItem($_SERVER['SERVER_SOFTWARE'], 'li_web_server_software');
  326.  
  327.         if ($server > 0) {
  328.             $client_version_str = $GLOBALS['dbi']->getClientInfo();
  329.             if (preg_match('#\d+\.\d+\.\d+#', $client_version_str)) {
  330.                 $client_version_str = 'libmysql - ' . $client_version_str;
  331.             }
  332.             PMA_printListItem(
  333.                 __('Database client version:') . ' ' . $client_version_str,
  334.                 'li_mysql_client_version'
  335.             );
  336.  
  337.             $php_ext_string = __('PHP extension:') . ' ';
  338.  
  339.             $extensions = PMA\libraries\Util::listPHPExtensions();
  340.  
  341.             foreach ($extensions as $extension) {
  342.                 $php_ext_string  .= '  ' . $extension
  343.                     . PMA\libraries\Util::showPHPDocu('book.' . $extension . '.php');
  344.             }
  345.  
  346.             PMA_printListItem(
  347.                 $php_ext_string,
  348.                 'li_used_php_extension'
  349.             );
  350.  
  351.             $php_version_string = __('PHP version:') . ' ' . phpversion();
  352.  
  353.             PMA_printListItem(
  354.                 $php_version_string,
  355.                 'li_used_php_version'
  356.             );
  357.         }
  358.     }
  359.  
  360.     if ($cfg['ShowPhpInfo']) {
  361.         PMA_printListItem(
  362.             __('Show PHP information'),
  363.             'li_phpinfo',
  364.             'phpinfo.php' . $common_url_query,
  365.             null,
  366.             '_blank'
  367.         );
  368.     }
  369.     echo '  </ul>';
  370.     echo ' </div>';
  371. }
  372.  
  373. echo '<div class="group pmagroup">';
  374. echo '<h2>phpMyAdmin</h2>';
  375. echo '<ul>';
  376. $class = null;
  377. if ($GLOBALS['cfg']['VersionCheck']) {
  378.     $class = 'jsversioncheck';
  379. }
  380. PMA_printListItem(
  381.     __('Version information:') . ' <span class="version">' . PMA_VERSION . '</span>',
  382.     'li_pma_version',
  383.     null,
  384.     null,
  385.     null,
  386.     null,
  387.     $class
  388. );
  389. PMA_printListItem(
  390.     __('Documentation'),
  391.     'li_pma_docs',
  392.     PMA\libraries\Util::getDocuLink('index'),
  393.     null,
  394.     '_blank'
  395. );
  396.  
  397. // does not work if no target specified, don't know why
  398. PMA_printListItem(
  399.     __('Official Homepage'),
  400.     'li_pma_homepage',
  401.     PMA_linkURL('https://www.phpmyadmin.net/'),
  402.     null,
  403.     '_blank'
  404. );
  405. PMA_printListItem(
  406.     __('Contribute'),
  407.     'li_pma_contribute',
  408.     PMA_linkURL('https://www.phpmyadmin.net/contribute/'),
  409.     null,
  410.     '_blank'
  411. );
  412. PMA_printListItem(
  413.     __('Get support'),
  414.     'li_pma_support',
  415.     PMA_linkURL('https://www.phpmyadmin.net/support/'),
  416.     null,
  417.     '_blank'
  418. );
  419. PMA_printListItem(
  420.     __('List of changes'),
  421.     'li_pma_changes',
  422.     'changelog.php' . PMA_URL_getCommon(),
  423.     null,
  424.     '_blank'
  425. );
  426. PMA_printListItem(
  427.     __('License'),
  428.     'li_pma_license',
  429.     'license.php' . PMA_URL_getCommon(),
  430.     null,
  431.     '_blank'
  432. );
  433. echo '    </ul>';
  434. echo ' </div>';
  435.  
  436. echo '</div>';
  437.  
  438. echo '</div>';
  439.  
  440. /**
  441.  * mbstring is used for handling multibytes inside parser, so it is good
  442.  * to tell user something might be broken without it, see bug #1063149.
  443.  */
  444. if (! @extension_loaded('mbstring')) {
  445.     trigger_error(
  446.         __(
  447.             'The mbstring PHP extension was not found and you seem to be using'
  448.             . ' a multibyte charset. Without the mbstring extension phpMyAdmin'
  449.             . ' is unable to split strings correctly and it may result in'
  450.             . ' unexpected results.'
  451.         ),
  452.         E_USER_WARNING
  453.     );
  454. }
  455.  
  456. /**
  457.  * Missing functionality
  458.  */
  459. if (! extension_loaded('curl') && ! ini_get('allow_url_fopen')) {
  460.     trigger_error(
  461.         __(
  462.             'The curl extension was not found and allow_url_fopen is '
  463.             . 'disabled. Due to this some features such as error reporting '
  464.             . 'or version check are disabled.'
  465.         )
  466.     );
  467. }
  468.  
  469. if ($cfg['LoginCookieValidityDisableWarning'] == false) {
  470.     /**
  471.      * Check whether session.gc_maxlifetime limits session validity.
  472.      */
  473.     $gc_time = (int)@ini_get('session.gc_maxlifetime');
  474.     if ($gc_time < $GLOBALS['cfg']['LoginCookieValidity'] ) {
  475.         trigger_error(
  476.             __(
  477.                 'Your PHP parameter [a@https://php.net/manual/en/session.' .
  478.                 'configuration.php#ini.session.gc-maxlifetime@_blank]session.' .
  479.                 'gc_maxlifetime[/a] is lower than cookie validity configured ' .
  480.                 'in phpMyAdmin, because of this, your login might expire sooner ' .
  481.                 'than configured in phpMyAdmin.'
  482.             ),
  483.             E_USER_WARNING
  484.         );
  485.     }
  486. }
  487.  
  488. /**
  489.  * Check whether LoginCookieValidity is limited by LoginCookieStore.
  490.  */
  491. if ($GLOBALS['cfg']['LoginCookieStore'] != 0
  492.     && $GLOBALS['cfg']['LoginCookieStore'] < $GLOBALS['cfg']['LoginCookieValidity']
  493. ) {
  494.     trigger_error(
  495.         __(
  496.             'Login cookie store is lower than cookie validity configured in ' .
  497.             'phpMyAdmin, because of this, your login will expire sooner than ' .
  498.             'configured in phpMyAdmin.'
  499.         ),
  500.         E_USER_WARNING
  501.     );
  502. }
  503.  
  504. /**
  505.  * Check if user does not have defined blowfish secret and it is being used.
  506.  */
  507. if (! empty($_SESSION['encryption_key'])) {
  508.     if (empty($GLOBALS['cfg']['blowfish_secret'])) {
  509.         trigger_error(
  510.             __(
  511.                 'The configuration file now needs a secret passphrase (blowfish_secret).'
  512.             ),
  513.             E_USER_WARNING
  514.         );
  515.     } elseif (strlen($GLOBALS['cfg']['blowfish_secret']) < 32) {
  516.         trigger_error(
  517.             __(
  518.                 'The secret passphrase in configuration (blowfish_secret) is too short.'
  519.             ),
  520.             E_USER_WARNING
  521.         );
  522.     }
  523. }
  524.  
  525. /**
  526.  * Check for existence of config directory which should not exist in
  527.  * production environment.
  528.  */
  529. if (@file_exists('config')) {
  530.     trigger_error(
  531.         __(
  532.             'Directory [code]config[/code], which is used by the setup script, ' .
  533.             'still exists in your phpMyAdmin directory. It is strongly ' .
  534.             'recommended to remove it once phpMyAdmin has been configured. ' .
  535.             'Otherwise the security of your server may be compromised by ' .
  536.             'unauthorized people downloading your configuration.'
  537.         ),
  538.         E_USER_WARNING
  539.     );
  540. }
  541.  
  542. if ($server > 0) {
  543.     $cfgRelation = PMA_getRelationsParam();
  544.     if (! $cfgRelation['allworks']
  545.         && $cfg['PmaNoRelation_DisableWarning'] == false
  546.     ) {
  547.         $msg_text = __(
  548.             'The phpMyAdmin configuration storage is not completely '
  549.             . 'configured, some extended features have been deactivated. '
  550.             . '%sFind out why%s. '
  551.         );
  552.         if ($cfg['ZeroConf'] == true) {
  553.             $msg_text .= '<br>' .
  554.                 __(
  555.                     'Or alternately go to \'Operations\' tab of any database '
  556.                     . 'to set it up there.'
  557.                 );
  558.         }
  559.         $msg = PMA\libraries\Message::notice($msg_text);
  560.         $msg->addParam(
  561.             '<a href="./chk_rel.php'
  562.             . $common_url_query . '">',
  563.             false
  564.         );
  565.         $msg->addParam('</a>', false);
  566.         /* Show error if user has configured something, notice elsewhere */
  567.         if (!empty($cfg['Servers'][$server]['pmadb'])) {
  568.             $msg->isError(true);
  569.         }
  570.         $msg->display();
  571.     } // end if
  572. }
  573.  
  574. /**
  575.  * Warning about different MySQL library and server version
  576.  * (a difference on the third digit does not count).
  577.  * If someday there is a constant that we can check about mysqlnd,
  578.  * we can use it instead of strpos().
  579.  * If no default server is set, $GLOBALS['dbi'] is not defined yet.
  580.  * We also do not warn if MariaDB is detected, as it has its own version
  581.  * numbering.
  582.  */
  583. if (isset($GLOBALS['dbi'])
  584.     && $cfg['ServerLibraryDifference_DisableWarning'] == false
  585. ) {
  586.     $_client_info = $GLOBALS['dbi']->getClientInfo();
  587.     if ($server > 0
  588.         && mb_strpos($_client_info, 'mysqlnd') === false
  589.         && mb_strpos(PMA_MYSQL_STR_VERSION, 'MariaDB') === false
  590.         && substr(PMA_MYSQL_CLIENT_API, 0, 3) != substr(
  591.             PMA_MYSQL_INT_VERSION, 0, 3
  592.         )
  593.     ) {
  594.         trigger_error(
  595.             PMA_sanitize(
  596.                 sprintf(
  597.                     __(
  598.                         'Your PHP MySQL library version %s differs from your ' .
  599.                         'MySQL server version %s. This may cause unpredictable ' .
  600.                         'behavior.'
  601.                     ),
  602.                     $_client_info,
  603.                     substr(
  604.                         PMA_MYSQL_STR_VERSION,
  605.                         0,
  606.                         strpos(PMA_MYSQL_STR_VERSION . '-', '-')
  607.                     )
  608.                 )
  609.             ),
  610.             E_USER_NOTICE
  611.         );
  612.     }
  613.     unset($_client_info);
  614. }
  615.  
  616. /**
  617.  * Warning about Suhosin only if its simulation mode is not enabled
  618.  */
  619. if ($cfg['SuhosinDisableWarning'] == false
  620.     && @ini_get('suhosin.request.max_value_length')
  621.     && @ini_get('suhosin.simulation') == '0'
  622. ) {
  623.     trigger_error(
  624.         sprintf(
  625.             __(
  626.                 'Server running with Suhosin. Please refer to %sdocumentation%s ' .
  627.                 'for possible issues.'
  628.             ),
  629.             '[doc@faq1-38]',
  630.             '[/doc]'
  631.         ),
  632.         E_USER_WARNING
  633.     );
  634. }
  635.  
  636. /**
  637.  * Warning about incomplete translations.
  638.  *
  639.  * The data file is created while creating release by ./scripts/remove-incomplete-mo
  640.  */
  641. if (@file_exists('libraries/language_stats.inc.php')) {
  642.     include 'libraries/language_stats.inc.php';
  643.     /*
  644.      * This message is intentionally not translated, because we're
  645.      * handling incomplete translations here and focus on english
  646.      * speaking users.
  647.      */
  648.     if (isset($GLOBALS['language_stats'][$lang])
  649.         && $GLOBALS['language_stats'][$lang] < $cfg['TranslationWarningThreshold']
  650.     ) {
  651.         trigger_error(
  652.             'You are using an incomplete translation, please help to make it '
  653.             . 'better by [a@https://www.phpmyadmin.net/translate/'
  654.             . '@_blank]contributing[/a].',
  655.             E_USER_NOTICE
  656.         );
  657.     }
  658. }
  659.  
  660. /**
  661.  * prints list item for main page
  662.  *
  663.  * @param string $name            displayed text
  664.  * @param string $listId          id, used for css styles
  665.  * @param string $url             make item as link with $url as target
  666.  * @param string $mysql_help_page display a link to MySQL's manual
  667.  * @param string $target          special target for $url
  668.  * @param string $a_id            id for the anchor,
  669.  *                                used for jQuery to hook in functions
  670.  * @param string $class           class for the li element
  671.  * @param string $a_class         class for the anchor element
  672.  *
  673.  * @return void
  674.  */
  675. function PMA_printListItem($name, $listId = null, $url = null,
  676.     $mysql_help_page = null, $target = null, $a_id = null, $class = null,
  677.     $a_class = null
  678. ) {
  679.     echo PMA\libraries\Template::get('list/item')
  680.         ->render(
  681.             array(
  682.                 'content' => $name,
  683.                 'id' => $listId,
  684.                 'class' => $class,
  685.                 'url' => array(
  686.                     'href' => $url,
  687.                     'target' => $target,
  688.                     'id' => $a_id,
  689.                     'class' => $a_class,
  690.                 ),
  691.                 'mysql_help_page' => $mysql_help_page,
  692.             )
  693.         );
  694. }

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 05:23 
Offline
Nagyúr
Avatar

Csatlakozott: 2013.09.14. 08:21
Hozzászólások: 547
Megköszönt másnak: 95 alkalommal
Megköszönték neki: 71 alkalommal
nem tudom mi van még fent ezen kívül, de talán php hiányzik még.
  1. apt-get install php5-common libapache2-mod-php5 php5-cli

aztán indítsd újra.
  1. service apache2 restart


How To Install Linux, Apache, MySQL, PHP (LAMP) Stack on Debian 8

ha jól rémlik megoldja a problémádat. lehet egy sima game panellal egyszerűbb dolgod lenne. (pl: opengamepanel)

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 05:29 
Offline
Senior Tag
Avatar

Csatlakozott: 2015.06.11. 01:54
Hozzászólások: 220
Megköszönt másnak: 46 alkalommal
Megköszönték neki: 13 alkalommal
Ezek elvileg mind felvanak rakva, ha megpróbálom megint akkor ezt írja:

E: Package 'php5-common' has no installation candidate
E: Package 'libapache2-mod-php5' has no installation candidate
E: Package 'php5-cli' has no installation candidate

Már próbáltam kb mindent de sehogy se akar jó lenni.

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 05:32 
Offline
Nagyúr
Avatar

Csatlakozott: 2013.09.14. 08:21
Hozzászólások: 547
Megköszönt másnak: 95 alkalommal
Megköszönték neki: 71 alkalommal
milyen rendszer van fent? debian? ubuntu?

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 05:33 
Offline
Senior Tag
Avatar

Csatlakozott: 2015.06.11. 01:54
Hozzászólások: 220
Megköszönt másnak: 46 alkalommal
Megköszönték neki: 13 alkalommal
Debian 9.4 x64

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 05:38 
Offline
Nagyúr
Avatar

Csatlakozott: 2013.09.14. 08:21
Hozzászólások: 547
Megköszönt másnak: 95 alkalommal
Megköszönték neki: 71 alkalommal
AlphaHun írta:
Debian 9.4 x64


talán a kettő közül.
katt vagy katt

9-be annyira nem vagyok jártas. de talán valamelyik jó lesz.

_________________
Kép

Ők köszönték meg elit nek ezt a hozzászólást: AlphaHun (2019.05.11. 06:28)
  Népszerűség: 2.27%


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 05:44 
Offline
Tiszteletbeli
Avatar

Csatlakozott: 2011.09.18. 13:01
Hozzászólások: 4270
Megköszönt másnak: 55 alkalommal
Megköszönték neki: 513 alkalommal
AlphaHun írta:
Ezek elvileg mind felvanak rakva, ha megpróbálom megint akkor ezt írja:

E: Package 'php5-common' has no installation candidate
E: Package 'libapache2-mod-php5' has no installation candidate
E: Package 'php5-cli' has no installation candidate

Már próbáltam kb mindent de sehogy se akar jó lenni.

Te php5-ot akarsz feltenni egy olyan OP rendszerre ami mar nem tamogatja hivatalosan. (Jelenleg valahol 7.x nel jar a php)
Ha mindenaron php5-ot akarsz feltelepiteni add hozza a package managerhez a php5 linkjet.

Vagy pedig kovesd a fenti leirasok egyiket EGY alap ujrahuzott gepen mivel mar nekifogtal telepiteni egy php verziot es ha itt kerdezel biztos nem ertesz a php verziok kozott valtani.
Ha pedig ennyire nem megy a dolog hogy php-vel elakadsz hasznalj egy weboldal kezelo cuccot ami feltelepit neked minden. Ne OGP-t mert az csak szerverekre van.

_________________
Idk. Csak ugy funbooo.
Kép


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 05:58 
Offline
Senior Tag
Avatar

Csatlakozott: 2015.06.11. 01:54
Hozzászólások: 220
Megköszönt másnak: 46 alkalommal
Megköszönték neki: 13 alkalommal
Na várjatok történt valami, most már ezt írja:

phpMyAdmin - Error
The mbstring extension is missing. Please check your PHP configuration.

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 06:05 
Offline
Senior Tag
Avatar

Csatlakozott: 2015.06.11. 01:54
Hozzászólások: 220
Megköszönt másnak: 46 alkalommal
Megköszönték neki: 13 alkalommal
És más rendszernél működne? Pl Debian 7.8 vagy Ubuntu 10? Vagy mit ajánlotok?

_________________
Kép


Hozzászólás jelentése
Vissza a tetejére
   
 Hozzászólás témája: Re: VPS PhpMyAdmin
HozzászólásElküldve: 2019.05.11. 06:06 
Offline
Nagyúr
Avatar

Csatlakozott: 2013.09.14. 08:21
Hozzászólások: 547
Megköszönt másnak: 95 alkalommal
Megköszönték neki: 71 alkalommal
AlphaHun írta:
Na várjatok történt valami, most már ezt írja:

phpMyAdmin - Error
The mbstring extension is missing. Please check your PHP configuration.


talán.
  1. sudo apt-get install php7.0-mbstring

vagy
  1. sudo apt-get install php7.1-mbstring


kettő közül az egyik talán. mivel a php verziót nem tudom.

_________________
Kép

Ők köszönték meg elit nek ezt a hozzászólást: AlphaHun (2019.05.11. 06:11)
  Népszerűség: 2.27%


Hozzászólás jelentése
Vissza a tetejére
   
Hozzászólások megjelenítése:  Rendezés  
Új téma nyitása  Hozzászólás a témához  [ 13 hozzászólás ]  Oldal 1 2 Következő


Ki van itt

Jelenlévő fórumozók: nincs regisztrált felhasználó valamint 1 vendég


Nyithatsz új témákat ebben a fórumban.
Válaszolhatsz egy témára ebben a fórumban.
Nem szerkesztheted a hozzászólásaidat ebben a fórumban.
Nem törölheted a hozzászólásaidat ebben a fórumban.
Nem küldhetsz csatolmányokat ebben a fórumban.

Keresés:
Ugrás:  
Powered by phpBB® Forum Software © phpBB Limited
Magyar fordítás © Magyar phpBB Közösség
Portal: Kiss Portal Extension © Michael O'Toole