Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with installing framework #1

Open
ValeriyMaslenikov opened this issue Jan 31, 2016 · 4 comments
Open

Problem with installing framework #1

ValeriyMaslenikov opened this issue Jan 31, 2016 · 4 comments

Comments

@ValeriyMaslenikov
Copy link

Hi, I've got a problem. I downloaded CherryWizard (from master branch), installed it and tried to install theme, using activation key. But I had this message:
image
This error occurs with this xhr response:

<script type="text/javascript">
<!--
jQuery(function($){
    jQuery("#ssh").click(function () {
        jQuery("#ssh_keys").show();
    });
    jQuery("#ftp, #ftps").click(function () {
        jQuery("#ssh_keys").hide();
    });
    jQuery('#request-filesystem-credentials-form input[value=""]:first').focus();
});
-->
</script>
<form action="https://cloud.cherryframework.com/downloads/framework/cherryframework4.zip" method="post">
<div id="request-filesystem-credentials-form" class="request-filesystem-credentials-form">
<h2 id='request-filesystem-credentials-title'>Информация для соединения</h2><p id="request-filesystem-credentials-desc">Чтобы осуществить запрошенное действие, WordPress необходим доступ к вашему серверу. Пожалуйста, введите координаты доступа к FTP. Если вы не помните координаты, можно узнать их в службе поддержки вашего хостинг-провайдера.</p>
<label for="hostname">
    <span class="field-title">Сервер</span>
    <input name="hostname" type="text" id="hostname" aria-describedby="request-filesystem-credentials-desc" class="code" placeholder="пример: www.wordpress.org" value="new.fest-ba.com" />
</label>
<div class="ftp-username">
    <label for="username">
        <span class="field-title">Имя пользователя FTP</span>
        <input name="username" type="text" id="username" value="irina" />
    </label>
</div>
<div class="ftp-password">
    <label for="password">
        <span class="field-title">Пароль для FTP</span>
        <input name="password" type="password" id="password" value="" />
        <em>Этот пароль не будет храниться на сервере.</em>
    </label>
</div>
<fieldset>
<legend>Тип соединения</legend>
    <label for="ftp">
        <input type="radio" name="connection_type" id="ftp" value="ftp" checked='checked' />
        FTP </label>
        <label for="ftps">
        <input type="radio" name="connection_type" id="ftps" value="ftps" />
        FTPS (SSL)  </label>
    </fieldset>
    <p class="request-filesystem-credentials-action-buttons">
        <button class="button cancel-button" data-js-action="close" type="button">Отмена</button>
        <input type="submit" name="upgrade" id="upgrade" class="button" value="Продолжить"  />    </p>
</div>
</form>
{"type":"success","content":"","next_step":"<div class=\"wizard-installation_item\" data-step=\"install-theme\" data-is-last-step=\"no\" data-plugin=\"\">\n\t\t\t\t\t\t<div class=\"wizard-installation_item_title\">Installing child theme<a href=\"\" class=\"wizard-installation_item_details hidden_\">Details<\/a><\/div>\n\t\t\t\t\t\t<div class=\"wizard-installation_item_responce\"><\/div>\n\t\t\t\t\t<\/div>","plugins_progress":"","plugins_count":0}

I've got clean wordpress (recently installed).
WordPress version: 4.4.1.
CherryWizard version: 1.0.0 (master).

@MjHead
Copy link
Member

MjHead commented Feb 1, 2016

Hi! Looks like your server not supports direct access to filesystem in PHP, so Wizard can't perform automatically installation. We currently working on this issue.

@MjHead MjHead closed this as completed Feb 1, 2016
@MjHead MjHead reopened this Feb 1, 2016
@ValeriyMaslenikov
Copy link
Author

Thank you for your message. My site is located on the dedicated server and I can configure it for my needs to solve this issue in a faster way.

Looks like your server not supports direct access to filesystem in PHP

Now it supports, maybe there's not enough permissions to write?
What steps should I do, to disable this ftp prompt?

@MjHead
Copy link
Member

MjHead commented Feb 1, 2016

Permissions must be at least 644 - as usual it's enough to perform all Wizard actions.
Also you can check this article, it's old one, but maybe will be helpful - http://www.viper007bond.com/2009/05/07/wordpress-how-to-force-direct-filewrites-for-upgrades/

@lukaszlipinski
Copy link

I'm experiencing the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants