Page 1 of 1

Could not add additional ftp (no dropdown options showing)

Posted: Mon Jul 04, 2016 6:25 pm
by clever1
Hi
I had just install my vestacp and when I try to add additional ftp nothing is showing to add, no text box or what so ever. Why is this and how can I fix this?

Image

Re: Could not add additional ftp (no dropdown options showing)

Posted: Mon Jul 04, 2016 8:06 pm
by dychost
in / usr / local / vest / web / templates /header.html and footer.html I said connecting javascript and it works for me.


header.html

Code: Select all

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <link rel="icon" href="/images/favicon.ico" type="image/x-icon">
  <title>Vesta - <?="$TAB"?> </title>
  <link rel="stylesheet" href="/css/styles.min.css?1446554103">
  <link type="text/css" href="/css/jquery-custom-dialogs.css?1446554103" rel="stylesheet" />
      <script type="text/javascript" src="/js/jquery-1.7.2.min.js?1446554103"></script>
    <script type="text/javascript" src="/js/jquery.cookie.js?1446554103"></script>
    <script type="text/javascript" src="/js/jquery-ui-1.8.20.custom.min.js?1467113876"></script>
    <script type="text/javascript" src="/js/hotkeys.js?1446554103"></script>
    <script type="text/javascript" src="/js/events.js?1446554103"></script>
    <script type="text/javascript" src="/js/app.js?1446554103"></script>
    <script type="text/javascript" src="/js/templates.js?1446554103"></script>
    <script src="/js/jquery.finder.js"></script>
</head>
<body class="body-<?=strtolower($TAB)?> lang-<?=$_SESSION['language']?>">
and footer.html

Code: Select all

</div>
    <script> 
    $(document).ready(function(){ hover_menu(); }); </script>

    <div title="Confirmation" class="confirmation-text-redirect hidden">
      <p class="confirmation"><?=__('LEAVE_PAGE_CONFIRMATION')?></p>
    </div>

    <div class="shortcuts" style="display:none">
      <div class="header">
        <div class="title">Shortcuts</div>
        <div class="close"></div>
      </div>
      <ul>
        <li><span class="key">a</span><?=__('Add New object')?></li>
        <li><span class="key">Ctrl + Enter</span><?=__('Save Form')?></li>
        <li><span class="key">Ctrl + Backspace</span><?=__('Cancel saving form')?></li>

        <li class="step-top"><span class="key">1</span><?=__('Go to USER list')?></li>
        <li><span class="key">2</span><?=__('Go to WEB list')?></li>
        <li><span class="key">3</span><?=__('Go to DNS list')?></li>
        <li><span class="key">4</span><?=__('Go to MAIL list')?></li>
        <li><span class="key">5</span><?=__('Go to DB list')?></li>
        <li><span class="key">6</span><?=__('Go to CRON list')?></li>
        <li><span class="key">7</span><?=__('Go to BACKUP list')?></li>
      </ul>
      <ul>
        <li><span class="key">f</span><?=__('Focus on search')?></li>
        <li class="step-top"><span class="key">h</span><?=__('Display/Close shortcuts')?></li>

        <li class="step-top"><span class="key bigger">&larr;</span><?=__('Move backward through top menu')?></li>
        <li><span class="key bigger">&rarr;</span><?=__('Move forward through top menu')?></li>
        <li><span class="key">Enter</span><?=__('Enter focused element')?></li>

        <li class="step-top"><span class="key bigger">&uarr;</span><?=__('Move up through elements list')?></li>
        <li><span class="key bigger">&darr;</span><?=__('Move down through elements list')?></li>
      </ul>
    </div>
    </body>
</html>

Re: Could not add additional ftp (no dropdown options showing)

Posted: Tue Sep 06, 2016 9:02 pm
by skurudo
Thanks for report
Fix will be in 0.9.8-17

https://bugs.vestacp.com/issues/276

Re: Could not add additional ftp (no dropdown options showing)

Posted: Mon Sep 26, 2016 3:54 pm
by bechrissed
Same problem here, @skurudo. Is there a quickfix we can do manually to fix the error?

Re: Could not add additional ftp (no dropdown options showing)

Posted: Tue Sep 27, 2016 5:53 am
by skurudo
bechrissed wrote:Same problem here, @skurudo. Is there a quickfix we can do manually to fix the error?
This commit, if I remember correct:
https://github.com/serghey-rodin/vesta/ ... t-18098845

Re: Could not add additional ftp (no dropdown options showing)

Posted: Wed Sep 28, 2016 7:29 am
by bechrissed
Thank you!