Error install directory is missing

Error: "install" directory is missing

Тема: Error: «install» directory is missing  (Прочитано 1551 раз)

14 Сентябрь 2015, 19:19:03

При переносе сайта столкнулся с проблемой

Error: "install" directory is missingЧто делать?
как быть?
конфиг БД прописан верно, помоему, может ли быть проблема еще в чем то??


Записан

14 Сентябрь 2015, 19:28:45

Ответ #1

Если такая ошибка при переносе сайта (не при установки), значит у вас не правильные данные в файле /config/settings.inc.php


Записан

14 Сентябрь 2015, 19:37:55

Ответ #2

Если такая ошибка при переносе сайта (не при установки), значит у вас не правильные данные в файле /config/settings.inc.php

тогда прокансультируй меня пожалуйста.
Имя БД — та которую я создал, верно?
User — старый логин, который в бэкапе? ибо при переносе новых я не создавал.
Пароль — старый пароль?


Записан

14 Сентябрь 2015, 19:46:18

Ответ #3

В файле /config/settings.inc.php при переносе изменить нужно только те данные, что вы меняли в новой базе.

define('_DB_SERVER_', '...');
define('_DB_NAME_', '...');
define('_DB_USER_', '....');
define('_DB_PASSWD_', '...');
Если вы создали новую базу данных, то должны создать пользователя + пароль (можно такие же как и в старой бд) и дать права на работу с этой бд.
В бэкапе нет данных о пользователе бд.


Записан

Haven’t been able to «Find» the issue:

We delete the install dir in code so the error doesn’t surprise me…

$this->appcontext->runUser(‘v-run-cli-cmd’, [
«/usr/bin/php«,
$this->getDocRoot/install/index_cli.php«),
«—db_user=» . $this->appcontext->user() . ‘_’ .$options[‘database_user’],
«—db_password=» . $options[‘database_password’],
«—db_name=» . $this->appcontext->user() . ‘_’ .$options[‘database_name’],
«—firstname=» . $options[‘prestashop_account_first_name’],
«—lastname=» . $options[‘prestashop_account_last_name’],
«—password=» . $options[‘prestashop_account_password’],
«—email=» . $options[‘prestashop_account_email’],
«—domain=» . $this->domain,
«—ssl=» . $ssl_enabled,], $status);
// remove install folder
$this->appcontext->runUser(‘v-delete-fs-directory’, [$this->getDocRoot/install«)]);
$this->cleanup();
return ($status->code === 0);

How ever there should be a reason why the code before the deletion fails.

When an install fails the system should be able to return with an error instead of «Nothing» …

Чтобы перенести Prestashop-сайт с хостинга на локалку. Надо сделать следующее:
1) Очищаем кэш.
Заходим в /prestashop/cache/smarty/cache и удаляем всё, кроме index.php и last_template_flush.
Заходим в /prestashop/cache/smarty/cache/compile и удаляем всё, кроме index.php и last_flush.
Заходим в /prestashop/themes/ваша_тема/cache и удаляем всё, кроме index.php.
2) Меняем домен в БД.
Меняем либо через текстовый редактор, либо заранее в phpMyAdmin.
Таблица ps_shop_url колонки domain и domain_ssl. Меняете домен на localhost (без http:// и других лишних символов.)
3) Меняем пути к БД в файле конфигурации.
Открываем в текстовом редакторе /prestashop/config/settings.inc.php
и меняем на следующее:

define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'prestashop'); //название БД на локалке
define('_DB_USER_', 'root'); //ваш логин к БД а локалке
define('_DB_PASSWD_', '123'); //пароль к БД на локалке

Если имя сервера отличается от localhost, то его нужно поменять на это значение.
4) Загружаем на локальный сервер БД и и файлы сайта.
5) Заходим в админку (в данном случае localhost/admin3200), вводим логин и пароль админа.
6) Идем в Расширенные параметры >> Производительность, передергиваем Оптимизация Apache (выкл >> Сохранить, вкл >> Сохранить), тем самым обновляем .htaccess.
Всё.

Чтобы перенести обратно на хостинг, надо проделать всё тоже самое, только в конце еще один пункт:
7) Идем в Настройки >> SEO и URL >> внизу страницы кнопка «Генерировать Robots.txt»

Выручайте, замучился уже везде спрашивать, вы можно сказать последняя инстанция. Вообщем скачал тему — GoMarket Supermarket — для PrestaShop v1.5.5 и 1.5.4 (ссылка удалена). Тема кульная, архив весит 222 мбайта, но в нём всё есть(кроме документации мля, точнее есть ссылка на страницу с документацией которая не пашет).

Вообщем там есть просто просто нужная мне тема, но ведь мы знаем что при стандартной установке всё будет криво, съедут элементы, надо настраивать модули, чего я не умею, тем более тема уж очень навороченная. Так же там есть full-package (полный пакет) в полный пакет как я понимаю входит помимо темы уже настроенная преста, что мне и нужно. Но после загрузке на хост (у меня ВебХост1), и при входе на сайт мне пишется — Error: «install» directory is missing. Как убрать эту ошибку и с чем она связана? (что касается не хвататет места на диске, или права ограничены, то ничего подобного всё норм) Вначале загрузил файлы которые были в архиве в full package, таже ошибка, потом решил установить Престу, а и просто заменить файлы на те который в full package, но всё равно тоже самое.

Вообщем как решить эту ошибку?

З.Ы. Демо темы можете здесь просмотреть — http://themeforest.net/item/responsive-supermark……omarket/5299356 это Премиум тема, но нашёл её бесплатно. Вообщем вот поделился с вами темой, надеюсь вам понравится, можете сами попробовать установить и сказать как вы её установили и настроили, а то я уже незнаю что делать. :cray:

I copied my old website into a new one, but somehow, it’s not working anymore and shows me : «Error: «install» directory is missing».

I configured my settings.inc file with my new DB altough.

Can someone help me please?

Steven KlingerSteven Klinger

I copied my old website into a new one, but somehow, it’s not working anymore and shows me : «Error: «install» directory is missing».

I configured my settings.inc file with my new DB altough.

Can someone help me please?

Steven KlingerSteven Klinger

0

I copied my old website into a new one, but somehow, it’s not working anymore and shows me : «Error: «install» directory is missing».

I configured my settings.inc file with my new DB altough.

Can someone help me please?

Steven KlingerSteven Klinger

I copied my old website into a new one, but somehow, it’s not working anymore and shows me : «Error: «install» directory is missing».

I configured my settings.inc file with my new DB altough.

Can someone help me please?

Steven KlingerSteven Klinger

Steven KlingerSteven Klinger

Steven KlingerSteven Klinger

Steven KlingerSteven Klinger

Steven KlingerSteven Klinger

Check all files on /config directory.

Usually the reason for this problem is the incompleteness of any of the files in this folder.

answered Nov 26 ’18 at 14:35

Your Answer

StackExchange.ifUsing(«editor», function () {
StackExchange.using(«externalEditor», function () {
StackExchange.using(«snippets», function () {
StackExchange.snippets.init();
});
});
}, «code-snippets»);

StackExchange.ready(function() {
var channelOptions = {
tags: «».split(» «),
id: «1»
};
initTagRenderer(«».split(» «), «».split(» «), channelOptions);

StackExchange.using(«externalEditor», function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using(«snippets», function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: ‘answer’,
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: «»,
imageUploader: {
brandingHtml: «Powered by u003ca class=»icon-imgur-white» href=»https://imgur.com/»u003eu003c/au003e»,
contentPolicyHtml: «User contributions licensed under u003ca href=»https://creativecommons.org/licenses/by-sa/3.0/»u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href=»https://stackoverflow.com/legal/content-policy»u003e(content policy)u003c/au003e»,
allowUrls: true
},
onDemand: true,
discardSelector: «.discard-answer»
,immediatelyShowMarkdownHelp:true
});

}
});

Sign up or log in

StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave(‘#login-link’);
});

Sign up using Email and Password

Post as a guest

Email

Required, but never shown

StackExchange.ready(
function () {
StackExchange.openid.initPostLogin(‘.new-post-login’, ‘https%3a%2f%2fstackoverflow.com%2fquestions%2f53477773%2fmy-prestashop-website-shows-error-install-directory-is-missing%23new-answer’, ‘question_page’);
}
);

Post as a guest

Email

Required, but never shown

Check all files on /config directory.

Usually the reason for this problem is the incompleteness of any of the files in this folder.

answered Nov 26 ’18 at 14:35

Check all files on /config directory.

Usually the reason for this problem is the incompleteness of any of the files in this folder.

answered Nov 26 ’18 at 14:35

1

Check all files on /config directory.

Usually the reason for this problem is the incompleteness of any of the files in this folder.

answered Nov 26 ’18 at 14:35

Check all files on /config directory.

Usually the reason for this problem is the incompleteness of any of the files in this folder.

answered Nov 26 ’18 at 14:35

answered Nov 26 ’18 at 14:35

answered Nov 26 ’18 at 14:35

answered Nov 26 ’18 at 14:35

Thanks for contributing an answer to Stack Overflow!

  • Please be sure to answer the question. Provide details and share your research!

But avoid

  • Asking for help, clarification, or responding to other answers.
  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.

Sign up or log in

StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave(‘#login-link’);
});

Sign up using Email and Password

Post as a guest

Email

Required, but never shown

StackExchange.ready(
function () {
StackExchange.openid.initPostLogin(‘.new-post-login’, ‘https%3a%2f%2fstackoverflow.com%2fquestions%2f53477773%2fmy-prestashop-website-shows-error-install-directory-is-missing%23new-answer’, ‘question_page’);
}
);

Post as a guest

Email

Required, but never shown

Sign up or log in

StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave(‘#login-link’);
});

Sign up using Email and Password

Post as a guest

Email

Required, but never shown

Sign up or log in

StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave(‘#login-link’);
});

Sign up using Email and Password

Post as a guest

Email

Required, but never shown

Sign up or log in

StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave(‘#login-link’);
});

Sign up using Email and Password

Sign up using Email and Password

Post as a guest

Email

Required, but never shown

Email

Required, but never shown

Email

Required, but never shown

Email

Required, but never shown

Email

Required, but never shown

Email

Required, but never shown

Email

Required, but never shown

Email

Required, but never shown

Email

Required, but never shown

Понравилась статья? Поделить с друзьями:
  • Error inserting template into database
  • Error inserting data into table microsoft sql server import wizard
  • Error insert or update on table violates foreign key constraint
  • Error insert into mysql
  • Error insert has more expressions than target columns