merge with hotfix

This commit is contained in:
Yuri Kuznetsov
2021-03-25 16:14:22 +02:00
32 changed files with 406 additions and 218 deletions

View File

@@ -29,6 +29,8 @@
namespace Espo\Core\ExternalAccount\OAuth2;
use Exception;
class Client
{
const AUTH_TYPE_URI = 0;
@@ -79,7 +81,7 @@ class Client
public function __construct(array $params = [])
{
if (!extension_loaded('curl')) {
throw new \Exception('CURL extension not found.');
throw new Exception('CURL extension not found.');
}
}
@@ -139,16 +141,21 @@ class Client
switch ($this->tokenType) {
case self::TOKEN_TYPE_URI:
$params[$this->accessTokenParamName] = $this->accessToken;
break;
case self::TOKEN_TYPE_BEARER:
$httpHeaders['Authorization'] = 'Bearer ' . $this->accessToken;
break;
case self::TOKEN_TYPE_OAUTH:
$httpHeaders['Authorization'] = 'OAuth ' . $this->accessToken;
break;
default:
throw new \Exception('Unknown access token type.');
break;
default:
throw new Exception('Unknown access token type.');
}
}
@@ -157,15 +164,16 @@ class Client
private function execute($url, $params, $httpMethod, array $httpHeaders = [])
{
$curlOptions = array(
$curlOptions = [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_SSL_VERIFYPEER => true,
CURLOPT_CUSTOMREQUEST => $httpMethod
);
CURLOPT_CUSTOMREQUEST => $httpMethod,
];
switch ($httpMethod) {
case self::HTTP_METHOD_POST:
$curlOptions[CURLOPT_POST] = true;
case self::HTTP_METHOD_PUT:
case self::HTTP_METHOD_PATCH:
if (is_array($params)) {
@@ -173,36 +181,49 @@ class Client
} else {
$postFields = $params;
}
$curlOptions[CURLOPT_POSTFIELDS] = $postFields;
break;
case self::HTTP_METHOD_HEAD:
$curlOptions[CURLOPT_NOBODY] = true;
case self::HTTP_METHOD_DELETE:
case self::HTTP_METHOD_GET:
if (strpos($url, '?') === false) {
$url .= '?';
}
if (is_array($params)) {
$url .= http_build_query($params, null, '&');
}
break;
default:
break;
}
$curlOptions[CURLOPT_URL] = $url;
$curlOptHttpHeader = array();
$curlOptHttpHeader = [];
foreach ($httpHeaders as $key => $value) {
if (is_int($key) && !is_string($key)) {
$curlOptHttpHeader[] = $value;
continue;
}
$curlOptHttpHeader[] = "{$key}: {$value}";
}
$curlOptions[CURLOPT_HTTPHEADER] = $curlOptHttpHeader;
$ch = curl_init();
curl_setopt_array($ch, $curlOptions);
curl_setopt($ch, CURLOPT_HEADER, 1);
@@ -230,18 +251,20 @@ class Client
$resultArray = null;
if ($curlError = curl_error($ch)) {
throw new \Exception($curlError);
} else {
throw new Exception($curlError);
}
else {
$resultArray = json_decode($responceBody, true);
}
curl_close($ch);
return array(
return [
'result' => (null !== $resultArray) ? $resultArray: $responceBody,
'code' => intval($httpCode),
'contentType' => $contentType,
'header' => $responceHeader,
);
];
}
public function getAccessToken($url, $grantType, array $params)
@@ -249,18 +272,24 @@ class Client
$params['grant_type'] = $grantType;
$httpHeaders = [];
switch ($this->tokenType) {
switch ($this->authType) {
case self::AUTH_TYPE_URI:
case self::AUTH_TYPE_FORM:
$params['client_id'] = $this->clientId;
$params['client_secret'] = $this->clientSecret;
break;
case self::AUTH_TYPE_AUTHORIZATION_BASIC:
$params['client_id'] = $this->clientId;
$httpHeaders['Authorization'] = 'Basic ' . base64_encode($this->clientId . ':' . $this->clientSecret);
break;
default:
throw new \Exception();
throw new Exception("Bad auth type.");
}
return $this->execute($url, $params, self::HTTP_METHOD_POST, $httpHeaders);

View File

@@ -34,6 +34,12 @@ class Language{
private $data = array();
protected $defaultLabels = [
'nginx' => 'linux',
'apache' => 'linux',
'microsoft-iis' => 'windows',
];
public function __construct()
{
require_once 'SystemHelper.php';
@@ -118,19 +124,35 @@ class Language{
$serverOs = $this->getSystemHelper()->getOs();
$rewriteRules = $this->getSystemHelper()->getRewriteRules();
if (isset($i18n['options']['modRewriteInstruction'][$serverType][$serverOs])) {
$modRewriteInstruction = $i18n['options']['modRewriteInstruction'][$serverType][$serverOs];
preg_match_all('/\{(.*?)\}/', $modRewriteInstruction, $match);
if (isset($match[1])) {
foreach ($match[1] as $varName) {
if (isset($rewriteRules[$varName])) {
$modRewriteInstruction = str_replace('{'.$varName.'}', $rewriteRules[$varName], $modRewriteInstruction);
}
}
$label = $i18n['options']['modRewriteInstruction'][$serverType][$serverOs] ?? null;
if (!isset($label) && isset($this->defaultLabels[$serverType])) {
$defaultLabel = $this->defaultLabels[$serverType];
if (!isset($i18n['options']['modRewriteInstruction'][$serverType][$defaultLabel])) {
$defaultLangFile = 'install/core/i18n/' . $this->defaultLanguage . '/install.json';
$defaultData = $this->getLangData($defaultLangFile);
$i18n['options']['modRewriteInstruction'][$serverType][$defaultLabel] = $defaultData['options']['modRewriteInstruction'][$serverType][$defaultLabel];
}
$i18n['options']['modRewriteInstruction'][$serverType][$serverOs] = $modRewriteInstruction;
$label = $i18n['options']['modRewriteInstruction'][$serverType][$defaultLabel];
}
if (!$label) {
return;
}
preg_match_all('/\{(.*?)\}/', $label, $match);
if (isset($match[1])) {
foreach ($match[1] as $varName) {
if (isset($rewriteRules[$varName])) {
$label = str_replace('{'.$varName.'}', $rewriteRules[$varName], $label);
}
}
}
$i18n['options']['modRewriteInstruction'][$serverType][$serverOs] = $label;
}
}

View File

@@ -35,7 +35,7 @@ class SystemHelper extends \Espo\Core\Utils\System
protected $apiPath;
protected $modRewriteUrl = '/Metadata';
protected $modRewriteUrl = '/';
protected $writableDir = 'data';

View File

@@ -27,6 +27,20 @@
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
$clearedCookieList = [
'auth-token-secret',
'auth-username',
'auth-token',
];
foreach ($clearedCookieList as $cookieName) {
if (!isset($_COOKIE[$cookieName])) {
continue;
}
setcookie($cookieName, null, -1, '/');
}
$config = $installer->getConfig();
$fields = array(

View File

@@ -30,14 +30,19 @@
return [
'apiPath' => '/api/v1',
'rewriteRules' => [
'APACHE1' => 'a2enmod rewrite
service apache2 restart',
'APACHE1' => 'sudo a2enmod rewrite
sudo service apache2 restart',
'APACHE2' => '<Directory /PATH_TO_ESPO/>
AllowOverride <b>All</b>
&#60;/Directory&#62;',
'APACHE3' => 'service apache2 restart',
'APACHE2_PATH1' => '/etc/apache2/sites-available/ESPO_VIRTUAL_HOST.conf',
'APACHE2_PATH2' => '/etc/apache2/apache2.conf',
'APACHE2_PATH3' => '/etc/httpd/conf/httpd.conf',
'APACHE3' => 'sudo service apache2 restart',
'APACHE4' => '# RewriteBase /',
'APACHE5' => 'RewriteBase {ESPO_PATH}{API_PATH}',
'WINDOWS_APACHE1' => 'LoadModule rewrite_module modules/mod_rewrite.so',
'NGINX_PATH' => '/etc/nginx/sites-available/YOUR_SITE',
'NGINX' => 'server {
# ...
@@ -88,5 +93,7 @@ service apache2 restart',
deny all;
}
}',
'APACHE_LINK' => 'https://www.espocrm.com/documentation/administration/apache-server-configuration/',
'NGINX_LINK' => 'https://www.espocrm.com/documentation/administration/nginx-server-configuration/',
],
];
];

View File

@@ -108,8 +108,8 @@
"mysqlSettingError": "EspoCRM изисква настройка MySQL \"{NAME}\", за да се настрои да {VALUE}",
"requiredMariadbVersion": "Вашият MariaDB версия не се поддържа от EspoCRM, моля обновете до MariaDB {} minVersion най-малко",
"Ajax failed": "Възникна неочаквана грешка",
"Bad init Permission": "Разрешението е отказано за \"{*}\" директория. Моля, избран 775 за \"{*}\" или просто изпълни тази команда в терминала <предварително> <б> {C} </ B> </ предварително> операция не е позволено? Предложения това: {ХСС}",
"permissionInstruction": "<br> Run тази команда в терминал: <предварително> <б> \"{C}\" </ B> </ предварително>",
"Bad init Permission": "Разрешението е отказано за \"{*}\" директория. Моля, избран 775 за \"{*}\" или просто изпълни тази команда в терминала <pre> <b> {C} </b> </pre> операция не е позволено? Предложения това: {ХСС}",
"permissionInstruction": "<br> Run тази команда в терминал: <pre> <b>\"{C}\"</b> </pre>",
"operationNotPermitted": "Операция не е позволено? Предложения това: <br> <br> {ХСС}"
},
"options": {
@@ -118,19 +118,18 @@
},
"modRewriteInstruction": {
"apache": {
"windows": "<br> <предварително> 1. Намерете httpd.conf файл (обикновено вие ще го намерите в папка, наречена конф, довереник или нещо в този дух) <br> 2. Вътре в httpd.conf файла разкоментирайте модули линия LoadModule rewrite_module / mod_rewrite.so (премахване на лирата \"#\" знак от в предната част на линията) <br> 3. Също така да намерите линията ClearModuleList се некоментирана след това намерете и се уверете, че mod_rewrite.c линията AddModule не е коментиран. </ Предварително>",
"linux": "<br> <br> 1. Активиране на \"mod_rewrite\". За това тече тези команди в терминал: <предварително> {APACHE1} </ предварително> <br> 2. Ако предишната стъпка не помогне, опитайте се да се даде възможност на .htaccess подкрепа. Добавяне / редактиране на настройките за конфигурация сървър (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf): <предварително> {} apache2 </ предварително> След това стартирате тази команда в терминал: <предварително> {APACHE3} </ предварително> <br> 3. Ако предишната стъпка не помогне, опитайте да добавите пътя на RewriteBase. Отваряне на файл {} API_PATH .htaccess и да се замени следния ред: <предварително> {} APACHE4 </ предварително> Да <предварително> {} APACHE5 </ предварително> <br> За повече информация, моля посетете насоките <един HREF = \" https://www.espocrm.com/documentation/administration/apache-server-configuration/ \"целева =\" _ празно \">"
"windows": "<br> <pre> 1. Намерете httpd.conf файл (обикновено вие ще го намерите в папка, наречена конф, довереник или нещо в този дух) <br> 2. Вътре в httpd.conf файла разкоментирайте модули линия LoadModule rewrite_module / mod_rewrite.so (премахване на лирата \"#\" знак от в предната част на линията) <br> 3. Също така да намерите линията ClearModuleList се некоментирана след това намерете и се уверете, че mod_rewrite.c линията AddModule не е коментиран. </pre>",
"linux": "<br> <br> 1. Активиране на \"mod_rewrite\". За това тече тези команди в терминал: <pre>{APACHE1}</pre> <br> 2. Ако предишната стъпка не помогне, опитайте се да се даде възможност на .htaccess подкрепа. Добавяне / редактиране на настройките за конфигурация сървър (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>): <pre>{APACHE2}</pre> След това стартирате тази команда в терминал: <pre>{APACHE3}</pre> <br> 3. Ако предишната стъпка не помогне, опитайте да добавите пътя на RewriteBase. Отваряне на файл {API_PATH} .htaccess и да се замени следния ред: <pre>{APACHE4}</pre> Да <pre>{APACHE5}</pre> <br> За повече информация, моля посетете насоките <a href=\"{APACHE_LINK}\" target=\"_blank\">Apache server configuration for EspoCRM</a>.<br><br>"
},
"nginx": {
"linux": "<br> <предварително> {Nginx} </ предварително> <br> За повече информация посети насоките <един HREF = \"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" целева = \"_ празно\"> конфигурацията на сървъра Nginx за EspoCRM </a>. <br> <br>",
"windows": "<br> <предварително> {Nginx} </ предварително> <br> За повече информация посети насоките <един HREF = \"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" целева = \"_ празно\"> конфигурацията на сървъра Nginx за EspoCRM </a>. <br> <br>"
"linux": "<br> Добавете този код в Nginx сървър блок конфигурационния файл <code>{NGINX_PATH}</code> вътре в раздел \"сървър\": <pre>{NGINX}</pre> <br> За повече информация посети насоките <a href=\"{NGINX_LINK}\" target=\"_blank\">конфигурацията на сървъра Nginx за EspoCRM</a>. <br> <br>"
}
},
"modRewriteTitle": {
"apache": "API. Грешка: EspoCRM API е недостъпна <br> Възможни проблеми:. Увреждания \"mod_rewrite\" в Apache сървъра, инвалиди .htaccess подкрепа или RewriteBase въпрос <br> ли само необходимите стъпки. След всяка проверка стъпка, ако проблемът не бъде решен.",
"nginx": "API Грешка: EspoCRM API е недостъпна <br> Добавете този код в Nginx сървър блок конфигурационния файл (/ и т.н. / Nginx / сайтове-достъпни / YOUR_SITE) вътре в раздел \"сървър\".:",
"microsoft-iis": "API. Грешка: EspoCRM API е недостъпна <br> Възможен проблем: увреждания \"URL Rewrite\". Моля, проверете и се даде възможност на \"URL Rewrite\" Модул в IIS сървър",
"default": "API. Грешка: EspoCRM API е недостъпна <br> Възможен проблем: инвалиди Rewrite модул. Моля, проверете и се даде възможност на Rewrite модул в сървъра си (напр mod_rewrite в Apache) и .htaccess подкрепа."
"apache": "<h3>API. Грешка: EspoCRM API е недостъпна</h3> <br> Ли само необходимите стъпки. След всяка проверка стъпка, ако проблемът не бъде решен.",
"nginx": "<h3>API Грешка: EspoCRM API е недостъпна</h3>",
"microsoft-iis": "<h3>API. Грешка: EspoCRM API е недостъпна</h3> <br> Възможен проблем: увреждания \"URL Rewrite\". Моля, проверете и се даде възможност на \"URL Rewrite\" Модул в IIS сървър",
"default": "<h3>API. Грешка: EspoCRM API е недостъпна</h3> <br> Възможен проблем: инвалиди Rewrite модул. Моля, проверете и се даде възможност на Rewrite модул в сървъра си (напр mod_rewrite в Apache) и .htaccess подкрепа."
}
},
"systemRequirements": {
@@ -141,4 +140,4 @@
"readable": "четлив",
"requiredMariadbVersion": "MariaDB версия"
}
}
}

View File

@@ -94,19 +94,18 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Find httpd.conf filen (den findes normalt i en mappe kaldet conf, config eller noget i den retning)<br>\n2. I httpd.conf file skal linjen LoadModule rewrite_module modules/mod_rewrite.so aktiveres (fjern #-tegnet foran linjen)<br>\n3. Tjek at linjen ClearModuleList er uden #-tegn og linjen AddModule mod_rewrite.c må heller ikke have #-tegnet i begyndelsen.\n</pre>",
"linux": "\n <br><br>1.Aktiver \"mod_rewrite\". Kør disse kommandoer i et terminalvindue:<pre>{APACHE1}</pre><br>2. Aktiver .htaccess understøttelse. Tilføj/rediger Server konfigurationsindstillinger (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):<pre>{APACHE2}</pre>\nKør derefter denne kommando i et terminalvindue:<pre>{APACHE3}</pre><br>3. Prøv at tilføje RewriteBase stien, åbn en fil {API_PATH}.htaccess og erstat den følgende linje:<pre>{APACHE4}</pre>Med<pre>{APACHE5}</pre><br> For mere information besøg venligst guiden <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\">Apache server configuration for EspoCRM</a>.<br><br> "
"windows": "<br> <pre>1. Find httpd.conf filen (den findes normalt i en mappe kaldet conf, config eller noget i den retning)<br>\n2. I httpd.conf file skal linjen <code>{WINDOWS_APACHE1}</code> aktiveres (fjern #-tegnet foran linjen)<br>\n3. Tjek at linjen ClearModuleList er uden #-tegn og linjen AddModule mod_rewrite.c må heller ikke have #-tegnet i begyndelsen.\n</pre>",
"linux": "<br><br>1.Aktiver \"mod_rewrite\". Kør disse kommandoer i et terminalvindue:<pre>{APACHE1}</pre><br>2. Aktiver .htaccess understøttelse. Tilføj/rediger Server konfigurationsindstillinger (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>):<pre>{APACHE2}</pre>\nKør derefter denne kommando i et terminalvindue:<pre>{APACHE3}</pre><br>3. Prøv at tilføje RewriteBase stien, åbn en fil {API_PATH}.htaccess og erstat den følgende linje:<pre>{APACHE4}</pre>Med<pre>{APACHE5}</pre><br> For mere information besøg venligst guiden <a href=\"{APACHE_LINK}\" target=\"_blank\">Apache server configuration for EspoCRM</a>.<br><br> "
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> For mere information besøg venligst guiden <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br> ",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> For mere information besøg venligst guiden <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br> "
"linux": "<br> Tilføj denne kode til din Nginx servers config fil <code>{NGINX_PATH}</code> indenfor \"server\" sektionen:<pre>{NGINX}</pre> <br> For mere information besøg venligst guiden <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br> "
}
},
"modRewriteTitle": {
"apache": "API Fejl: EspoCRM API er utilgængelig.<br> Mulige problemer: deaktiveret \"mod_rewrite\" i Apache serveren, deaktiveret .htaccess understøttelse eller et problem med RewriteBase.<br>Foretag kun nødvendige skridt. Tjek efter hvert skridt om problemet er løst.",
"nginx": "API Fejl: EspoCRM API er utilgængelig.<br> Tilføj denne kode til din Nginx servers config fil (/etc/nginx/sites-available/YOUR_SITE) indenfor \"server\" sektionen:",
"microsoft-iis": "API Fejl: EspoCRM API er utilgængelig.<br> Muligt problem: deaktiveret \"URL Rewrite\". Venligst tjek og aktiver \"URL Rewrite\" Modulet i IIS serveren.",
"default": "API Fejl: EspoCRM API er utilgængelig.<br> Muligt problem: deaktiveret Rewrite Modul. Venligst tjek og aktiver Rewrite Modulet i din server (f.eks. mod_rewrite i Apache) og .htaccess understøttelse."
"apache": "<h3>API Fejl: EspoCRM API er utilgængelig.</h3><br>Foretag kun nødvendige skridt. Tjek efter hvert skridt om problemet er løst.",
"nginx": "<h3>API Fejl: EspoCRM API er utilgængelig.</h3>",
"microsoft-iis": "<h3>API Fejl: EspoCRM API er utilgængelig.</h3><br> Muligt problem: deaktiveret \"URL Rewrite\". Venligst tjek og aktiver \"URL Rewrite\" Modulet i IIS serveren.",
"default": "<h3>API Fejl: EspoCRM API er utilgængelig.</h3><br> Muligt problem: deaktiveret Rewrite Modul. Venligst tjek og aktiver Rewrite Modulet i din server (f.eks. mod_rewrite i Apache) og .htaccess understøttelse."
}
},
"systemRequirements": {
@@ -117,4 +116,4 @@
"writable": "Skrivbar",
"readable": "Læsbar"
}
}
}

View File

@@ -104,19 +104,18 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Finden Sie die httpd.conf Datei (normalerweise in einem Verzeichnis conf, config oder ähnlich)<br>2. Innerhalb der httpd.conf Datei aktivieren Sie die Zeile LoadModule rewrite_module modules/mod_rewrite.so (entfernen Sie das # Zeichen vom Anfang der Zeile)<br>3. Stellen Sie sicher, dass die Zeile ClearModuleList nicht auskommentiert ist, genauso wie die Zeile AddModule mod_rewrite.c. </pre>\n</pre>",
"linux": "<br><br>1. Aktivieren Sie mod_rewrite. Dafür führen Sie folgende Kommandos in einem Terminalfenster aus: <pre>{APACHE1}</pre><br>2. Aktivieren Sie .htaccess Unterstützung Ändern oder fügen Sie folgendes Kommando zu Ihrer Apache Konfiguration hinzu (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):<pre>{APACHE2}</pre>\n Anschließend führen Sie dieses Kommando in einem Terminalfenster aus: <pre>{APACHE3}</pre><br>3. Um den RewriteBase Pfad hinzuzufügen, öffnen Sie die Datei {API_PATH}.htaccess und ersetzen Sie die folgende Zeile:<pre>{APACHE4}</pre>zu<pre>{APACHE5}</pre><br> For more information please visit the guideline <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\">Apache server configuration for EspoCRM</a>.<br><br>"
"windows": "<br> <pre>1. Finden Sie die httpd.conf Datei (normalerweise in einem Verzeichnis conf, config oder ähnlich)<br>2. Innerhalb der httpd.conf Datei aktivieren Sie die Zeile <code>{WINDOWS_APACHE1}</code> (entfernen Sie das # Zeichen vom Anfang der Zeile)<br>3. Stellen Sie sicher, dass die Zeile ClearModuleList nicht auskommentiert ist, genauso wie die Zeile AddModule mod_rewrite.c. </pre>\n</pre>",
"linux": "<br>1. Aktivieren Sie mod_rewrite. Dafür führen Sie folgende Kommandos in einem Terminalfenster aus: <pre>{APACHE1}</pre><br>2. Aktivieren Sie .htaccess Unterstützung Ändern oder fügen Sie folgendes Kommando zu Ihrer Apache Konfiguration hinzu (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>):<pre>{APACHE2}</pre>\n Anschließend führen Sie dieses Kommando in einem Terminalfenster aus: <pre>{APACHE3}</pre><br>3. Um den RewriteBase Pfad hinzuzufügen, öffnen Sie die Datei {API_PATH}.htaccess und ersetzen Sie die folgende Zeile:<pre>{APACHE4}</pre>zu<pre>{APACHE5}</pre><br> For more information please visit the guideline <a href=\"{APACHE_LINK}\" target=\"_blank\">Apache server configuration for EspoCRM</a>.<br><br>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Weitere Informationen sind in der Dokumentation unter <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a> zu finden.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Weitere Informationen sind in der Dokumentation unter <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a> zu finden.<br><br>"
"linux": "<br>Fügen Sie diesen Code zu Nginx Host Config <code>{NGINX_PATH}</code> (innerhalb des \"server\" Blocks) hinzu:<pre>{NGINX}</pre> <br> Weitere Informationen sind in der Dokumentation unter <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server configuration for EspoCRM</a> zu finden.<br><br>"
}
},
"modRewriteTitle": {
"apache": "API Fehler: EspoCRM API nicht verfügbar<br>Mögliche Probleme: deaktiviertes \"mod_rewrite\" des Apache Servers, nicht aktivierte .htaccess Unterstützung oder ein RewriteBase Fehler.<br>Führen Sie nur die notwendigen Schritte durch. Nach jedem Schritt prüfen Sie bitte, ob das Problem gelöst ist.",
"nginx": "API Fehler: EspoCRM API nicht verfügbar.<br>Fügen Sie diesen Code zu Nginx Host Config (innerhalb des \"server\" Blocks) hinzu:",
"microsoft-iis": "API Fehler: EspoCRM API nicht verfügbar<br>Mögliches Problem: deaktiviertes \"URL Rewrite\". Bitte überprüfen und aktivieren Sie das \"URL Rewrite\" Modul im IIS Server.",
"default": "API Fehler: EspoCRM API nicht verfügbar<br>Mögliches Problem: deaktiviertes Rewrite Modul. Bitte überprüfen und aktivieren Sie das Rewrite Modul (z.B. mod_rewrite im Apache Server) und die .htaccess Unterstützung."
"apache": "<h3>API Fehler: EspoCRM API nicht verfügbar</h3><br>Führen Sie nur die notwendigen Schritte durch. Nach jedem Schritt prüfen Sie bitte, ob das Problem gelöst ist.",
"nginx": "<h3>API Fehler: EspoCRM API nicht verfügbar.</h3>",
"microsoft-iis": "<h3>API Fehler: EspoCRM API nicht verfügbar</h3><br>Mögliches Problem: deaktiviertes \"URL Rewrite\". Bitte überprüfen und aktivieren Sie das \"URL Rewrite\" Modul im IIS Server.",
"default": "<h3>API Fehler: EspoCRM API nicht verfügbar</h3><br>Mögliches Problem: deaktiviertes Rewrite Modul. Bitte überprüfen und aktivieren Sie das Rewrite Modul (z.B. mod_rewrite im Apache Server) und die .htaccess Unterstützung."
}
},
"systemRequirements": {
@@ -127,4 +126,4 @@
"readable": "Lesbar",
"requiredMariadbVersion": "MariaDB Version"
}
}
}

View File

@@ -124,19 +124,18 @@
"pdo_mysql": "PDO MySQL"
},
"modRewriteTitle": {
"apache": "API Error: EspoCRM API is unavailable.<br> Possible problems: disabled \"mod_rewrite\" in Apache server, disabled .htaccess support or RewriteBase issue.<br>Do only necessary steps. After each step check if the issue is solved.",
"nginx": "API Error: EspoCRM API is unavailable.<br> Add this code to your Nginx server block config file (/etc/nginx/sites-available/YOUR_SITE) inside \"server\" section:",
"microsoft-iis": "API Error: EspoCRM API is unavailable.<br> Possible problem: disabled \"URL Rewrite\". Please check and enable \"URL Rewrite\" Module in IIS server",
"default": "API Error: EspoCRM API is unavailable.<br> Possible problem: disabled Rewrite Module. Please check and enable Rewrite Module in your server (e.g. mod_rewrite in Apache) and .htaccess support."
"apache": "<h3>API Error: EspoCRM API is unavailable.</h3><br>Do only necessary steps. After each step check if the issue is solved.",
"nginx": "<h3>API Error: EspoCRM API is unavailable.</h3>",
"microsoft-iis": "<h3>API Error: EspoCRM API is unavailable.</h3><br> Possible problem: disabled \"URL Rewrite\". Please check and enable \"URL Rewrite\" Module in IIS server",
"default": "<h3>API Error: EspoCRM API is unavailable.</h3><br> Possible problems: disabled Rewrite Module. Please check and enable Rewrite Module in your server (e.g. mod_rewrite in Apache) and .htaccess support."
},
"modRewriteInstruction": {
"apache": {
"linux": "<br><br>1. Enable \"mod_rewrite\". To do it run those commands in a Terminal:<pre>{APACHE1}</pre><br>2. If the previous step did not help, try to enable .htaccess support. Add/edit the Server configuration settings (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):<pre>{APACHE2}</pre>\n Afterwards run this command in a Terminal:<pre>{APACHE3}</pre><br>3. If the previous step did not help, try to add the RewriteBase path. Open a file {API_PATH}.htaccess and replace the following line:<pre>{APACHE4}</pre>To<pre>{APACHE5}</pre><br> For more information please visit the guideline <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\">Apache server configuration for EspoCRM</a>.<br><br>",
"windows": "<br> <pre>1. Find the httpd.conf file (usually you will find it in a folder called conf, config or something along those lines)<br>\n2. Inside the httpd.conf file uncomment the line LoadModule rewrite_module modules/mod_rewrite.so (remove the pound '#' sign from in front of the line)<br>\n3. Also find the line ClearModuleList is uncommented then find and make sure that the line AddModule mod_rewrite.c is not commented out.\n</pre>"
"linux": "<br><br><h4>1. Enable \"mod_rewrite\".</h4>To enable <i>mod_rewrite</i>, run these commands in a terminal:<br><br><pre>{APACHE1}</pre><hr><h4>2. If the previous step did not help, try to enable .htaccess support.</h4> Add/edit the server configuration settings <code>{APACHE2_PATH1}</code> or <code>{APACHE2_PATH2}</code> (or <code>{APACHE2_PATH3}</code>):<br><br><pre>{APACHE2}</pre>\n Afterwards run this command in a terminal:<br><br><pre>{APACHE3}</pre><hr><h4>3. If the previous step did not help, try to add the RewriteBase path.</h4>Open a file <code>{API_PATH}.htaccess</code> and replace the following line:<br><br><pre>{APACHE4}</pre>To<br><br><pre>{APACHE5}</pre><hr>For more information please visit the guideline <a href=\"{APACHE_LINK}\" target=\"_blank\">Apache server configuration for EspoCRM</a>.<br><br>",
"windows": "<br><br> <h4>1. Find the httpd.conf file.</h4>Usually it can be found in a folder called \"conf\", \"config\" or something along those lines.<br><br><h4>2. Edit the httpd.conf file.</h4> Inside the httpd.conf file uncomment the line <code>{WINDOWS_APACHE1}</code> (remove the pound '#' sign from in front of the line).<br><br><h4>3. Check others parameters.</h4>Also check if the line <code>ClearModuleList</code> is uncommented and make sure that the line <code>AddModule mod_rewrite.c</code> is not commented out.\n"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> For more information please visit the guideline <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> For more information please visit the guideline <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
"linux": "<br> Add this code to your Nginx server config file <code>{NGINX_PATH}</code> inside \"server\" section:<br><br><pre>{NGINX}</pre> <br> For more information please visit the guideline <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
},
"microsoft-iis": {
"windows": ""

View File

@@ -98,19 +98,18 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Encontrar el archivo httpd.conf (generalmente lo encontrará en una carpeta llamada conf, config o o algo similar a esas líneas)<br>\n2. Dentro del archivo httpd.conf descomentamos la línea LoadModule rewrite_module modules/mod_rewrite.so (eliminar el '#' que está al comienzo de la línea)<br>\n3. También encuentre que la línea ClearModuleList no esté comentada después busque y asegurese que la línea AddModule mod_rewrite.c no está comentada tampoco.\n</pre>",
"linux": "<br> <br>1. Habilita \"mod_rewrite\". Para hacerlo, ejecute esos comandos en un Terminal: <pre>{APACHE1}</pre><br> 2. Habilita el soporte de .htaccess. Agregue/edite los ajustes de configuración del Servidor (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf): <pre>{APACHE2}</pre>\nLuego ejecuta este comando en un Terminal: <pre>{APACHE3}</pre> <br>3. Intente agregar la ruta RewriteBase, abra un archivo {API_PATH} .htaccess y reemplace la siguiente línea: <pre>{APACHE4}</pre> a <pre>{APACHE5}</pre> <br> Para obtener más información, visite la guía <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\"> configuración del servidor Apache para EspoCRM </a>. <br> <br>"
"windows": "<br> <pre>1. Encontrar el archivo httpd.conf (generalmente lo encontrará en una carpeta llamada conf, config o o algo similar a esas líneas)<br>\n2. Dentro del archivo httpd.conf descomentamos la línea <code>{WINDOWS_APACHE1}</code> (eliminar el '#' que está al comienzo de la línea)<br>\n3. También encuentre que la línea ClearModuleList no esté comentada después busque y asegurese que la línea AddModule mod_rewrite.c no está comentada tampoco.\n</pre>",
"linux": "<br>1. Habilita \"mod_rewrite\". Para hacerlo, ejecute esos comandos en un Terminal: <pre>{APACHE1}</pre><br> 2. Habilita el soporte de .htaccess. Agregue/edite los ajustes de configuración del Servidor <code>{APACHE2_PATH1}</code> o <code>{APACHE2_PATH2}</code> (o <code>{APACHE2_PATH3}</code>): <pre>{APACHE2}</pre>\nLuego ejecuta este comando en un Terminal: <pre>{APACHE3}</pre> <br>3. Intente agregar la ruta RewriteBase, abra un archivo {API_PATH} .htaccess y reemplace la siguiente línea: <pre>{APACHE4}</pre> a <pre>{APACHE5}</pre> <br> Para obtener más información, visite la guía <a href=\"{APACHE_LINK}\" target=\"_blank\"> configuración del servidor Apache para EspoCRM </a>. <br> <br>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Para obtener más información, visite la guía <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\"> configuración del servidor Nginx para EspoCRM </a>. <br> <br> <br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Para obtener más información, visite la guía <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\"> configuración del servidor Nginx para EspoCRM </a>. <br> <br> <br>"
"linux": "<br> Agregar este código a su Configuración de Servidor Nginx <code>{NGINX_PATH}</code> (inside \"server\" block):\n<pre>\n{NGINX}\n</pre> <br> Para obtener más información, visite la guía <a href=\"{NGINX_LINK}\" target=\"_blank\"> configuración del servidor Nginx para EspoCRM </a>. <br> <br> <br>"
}
},
"modRewriteTitle": {
"apache": "API Error: EspoCRM API inaccesible.<br> Posibles problemas: se requiere RewriteBase , \"mod_rewrite\" desactivado en el servidor Apache o en el soporte .htaccess.",
"nginx": "API Error: EspoCRM API inaccesible.<br> Agregar este código a su Configuración de Servidor Nginx (inside \"server\" block):",
"microsoft-iis": "API Error: EspoCRM API inaccesible.<br> Problema posible: \"URL Rewrite\" desactivado. Por favor revisar y activar \"URL Rewrite\" Módulo en Servidor IIS",
"default": "API Error: EspoCRM API inaccesible.<br> Problema posible: Módulo Rewrite desactivado.Por favor revisar y activar el Módulo Rewrite en su servidor (e.g. mod_rewrite en Apache) y en el soporte .htaccess"
"apache": "<h3>API Error: EspoCRM API inaccesible.</h3><br> Posibles problemas: se requiere RewriteBase , \"mod_rewrite\" desactivado en el servidor Apache o en el soporte .htaccess.",
"nginx": "<h3>API Error: EspoCRM API inaccesible.</h3>",
"microsoft-iis": "<h3>API Error: EspoCRM API inaccesible.</h3><br> Problema posible: \"URL Rewrite\" desactivado. Por favor revisar y activar \"URL Rewrite\" Módulo en Servidor IIS",
"default": "<h3>API Error: EspoCRM API inaccesible.</h3><br> Problema posible: Módulo Rewrite desactivado.Por favor revisar y activar el Módulo Rewrite en su servidor (e.g. mod_rewrite en Apache) y en el soporte .htaccess"
}
},
"systemRequirements": {
@@ -119,4 +118,4 @@
"dbname": "Nombre de la Base de Datos",
"user": "Nombre de usuario"
}
}
}

View File

@@ -108,19 +108,18 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Encontrar el archivo httpd.conf (generalmente lo encontrará en una carpeta llamada conf, config o o algo similar a esas dis líneas)<br>\n2. Dentro del archivo httpd.conf descomentamos la línea LoadModule rewrite_module modules/mod_rewrite.so (eliminar el '#' que está al comienzo de la línea)<br>\n3. También encuentre que la línea ClearModuleList no esté comentada después busque y asegurese que la línea AddModule mod_rewrite.c no está comentada tampoco.\n</pre>",
"linux": "<br><br>1. Permita \"mod_rewrite\". Para hacerlo, ejecute estos comandos en una sesión de Terminal:<pre>{APACHE1}</pre><br>2. Permita soporte .htaccess Agregue/edite la configuración del servidor (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):<pre>{APACHE2}</pre>\n Después de correr esto en una sesión de Terminal:<pre>{APACHE3}</pre><br>3. Trate de agregar la ruta RewriteBase, abra el archivo {API_PATH}.htaccess y reemplace la línea:<pre>{APACHE4}</pre> por <pre>{APACHE5}</pre><br> Para más información, vea la guía <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\">Apache server configuration for EspoCRM (en inglés)</a>.<br><br>"
"windows": "<br> <pre>1. Encontrar el archivo httpd.conf (generalmente lo encontrará en una carpeta llamada conf, config o o algo similar a esas dis líneas)<br>\n2. Dentro del archivo httpd.conf descomentamos la línea <code>{WINDOWS_APACHE1}</code> (eliminar el '#' que está al comienzo de la línea)<br>\n3. También encuentre que la línea ClearModuleList no esté comentada después busque y asegurese que la línea AddModule mod_rewrite.c no está comentada tampoco.\n</pre>",
"linux": "<br><br>1. Permita \"mod_rewrite\". Para hacerlo, ejecute estos comandos en una sesión de Terminal:<pre>{APACHE1}</pre><br>2. Permita soporte .htaccess Agregue/edite la configuración del servidor (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>):<pre>{APACHE2}</pre>\n Después de correr esto en una sesión de Terminal:<pre>{APACHE3}</pre><br>3. Trate de agregar la ruta RewriteBase, abra el archivo {API_PATH}.htaccess y reemplace la línea:<pre>{APACHE4}</pre> por <pre>{APACHE5}</pre><br> Para más información, vea la guía <a href=\"{APACHE_LINK}\" target=\"_blank\">Apache server configuration for EspoCRM (en inglés)</a>.<br><br>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Para obtener más información, vea la guía <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM (en inglés)</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Para obtener más información, vea la guía <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM (en inglés)</a>.<br><br>"
"linux": "<br> Añada este código al archivo de configuración de su servidor Nginx <code>{NGINX_PATH}</code> en la sección \"server\": \n<pre>\n{NGINX}\n</pre> <br> Para obtener más información, vea la guía <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server configuration for EspoCRM (en inglés)</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "API Error: EspoCRM API is unavailable.<br> Posibles problemas: \"mod_rewrite\" deshabilitado en el servidor Apache, soporte .htaccess deshabilitado o problema en RewriteBase.<br>Avance paso por paso. Después de cada paso, verifique si resolvió su problema. ",
"nginx": "API Error: EspoCRM API is unavailable.<br> Añada este código al archivo de configuración de su servidor Nginx (/etc/nginx/sites-available/YOUR_SITE) en la sección \"server\": ",
"microsoft-iis": "API Error: EspoCRM API is unavailable.<br> Posible problema: \"URL Rewrite\" deshabilitado. Verifique y active el módulo \"URL Rewrite\" en su servidor IIS",
"default": "API Error: EspoCRM API is unavailable.<br> Posible problema: Módulo Rewrite deshabilitado. Verifique y Active el Módulo Rewrite en su servidor (e.g. mod_rewrite en Apache) y el soporte .htaccess. "
"apache": "<h3>API Error: EspoCRM API is unavailable.</h3><br>Avance paso por paso. Después de cada paso, verifique si resolvió su problema. ",
"nginx": "<h3>API Error: EspoCRM API is unavailable.</h3>",
"microsoft-iis": "<h3>API Error: EspoCRM API is unavailable.</h3><br> Posible problema: \"URL Rewrite\" deshabilitado. Verifique y active el módulo \"URL Rewrite\" en su servidor IIS",
"default": "<h3>API Error: EspoCRM API is unavailable.</h3><br> Posible problema: Módulo Rewrite deshabilitado. Verifique y Active el Módulo Rewrite en su servidor (e.g. mod_rewrite en Apache) y el soporte .htaccess. "
}
},
"systemRequirements": {
@@ -132,4 +131,4 @@
"writable": "Permite grabar",
"readable": "Permite leer"
}
}
}

View File

@@ -96,17 +96,16 @@
"options": {
"modRewriteTitle": {
"apache": "خطای API: EspoCRM API در دسترس نیست. <br> مشکلات احتمالی: \"mod_rewrite\" را در سرور آپاچی غیرفعال کنید، پشتیبانی از .htaccess یا RewriteBase غیرفعال شده است. <br> تنها مراحل لازم را انجام دهید. بعد از هر مرحله چک کنید اگر مسئله حل شود.",
"nginx": "خطای API: EspoCRM API در دسترس نیست. <br> این کد را به فایل پیکربندی سرور Nginx خود اضافه کنید (/ etc / nginx / sites-available / YOUR_SITE) در داخل «سرور»:",
"nginx": "خطای API: EspoCRM API در دسترس نیست.",
"microsoft-iis": "خطای API: EspoCRM API در دسترس نیست. <br> مشکل : غیرفعال \"URL Rewrite\". لطفا ماژول URL Rewrite را در سرور IIS چک کنید و فعال کنید",
"default": "خطای API: EspoCRM API در دسترس نیست. <br> مشکل احتمالی: غیر فعال بودن ماژول Rewrite. لطفا ماژولRewrite را در سرور خود چک کنید و فعال کنید (به عنوان مثال mod_rewrite در Apache) و پشتیبانی از .htaccess."
},
"modRewriteInstruction": {
"apache": {
"linux": "<br> <br> 1. فعال کردن \\\"mod_rewrite\\\" برای انجام آن دستوراتی که در ترمینال اجرا می شود: <pre> {APACHE1} </pre> <br> 2. پشتیبانی از .htaccess را فعال کنید افزودن / ویرایش تنظیمات پیکربندی سرور (/etc/apache/apache2.conf، /etc/httpd/conf/httpd.conf): <pre> {APACHE2} </pre>\n  بعد از اجرای این دستور در ترمینال: <pre> {APACHE3} </pre> <br> 3. سعی کنید مسیر RewriteBase را اضافه کنید، فایل {API_PATH} .htaccess را باز کنید و خط زیر را جایگزین کنید: <pre> {APACHE4} </pre> برای <pre> {APACHE5} </pre> <br> برای اطلاعات بیشتر لطفا دستورالعمل <a href=\\\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\\\" target=\\\"_blank\\\"> پیکربندی سرور Apache برای EspoCRM </a>. <br> <br>"
"linux": "<br> <br> 1. فعال کردن \"mod_rewrite\" برای انجام آن دستوراتی که در ترمینال اجرا می شود: <pre>{APACHE1}</pre> <br> 2. پشتیبانی از .htaccess را فعال کنید افزودن / ویرایش تنظیمات پیکربندی سرور (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>): <pre>{APACHE2}</pre>\n  بعد از اجرای این دستور در ترمینال: <pre>{APACHE3}</pre> <br> 3. سعی کنید مسیر RewriteBase را اضافه کنید، فایل {API_PATH} .htaccess را باز کنید و خط زیر را جایگزین کنید: <pre>{APACHE4}</pre> برای <pre> {APACHE5} </pre> <br> برای اطلاعات بیشتر لطفا دستورالعمل <a href=\"{APACHE_LINK}\" target=\"_blank\"> پیکربندی سرور Apache برای EspoCRM </a>. <br> <br>"
},
"nginx": {
"linux": "<br>\\n<pre>\\n{NGINX}\\n</pre> <br> برای کسب اطلاعات بیشتر، از دستورالعمل <a href=\\\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\\\" target=\\\"_blank\\\"> پیکربندی سرور Nginx برای EspoCRM <br> <br> <br> <br>",
"windows": "<br>\\n<pre>\\n{NGINX}\\n</pre> <br> برای کسب اطلاعات بیشتر، از دستورالعمل <a href=\\\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\\\" target=\\\"_blank\\\"> پیکربندی سرور Nginx برای EspoCRM <br> <br> <br> <br>"
"linux": "<br><br> این کد را به فایل پیکربندی سرور Nginx خود اضافه کنید <code>{NGINX_PATH}</code> در داخل «سرور»:\n<pre>\n{NGINX}\n</pre> <br> برای کسب اطلاعات بیشتر، از دستورالعمل <a href=\"{NGINX_LINK}\" target=\"_blank\"> پیکربندی سرور Nginx برای EspoCRM <br> <br> <br> <br>"
}
}
},
@@ -114,4 +113,4 @@
"dbname": "نام پایگاه داده",
"user": "نام کاربری"
}
}
}

View File

@@ -97,19 +97,18 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Pronađite httpd.conf datoteku (uobičajeno je u direktoriju conf, config ili nešto slično)<br>\n2. Unutar httpd.conf datoteke maknite komentar sa reda LoadModule rewrite_module modules/mod_rewrite.so (maknite '#' znak na početku reda)<br>\n3. Provjerite i da li su ClearModuleList AddModule mod_rewrite.c također bez znaka #.\n</pre>",
"linux": "br><br>1.Omogućite \"mod_rewrite\". Da biste to napravili, pokrenite ovaj kod u terminalu:<pre>{APACHE1}</pre><br>2. Omogućite .htaccess podršku. Dodajte/izmijenite postavke servera (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):<pre>{APACHE2}</pre>\n Nakon toga pokrenite ovaj kod na serveru:<pre>{APACHE3}</pre><br>3. Pokušajte dodati RewriteBase putanju, otvorite datoteku {API_PATH}.htaccess i izmijenite slijedeći red:<pre>{APACHE4}</pre>NA<pre>{APACHE5}</pre><br> Za više informacija posjetite <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\">Apache server konfiguraciju za EspoCRM</a>.<br><br>"
"windows": "<br> <pre>1. Pronađite httpd.conf datoteku (uobičajeno je u direktoriju conf, config ili nešto slično)<br>\n2. Unutar httpd.conf datoteke maknite komentar sa reda <code>{WINDOWS_APACHE1}</code> (maknite '#' znak na početku reda)<br>\n3. Provjerite i da li su ClearModuleList AddModule mod_rewrite.c također bez znaka #.\n</pre>",
"linux": "<br>1.Omogućite \"mod_rewrite\". Da biste to napravili, pokrenite ovaj kod u terminalu:<pre>{APACHE1}</pre><br>2. Omogućite .htaccess podršku. Dodajte/izmijenite postavke servera (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>):<pre>{APACHE2}</pre>\n Nakon toga pokrenite ovaj kod na serveru:<pre>{APACHE3}</pre><br>3. Pokušajte dodati RewriteBase putanju, otvorite datoteku {API_PATH}.htaccess i izmijenite slijedeći red:<pre>{APACHE4}</pre>NA<pre>{APACHE5}</pre><br> Za više informacija posjetite <a href=\"{APACHE_LINK}\" target=\"_blank\">Apache server konfiguraciju za EspoCRM</a>.<br><br>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Za više informacija posjetite <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server konfiguracija za EspoCRM</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Za više informacija posjetite <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server konfiguracija za EspoCRM</a>.<br><br>"
"linux": "<br> Dodajte ovaj kod u svoju Nginx config datoteku <code>{NGINX_PATH}</code> unutar \"server\" sekcije:\n<pre>\n{NGINX}\n</pre> <br> Za više informacija posjetite <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server konfiguracija za EspoCRM</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "API Greška: EspoCRM API nije dostupan.<br> Mogući problem: \"mod_rewrite\" isključen na Apache serveru, isključena .htaccess podrška ili RewriteBase problem.<br>Učinite samo neophodne izmjene. Poslije svake provjerite da li je problem riješen.",
"nginx": "API greška: EspoCRM API je dostupan <br> Dodajte ovaj kod u svoju Nginx config datoteku (/etc/nginx/sites-available/YOUR_SITE) unutar \"server\" sekcije:",
"microsoft-iis": "API greška: EspoCRM API je dostupan <br> Mogući problem: onemogućen \"URL Rewrite \". Molimo provjerite i omogućite \"URL Rewrite \" modul u IIS serveru",
"default": "API greška: EspoCRM API je dostupan <br> Mogući problem: onemogućen Rewrite Module. Molimo provjerite i omogućiti Rewrite Module u vašem serveru (npr mod_rewrite u Apachu) i .htaccess podršku."
"apache": "<h3>API Greška: EspoCRM API nije dostupan.</h3><br> Učinite samo neophodne izmjene. Poslije svake provjerite da li je problem riješen.",
"nginx": "<h3>API greška: EspoCRM API je dostupan</h3>",
"microsoft-iis": "<h3>API greška: EspoCRM API je dostupan</h3><br> Mogući problem: onemogućen \"URL Rewrite \". Molimo provjerite i omogućite \"URL Rewrite \" modul u IIS serveru",
"default": "<h3>API greška: EspoCRM API je dostupan</h3> <br> Mogući problem: onemogućen Rewrite Module. Molimo provjerite i omogućiti Rewrite Module u vašem serveru (npr mod_rewrite u Apachu) i .htaccess podršku."
}
},
"systemRequirements": {
@@ -118,4 +117,4 @@
"dbname": "Ime baze",
"user": "Korisničko ime"
}
}
}

View File

@@ -98,18 +98,17 @@
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Keresse meg a httpd.conf fájlt (általában megtalálja azt egy mappában, amit conf, config vagy valami hasonló sorok mentén talál) <br>\n2. A httpd.conf fájl belsejében olvassa el a LoadModule rewrite_module modulok / mod_rewrite.so sorát (távolítsa el a font \"#\" jelet a sor elejéről) <br>\n3. Keresse meg a ClearModuleList vonalat sem, majd keresse meg és győződjön meg róla, hogy a mod_rewrite.c AddModule vonalat nem kommentálta.\n</pre>",
"linux": "Matton 1. Engedélyezze a \"mod_rewrite\" beállítást. Ehhez futtassa ezeket a parancsokat egy terminálban: <pre>{APACHE1}</pre> <br> 2. Engedélyezze a .htaccess támogatást. A kiszolgáló konfigurációs beállításainak hozzáadása / szerkesztése (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf): <pre>{APACHE2}</pre>\nEzután futtassa ezt a parancsot egy terminálban: <pre>{APACHE3}</pre> <br> 3. Próbálja meg hozzáadni a RewriteBase elérési utat, nyisson meg egy {API_PATH} .htaccess fájlt, és cserélje ki a következő sort: <pre>{APACHE4}</pre> A <pre>{APACHE5}</pre> az <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\"> Apache kiszolgáló konfigurációja az EspoCRM-hez </a>. <br> <br>"
"linux": "<br><br>Matton 1. Engedélyezze a \"mod_rewrite\" beállítást. Ehhez futtassa ezeket a parancsokat egy terminálban: <pre>{APACHE1}</pre> <br> 2. Engedélyezze a .htaccess támogatást. A kiszolgáló konfigurációs beállításainak hozzáadása / szerkesztése (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>): <pre>{APACHE2}</pre>\nEzután futtassa ezt a parancsot egy terminálban: <pre>{APACHE3}</pre> <br> 3. Próbálja meg hozzáadni a RewriteBase elérési utat, nyisson meg egy {API_PATH} .htaccess fájlt, és cserélje ki a következő sort: <pre>{APACHE4}</pre> A <pre>{APACHE5}</pre> az <a href=\"{APACHE_LINK}\" target=\"_blank\"> Apache kiszolgáló konfigurációja az EspoCRM-hez </a>. <br> <br>"
},
"nginx": {
"linux": "<pre>\n{Nginx}\n</pre> <br> További információkért látogasson el a <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\"> Útmutató a Nginx kiszolgáló konfigurációjához EspoCRM </a>.",
"windows": "<pre>\n{Nginx}\n</pre> <br> További információkért látogasson el a <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\"> Útmutató a Nginx kiszolgáló konfigurációjához EspoCRM </a>."
"linux": "<br> Adja hozzá ezt a kódot a \"server\" szakaszban a Nginx kiszolgáló blokk konfigurációs fájljához <code>{NGINX_PATH}</code>:<br><pre>\n{NGINX}\n</pre> <br> További információkért látogasson el a <a href=\"{NGINX_LINK}\" target=\"_blank\"> Útmutató a Nginx kiszolgáló konfigurációjához EspoCRM </a>."
}
},
"modRewriteTitle": {
"apache": "API hiba: Az EspoCRM API nem érhető el. <br> Lehetséges problémák: letiltott \"mod_rewrite\" az Apache szerveren, letiltott .htaccess támogatás vagy RewriteBase kiadás. <br> Csak a szükséges lépéseket tegye meg. Minden lépés után ellenőrizze, hogy a probléma megoldódott-e.",
"nginx": "API hiba: Az EspoCRM API nem érhető el. <br> Adja hozzá ezt a kódot a \"server\" szakaszban a Nginx kiszolgáló blokk konfigurációs fájljához (/etc/nginx/sites-available/YOUR_SITE)",
"microsoft-iis": "API-hiba: az EspoCRM API nem érhető el. <br> Lehetséges probléma: letiltva \"URL Rewrite\". Kérjük, ellenőrizze és engedélyezze az \"URL Rewrite\" modult az IIS kiszolgálón",
"default": "API hiba: Az EspoCRM API nem érhető el. <br> Lehetséges probléma: letiltva újraírható modul. Kérjük, ellenőrizze és engedélyezze a Rewrite Modult a kiszolgálón (például mod_rewrite az Apache-ban) és a .htaccess támogatást."
"apache": "<h3>API hiba: Az EspoCRM API nem érhető el.</h3> <br> Csak a szükséges lépéseket tegye meg. Minden lépés után ellenőrizze, hogy a probléma megoldódott-e.",
"nginx": "<h3>API hiba: Az EspoCRM API nem érhető el.</h3>",
"microsoft-iis": "<h3>API-hiba: az EspoCRM API nem érhető el.</h3> <br> Lehetséges probléma: letiltva \"URL Rewrite\". Kérjük, ellenőrizze és engedélyezze az \"URL Rewrite\" modult az IIS kiszolgálón",
"default": "<h3>API hiba: Az EspoCRM API nem érhető el.<h3> <br> Lehetséges probléma: letiltva újraírható modul. Kérjük, ellenőrizze és engedélyezze a Rewrite Modult a kiszolgálón (például mod_rewrite az Apache-ban) és a .htaccess támogatást."
}
},
"systemRequirements": {
@@ -118,4 +117,4 @@
"dbname": "Adatbázis név",
"user": "Felhasználónév"
}
}
}

View File

@@ -98,14 +98,14 @@
"modRewriteInstruction": {
"apache": {
"windows": "Situs <pre> 1. Cari file httpd.conf (biasanya Anda akan menemukannya dalam folder bernama conf, konfigurasi atau sesuatu sepanjang garis) Situs\n2. Di dalam file httpd.conf tanda komentar pada LoadModule baris modul rewrite_module / mod_rewrite.so (menghapus pound '#' tanda dari di garis depan) <br>\n3. Juga menemukan garis ClearModuleList adalah tanda komentar kemudian cari dan pastikan bahwa garis AddModule mod_rewrite.c tidak komentar.\n</ Pre>",
"linux": "<br><br>1. Aktifkan \"mod_rewrite\". Untuk melakukannya menjalankan perintah-perintah dalam Terminal: <pre>{APACHE1}</pre> 2. Mengaktifkan dukungan .htaccess. Tambahkan/edit pengaturan konfigurasi Server (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf): <pre>{APACHE2}</pre>\n Setelah menjalankan perintah ini di Terminal: <pre>{APACHE3}</pre> 3. Cobalah untuk menambahkan jalur RewriteBase, membuka file {API_PATH} .htaccess dan mengganti baris berikut: <pre>{APACHE4}</pre> Untuk <pre>{APACHE5}</pre><br> For more information please visit the guideline <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\">Apache server configuration for EspoCRM</a>.<br><br>"
}
"linux": "<br><br>1. Aktifkan \"mod_rewrite\". Untuk melakukannya menjalankan perintah-perintah dalam Terminal: <pre>{APACHE1}</pre> 2. Mengaktifkan dukungan .htaccess. Tambahkan/edit pengaturan konfigurasi Server (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>): <pre>{APACHE2}</pre>\n Setelah menjalankan perintah ini di Terminal: <pre>{APACHE3}</pre> 3. Cobalah untuk menambahkan jalur RewriteBase, membuka file {API_PATH} .htaccess dan mengganti baris berikut: <pre>{APACHE4}</pre> Untuk <pre>{APACHE5}</pre><br> For more information please visit the guideline <a href=\"{APACHE_LINK}\" target=\"_blank\">Apache server configuration for EspoCRM</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "API Kesalahan: EspoCRM API tersedia <br> Kemungkinan masalah: cacat \"mod_rewrite\" di server Apache, dukungan htaccess cacat atau masalah RewriteBase Situs Apakah langkah hanya diperlukan.. Setelah setiap cek langkah jika masalah tersebut dipecahkan.",
"nginx": "API Kesalahan: EspoCRM API tersedia Situs Tambahkan kode ini ke Anda Nginx host Config (dalam \"server\" block):",
"microsoft-iis": "API Kesalahan:. EspoCRM API tersedia <br> masalah yang mungkin terjadi: cacat \"URL Rewrite\". Silakan periksa dan mengaktifkan \"URL Rewrite\" Modul di IIS server",
"default": "API Kesalahan:. EspoCRM API tersedia <br> masalah Kemungkinan: cacat Modul Rewrite. Silakan periksa dan memungkinkan Modul Rewrite di server Anda (misalnya mod_rewrite di Apache) dan dukungan .htaccess."
"apache": "<h3>API Kesalahan: EspoCRM API tersedia</h3><br> Kemungkinan masalah: cacat \"mod_rewrite\" di server Apache, dukungan htaccess cacat atau masalah RewriteBase Situs Apakah langkah hanya diperlukan.. Setelah setiap cek langkah jika masalah tersebut dipecahkan.",
"nginx": "<h3>API Kesalahan: EspoCRM API tersedia</h3>",
"microsoft-iis": "<h3>API Kesalahan:. EspoCRM API tersedia</h3> <br> masalah yang mungkin terjadi: cacat \"URL Rewrite\". Silakan periksa dan mengaktifkan \"URL Rewrite\" Modul di IIS server",
"default": "<h3>API Kesalahan: EspoCRM API tersedia</h3><br> masalah Kemungkinan: cacat Modul Rewrite. Silakan periksa dan memungkinkan Modul Rewrite di server Anda (misalnya mod_rewrite di Apache) dan dukungan .htaccess."
}
},
"systemRequirements": {
@@ -114,4 +114,4 @@
"dbname": "Nama database",
"user": "Nama pengguna"
}
}
}

View File

@@ -110,18 +110,17 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1.Trovare il file httpd.conf (di solito si trova in una cartella denominata conf , configurazione o qualcosa del genere)<br>\n2. All'interno del file httpd.conf decommentare la riga LoadModule rewrite_module modules/mod_rewrite.so (rimuovere il simbolo '#' all'inizio della riga)<br>\n3. Controllare che la linea ClearModuleList è commentata, quindi trovare e fare in modo che la linea AddModule mod_rewrite.c non sia commentata.\n</pre>"
"windows": "<br> <pre>1.Trovare il file httpd.conf (di solito si trova in una cartella denominata conf , configurazione o qualcosa del genere)<br>\n2. All'interno del file httpd.conf decommentare la riga <code>{WINDOWS_APACHE1}</code> (rimuovere il simbolo '#' all'inizio della riga)<br>\n3. Controllare che la linea ClearModuleList è commentata, quindi trovare e fare in modo che la linea AddModule mod_rewrite.c non sia commentata.\n</pre>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Per maggiori informazioni, visitare la Guida in Linea <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Per maggiori informazioni, visitare la Guida in Linea <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
"linux": "<br> Aggiungere questo codice al file di configurazione del server blocco Nginx <code>{NGINX_PATH}</code> nella sezione \"server\":\n<pre>\n{NGINX}\n</pre> <br> Per maggiori informazioni, visitare la Guida in Linea <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "API Error: EspoCRM API non è disponibile.<br> Possibili problemi : disattivato \"mod_rewrite\" nel server Apache, disabilitato il supporto a .htaccess oppure un problema di RewriteBase.<br>Procedi un passo all volta. Dopo ogni passo controlla se il problema è risolto .",
"nginx": "API Error: EspoCRM API non è disponibile.<br> Aggiungere questo codice al file di configurazione del server blocco Nginx (/etc/nginx/sites-available/YOUR_SITE) nella sezione \"server\" :",
"microsoft-iis": "API Error: EspoCRM API non è disponibile.<br> Possibili problemi : disattivato \"URL Rewrite\". Si prega di controllare e attivare il Modulo nel IIS server \"URL Rewrite\" ",
"default": "API Error: EspoCRM API non è disponibile.<br> Possibili problemi : disattivato il Modulo Rewrite. Si prega di controllare e attivare il Rewrite Module sul vostro server (e.g. mod_rewrite in Apache) e il supporto .htaccess."
"apache": "<h3>API Error: EspoCRM API non è disponibile.</h3><br>Procedi un passo all volta. Dopo ogni passo controlla se il problema è risolto .",
"nginx": "<h3>API Error: EspoCRM API non è disponibile.</h3>",
"microsoft-iis": "<h3>API Error: EspoCRM API non è disponibile.</h3><br> Possibili problemi : disattivato \"URL Rewrite\". Si prega di controllare e attivare il Modulo nel IIS server \"URL Rewrite\" ",
"default": "<h3>API Error: EspoCRM API non è disponibile.<h3><br> Possibili problemi : disattivato il Modulo Rewrite. Si prega di controllare e attivare il Rewrite Module sul vostro server (e.g. mod_rewrite in Apache) e il supporto .htaccess."
}
},
"systemRequirements": {
@@ -133,4 +132,4 @@
"writable": "Scrivibile",
"readable": "Leggibile"
}
}
}

View File

@@ -107,18 +107,17 @@
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Suraskite httpd.conf failą (paprastai jį rasite aplanke, pavadintame conf, config arba kažką panašaus į šias eilutes) <br>\n2. Failo httpd.conf viduje atkomentuokite eilutę LoadModule rewrite_module modules / mod_rewrite.so (priešais liniją nuimkite ženkliuką \"#\") <br>\n3. Taip pat raskite eilutę ClearModuleList yra nekomentuotų, tada suraskite ir įsitikinkite, kad eilutė AddModule mod_rewrite.c nėra komentuojama.\n</pre>",
"linux": "<br> <br> 1. Įgalinti \\\"mod_rewrite\\\". Norėdami tai padaryti, paleiskite tas komandas terminale: <pre>{APACHE1} </pre> <br> 2. Įgalinti .htaccess palaikymą. Pridėti / redaguoti serverio konfigūracijos nustatymus (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf): <pre>{APACHE2}</pre> \\nVėliau paleiskite šią komandą į terminalą: <pre>{APACHE3}</pre> <br> 3. Pabandykite įtraukti RewriteBase kelią, atidarykite failą {API_PATH} .htaccess ir pakeiskite šią eilutę: <pre>{APACHE4}</pre> to <pre>{APACHE5}</pre> <br> Daugiau informacijos rasite apsilankę <a href=\\\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\\\" target=\\\"_blank\\\"> EspoCRM konfigūracija \\\"Apache\\\" </a>. <br> <br>"
"linux": "<br> 1. Įgalinti \"mod_rewrite\". Norėdami tai padaryti, paleiskite tas komandas terminale: <pre>{APACHE1} </pre> <br> 2. Įgalinti .htaccess palaikymą. Pridėti / redaguoti serverio konfigūracijos nustatymus (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>): <pre>{APACHE2}</pre> \nVėliau paleiskite šią komandą į terminalą: <pre>{APACHE3}</pre> <br> 3. Pabandykite įtraukti RewriteBase kelią, atidarykite failą {API_PATH} .htaccess ir pakeiskite šią eilutę: <pre>{APACHE4}</pre> to <pre>{APACHE5}</pre> <br> Daugiau informacijos rasite apsilankę <a href=\"{APACHE_LINK}\" target=\"_blank\"> EspoCRM konfigūracija \"Apache\" </a>. <br> <br>"
},
"nginx": {
"linux": "<br>\\n<pre>\\n{NGINX}\\n</pre> <br> Daugiau informacijos rasite <a href=\\\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\\\" target=\\\"_blank\\\"> Nginx serverio konfigūracijoje EspoCRM </a>. <br> <br>",
"windows": "<br>\\n<pre>\\n{NGINX}\\n</pre> <br> Daugiau informacijos rasite <a href=\\\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\\\" target=\\\"_blank\\\"> Nginx serverio konfigūracijoje EspoCRM </a>. <br> <br>"
"linux": "<br> Pridėti šį kodą į jūsų Nginx serverio blokų konfigūracijos failą <code>{NGINX_PATH}</code> \"serverio\" skyriuje:<pre>\n{NGINX}\n</pre> <br> Daugiau informacijos rasite <a href=\"{NGINX_LINK}\" target=\"_blank\"> Nginx serverio konfigūracijoje EspoCRM </a>. <br> <br>"
}
},
"modRewriteTitle": {
"apache": "API Klaida: EspoCRM API nepasiekiamas. <br> Galimos problemos: išjungta \"mod_rewrite\" \"Apache\" serveryje, išjungtas .htaccess palaikymas arba \"RewriteBase\" problema. <br> Atlikite tik būtinus veiksmus. Po kiekvieno žingsnio patikrinkite, ar problema išspręsta.",
"nginx": "API Klaida: EspoCRM API nepasiekiamas. <br> Pridėti šį kodą į jūsų Nginx serverio blokų konfigūracijos failą (/ etc / nginx / sites-available / YOUR_SITE) \"serverio\" skyriuje:",
"microsoft-iis": "API Klaida: EspoCRM API nepasiekiamas. <br> Galima problema: išjungta \"URL Rewrite\". Patikrinkite ir įjunkite \"URL Rewrite\" modulį IIS serveryje",
"default": "API Klaida: EspoCRM API nepasiekiamas. <br> Galima problema: neįgalintas Rewrite Module. Patikrinkite ir įjunkite \"Rewrite Module\" savo serveryje (pvz., Mod_rewrite \"Apache\") ir .htaccess palaikymą."
"apache": "<h3>API Klaida: EspoCRM API nepasiekiamas.</h3> <br> Atlikite tik būtinus veiksmus. Po kiekvieno žingsnio patikrinkite, ar problema išspręsta.",
"nginx": "<h3>API Klaida: EspoCRM API nepasiekiamas.</h3>",
"microsoft-iis": "<h3>API Klaida: EspoCRM API nepasiekiamas.</h3> Galima problema: išjungta \"URL Rewrite\". Patikrinkite ir įjunkite \"URL Rewrite\" modulį IIS serveryje",
"default": "<h3>API Klaida: EspoCRM API nepasiekiamas.</h3> Galima problema: neįgalintas Rewrite Module. Patikrinkite ir įjunkite \"Rewrite Module\" savo serveryje (pvz., Mod_rewrite \"Apache\") ir .htaccess palaikymą."
}
},
"systemRequirements": {
@@ -130,4 +129,4 @@
"writable": "Įrašymo",
"readable": "Skaitymo"
}
}
}

View File

@@ -110,18 +110,17 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Atrodiet failu \"httpd.conf\" (parasti to var atrast mapē ar nosaukumu \"conf\", \"config\" u. tml.)<br>\n2. Failā \"httpd.conf\" atkomentējiet rindu \"LoadModule rewrite_module modules/mod_rewrite.so\" (noņemiet rindas sākumā esošās restītes \"#\" )<br>\n3. Tāpat pārliecinieties, ka rinda \"ClearModuleList\" ir atkomentēta un rinda \"AddModule mod_rewrite.c\" nav atzīmēta ar zvaigznīti.\n</pre>"
"windows": "<br> <pre>1. Atrodiet failu \"httpd.conf\" (parasti to var atrast mapē ar nosaukumu \"conf\", \"config\" u. tml.)<br>\n2. Failā \"httpd.conf\" atkomentējiet rindu <code>{WINDOWS_APACHE1}</code> (noņemiet rindas sākumā esošās restītes \"#\" )<br>\n3. Tāpat pārliecinieties, ka rinda \"ClearModuleList\" ir atkomentēta un rinda \"AddModule mod_rewrite.c\" nav atzīmēta ar zvaigznīti.\n</pre>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Vairāk informācijas atradīsiet vadlīnijās <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Vairāk informācijas atradīsiet vadlīnijās <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
"linux": "<br>Pievienojiet šo kodu jūsu \"Nginx\" servera bloku konfigurācijas failam <code>{NGINX_PATH}</code> \"servera\" sadaļā:\n<pre>\n{NGINX}\n</pre> <br> Vairāk informācijas atradīsiet vadlīnijās <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "API kļūda: \"EspoCRM\" API nav pieejams.<br> Iespējamās problēmas: \"Apache\" serverī nav atļauts \"mod_rewrite\", nav atļauts \".htaccess\" atbalsts vai bāzes pārrakstīšanas problēma.<br>Veiciet tikai nepieciešamos soļus. Pēc katra soļa pārbaudiet, vai problēma ir atrisināta.",
"nginx": "API kļūda: \"EspoCRM\" API nav pieejams.<br> Pievienojiet šo kodu jūsu \"Nginx\" servera bloku konfigurācijas failam (/etc/nginx/sites-available/YOUR_SITE) \"servera\" sadaļā:",
"microsoft-iis": "API kļūda: \"EspoCRM\" API nav pieejams.<br> Iespējamā problēma: nav atļauts \"URL Rewrite\". Pārbaudiet un atļaujiet \"URL Rewrite\" moduli IIS serverī",
"default": "API kļūda: EspoCRM API nav pieejams.<br> Iespējamā problēma: nav atļauts \"Rewrite\" modulis. Pārbaudiet un atļaujiet \"Rewrite\" moduli serverī (Piem., mod_rewrite \"Apache\" serverī) un \".htaccess\" atbalstu."
"apache": "<h3>API kļūda: EspoCRM API nav pieejams.</h3><br>Veiciet tikai nepieciešamos soļus. Pēc katra soļa pārbaudiet, vai problēma ir atrisināta.",
"nginx": "<h3>API kļūda: \"EspoCRM\" API nav pieejams.</h3>",
"microsoft-iis": "<h3>API kļūda: \"EspoCRM\" API nav pieejams.</h3>Iespējamā problēma: nav atļauts \"URL Rewrite\". Pārbaudiet un atļaujiet \"URL Rewrite\" moduli IIS serverī",
"default": "<h3>API kļūda: EspoCRM API nav pieejams.</h3> Iespējamā problēma: nav atļauts \"Rewrite\" modulis. Pārbaudiet un atļaujiet \"Rewrite\" moduli serverī (Piem., mod_rewrite \"Apache\" serverī) un \".htaccess\" atbalstu."
}
},
"systemRequirements": {
@@ -133,4 +132,4 @@
"writable": "Rakstiski",
"readable": "Lasāmi"
}
}
}

View File

@@ -95,19 +95,18 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Finn httpd.conf file (du finner den vanligvis i en mappe kalt conf, config eller lignende)<br>\n2. I httpd.conf-filen må du avkommentere linjen LoadModule rewrite_module modules/mod_rewrite.so (ved å fjerne '#'-symbolet i starten av linjen)<br>\n3. Sjekk også at linjen ClearModuleList og AddModule mod_rewrite.c er avkommentert.\n</pre> ",
"linux": "<br><br>1. Aktiver \"mod_rewrite\". For å gjøre det, kjør disse kommandoene:<pre>{APACHE1}</pre><br>2. Aktiver støtte for .htaccess. Legg til / rediger tjenerens konfigurasjon (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):<pre>{APACHE2}</pre>\n Kjør følgende kommando etterpå:<pre>{APACHE3}</pre><br>3. Forsøk å legg til RewriteBase-banen, åpne filen {API_PATH}.htaccess og erstatt følgende linje:<pre>{APACHE4}</pre>til<pre>{APACHE5}</pre><br> For mer informasjon kan du gå til veiledningen <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\">\"Konfigurasjon av Apache-tjener for EspoCRM</a>.<br><br>"
"windows": "<br> <pre>1. Finn httpd.conf file (du finner den vanligvis i en mappe kalt conf, config eller lignende)<br>\n2. I httpd.conf-filen må du avkommentere linjen <code>{WINDOWS_APACHE1}</code> (ved å fjerne '#'-symbolet i starten av linjen)<br>\n3. Sjekk også at linjen ClearModuleList og AddModule mod_rewrite.c er avkommentert.\n</pre> ",
"linux": "<br><br>1. Aktiver \"mod_rewrite\". For å gjøre det, kjør disse kommandoene:<pre>{APACHE1}</pre><br>2. Aktiver støtte for .htaccess. Legg til / rediger tjenerens konfigurasjon (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>):<pre>{APACHE2}</pre>\n Kjør følgende kommando etterpå:<pre>{APACHE3}</pre><br>3. Forsøk å legg til RewriteBase-banen, åpne filen {API_PATH}.htaccess og erstatt følgende linje:<pre>{APACHE4}</pre>til<pre>{APACHE5}</pre><br> For mer informasjon kan du gå til veiledningen <a href=\"{APACHE_LINK}\" target=\"_blank\">Konfigurasjon av Apache-tjener for EspoCRM</a>.<br><br>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> For mer informasjon kan du besøke <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">\"konfigurasjon av Nginx-tjener for EspoCRM</a>.<br><br> ",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> For mer informasjon kan du besøke <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">\"konfigurasjon av Nginx-tjener for EspoCRM</a>.<br><br> "
"linux": "<br> Legg følgende kode inn i nginx-tjenerens block-konfigureringsfilen <code>{NGINX_PATH}</code>, i \"server\"-seksjonen:<pre>{NGINX}</pre> <br> For mer informasjon kan du besøke <a href=\"{NGINX_LINK}\" target=\"_blank\">\"konfigurasjon av Nginx-tjener for EspoCRM</a>.<br><br> "
}
},
"modRewriteTitle": {
"apache": "API-feil: EspoCRMs API er utilgjengelig.<br> Mulige problemer: \"mod_rewrite\" er ikke aktivert på Apache-tjeneren, støtte for .htaccess er ikke aktivert eller problemer med RewriteBase.<br>Begynn øverst på listen og sjekk om problemet er løst før du prøver neste løsning.",
"nginx": "API-feil: EspoCRMs API er utilgjengelig.<br> Legg følgende kode inn i nginx-tjenerens block-konfigureringsfilen (/etc/nginx/sites-available/YOUR_SITE), i \"server\"-seksjonen:",
"microsoft-iis": "API-feil: EspoCRMs API er utilgjengelig.<br> Mulig problem: \"URL Rewrite\" er kanskje ikke aktivert, vennligst sjekk og aktiver \"URL Rewrite\"-modulen på IIS-tjeneren.",
"default": "API-feil: EspoCRMs API er utilgjengelig.<br> Mulig problem: Rewrite modulen er kanskje ikke aktivert. Sjekk serveren din for å finne det ut (f.eks mod_rewrite på Apache) og at .htaccess støttes."
"apache": "<h3>API-feil: EspoCRMs API er utilgjengelig.</h3>Begynn øverst på listen og sjekk om problemet er løst før du prøver neste løsning.",
"nginx": "<h3>API-feil: EspoCRMs API er utilgjengelig.</h3>",
"microsoft-iis": "<h3>API-feil: EspoCRMs API er utilgjengelig.</h3><br> Mulig problem: \"URL Rewrite\" er kanskje ikke aktivert, vennligst sjekk og aktiver \"URL Rewrite\"-modulen på IIS-tjeneren.",
"default": "<h3>API-feil: EspoCRMs API er utilgjengelig.</h3><br> Mulig problem: Rewrite modulen er kanskje ikke aktivert. Sjekk serveren din for å finne det ut (f.eks mod_rewrite på Apache) og at .htaccess støttes."
}
},
"systemRequirements": {
@@ -116,4 +115,4 @@
"dbname": "Databasenavn",
"user": "Brukernavn"
}
}
}

View File

@@ -105,15 +105,14 @@
},
"options": {
"modRewriteTitle": {
"apache": "API-fout: EspoCRM API is niet beschikbaar. <br> Mogelijke problemen: uitgeschakeld \"mod_rewrite\" in Apache-server, uitgeschakelde .htaccess-ondersteuning of RewriteBase-probleem. <br> Voer alleen noodzakelijke stappen uit. Controleer na elke stap of het probleem is opgelost.",
"nginx": "API-fout: EspoCRM API is niet beschikbaar. <br> Voeg deze code toe aan uw Nginx-serverblokconfiguratiebestand (/ etc / nginx / sites-available / YOUR_SITE) in de sectie \"server\":",
"microsoft-iis": "API-fout: EspoCRM API is niet beschikbaar. <br> Mogelijk probleem: uitgeschakeld \"URL Rewrite\". Controleer en schakel de module \"URL Rewrite\" in IIS-server in",
"default": "API-fout: EspoCRM API is niet beschikbaar. <br> Mogelijk probleem: uitgeschakeld Herschrijfmodule. Controleer en schakel de Rewrite-module in uw server (bijvoorbeeld mod_rewrite in Apache) en .htaccess-ondersteuning in."
"apache": "<h3>API-fout: EspoCRM API is niet beschikbaar.</h3><br> Voer alleen noodzakelijke stappen uit. Controleer na elke stap of het probleem is opgelost.",
"nginx": "<h3>API-fout: EspoCRM API is niet beschikbaar.</h3>",
"microsoft-iis": "<h3>API-fout: EspoCRM API is niet beschikbaar.</h3> Mogelijk probleem: uitgeschakeld \"URL Rewrite\". Controleer en schakel de module \"URL Rewrite\" in IIS-server in",
"default": "<h3>API-fout: EspoCRM API is niet beschikbaar.</h3> <br> Mogelijk probleem: uitgeschakeld Herschrijfmodule. Controleer en schakel de Rewrite-module in uw server (bijvoorbeeld mod_rewrite in Apache) en .htaccess-ondersteuning in."
},
"modRewriteInstruction": {
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Ga voor meer informatie naar de handleiding <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\"> Nginx-serverconfiguratie voor EspoCRM </a>. <br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Ga voor meer informatie naar de handleiding <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\"> Nginx-serverconfiguratie voor EspoCRM </a>. <br>"
"linux": "<br> Voeg deze code toe aan uw Nginx-serverblokconfiguratiebestand <code>{NGINX_PATH}</code> in de sectie \"server\":\n<pre>\n{NGINX}\n</pre> <br> Ga voor meer informatie naar de handleiding <a href=\"{NGINX_LINK}\" target=\"_blank\"> Nginx-serverconfiguratie voor EspoCRM </a>. <br>"
}
}
},
@@ -127,4 +126,4 @@
"readable": "Leesbaar",
"requiredMariadbVersion": "MariaDB-versie"
}
}
}

View File

@@ -105,18 +105,17 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Найдите файл httpd.conf (как правило, вы можете найти его в папке conf, config или в папке с похожим названием)<br>\n2. Внутри файла httpd.conf раскомментируйте строку LoadModule rewrite_module modules/mod_rewrite.so (удалите знак '#' в начале строки)<br>\n3. Также убедитесь что раскомментирована строка ClearModuleList и что строка AddModule mod_rewrite.c не закомментирована.\n</pre>"
"windows": "<br> <pre>1. Найдите файл httpd.conf (как правило, вы можете найти его в папке conf, config или в папке с похожим названием)<br>\n2. Внутри файла httpd.conf раскомментируйте строку <code>{WINDOWS_APACHE1}</code> (удалите знак '#' в начале строки)<br>\n3. Также убедитесь что раскомментирована строка ClearModuleList и что строка AddModule mod_rewrite.c не закомментирована.\n</pre>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Для получения более подробной информации, пожалуйста, перейдите <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Для получения более подробной информации, пожалуйста, перейдите <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
"linux": "<br> Добавьте этот код в конфигурацию Nginx <code>{NGINX_PATH}</code> в блок \"server\":<pre>{NGINX}</pre> <br> Для получения более подробной информации, пожалуйста, перейдите <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "Ошибка API: EspoCRM API недоступен.<br> Возможные проблемы: не подключен модуль \"mod_rewrite\" к Apache серверу, отключена поддержка .htaccess или проблема с RewriteBase.<br>Совершайте только необходимые шаги. После каждого шага проверяйте решена ли проблема.",
"nginx": "Ошибка API: EspoCRM API недоступен.<br> Добавьте этот код в конфигурацию Nginx (/etc/nginx/sites-available/YOUR_SITE) в блок \"server\":",
"microsoft-iis": "Ошибка API: EspoCRM API недоступен.<br> Возможная проблема: не подключен модуль \"URL Rewrite\". Пожалуйста, проверьте и подключите модуль \"URL Rewrite\" к IIS серверу.",
"default": "Ошибка API: EspoCRM API недоступен.<br> Возможная проблема: не подключен модуль Rewrite. Пожалуйста, проверьте и подключите к серверу модуль Rewrite (например mod_rewrite в Apache) и поддержку .htaccess."
"apache": "<h3>Ошибка API: EspoCRM API недоступен.</h3><br>Совершайте только необходимые шаги. После каждого шага проверяйте решена ли проблема.",
"nginx": "<h3>Ошибка API: EspoCRM API недоступен.</h3>",
"microsoft-iis": "<h3>Ошибка API: EspoCRM API недоступен.</h3><br> Возможная проблема: не подключен модуль \"URL Rewrite\". Пожалуйста, проверьте и подключите модуль \"URL Rewrite\" к IIS серверу.",
"default": "<h3>Ошибка API: EspoCRM API недоступен.</h3><br> Возможная проблема: не подключен модуль Rewrite. Пожалуйста, проверьте и подключите к серверу модуль Rewrite (например mod_rewrite в Apache) и поддержку .htaccess."
}
},
"systemRequirements": {
@@ -126,4 +125,4 @@
"dbname": "Имя БД",
"user": "Имя пользователя"
}
}
}

View File

@@ -93,19 +93,18 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Nájdite súbor httpd.conf (obyčajne sa nachádza v priečinku s názvom conf, config alebo niečo okolo tých riadkov)<br>\n2. Vo vnútri httpd.conf odkomentujte riadok LoadModule rewrite_module modules/mod_rewrite.so (odstránte '#' na začiatku riadku)<br>\n3. Tiež skontrolujte či riadok ClearModuleList je odkomentovany a nájdite a uistite sa že riadok AddModule mod_rewrite.c nie je zakomentovaný.\n</pre>",
"linux": "<br><br>1. Povoliť \"mod_rewrite\". Spustite v termináli príkaz:<pre>{APACHE1}</pre><br>2. Povoliť podporu .htaccess. Pridajte/zmeňte nastavenia v konfigurácii servera (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):<pre>{APACHE2}</pre>\n Potom spustite tento príkaz v termináli:<pre>{APACHE3}</pre><br>3. Skúste pridať RewriteBase cestu, otvorte súbor {API_PATH}.htaccess a vymeňte riadok:<pre>{APACHE4}</pre>za<pre>{APACHE5}</pre><br> Pre viac informácií navštívte <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\">Konfigurácia Apache server pre EspoCRM</a>.<br><br>"
"windows": "<br> <pre>1. Nájdite súbor httpd.conf (obyčajne sa nachádza v priečinku s názvom conf, config alebo niečo okolo tých riadkov)<br>\n2. Vo vnútri httpd.conf odkomentujte riadok <code>{WINDOWS_APACHE1}</code> (odstránte '#' na začiatku riadku)<br>\n3. Tiež skontrolujte či riadok ClearModuleList je odkomentovany a nájdite a uistite sa že riadok AddModule mod_rewrite.c nie je zakomentovaný.\n</pre>",
"linux": "<br><br>1. Povoliť \"mod_rewrite\". Spustite v termináli príkaz:<pre>{APACHE1}</pre><br>2. Povoliť podporu .htaccess. Pridajte/zmeňte nastavenia v konfigurácii servera (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>):<pre>{APACHE2}</pre>\n Potom spustite tento príkaz v termináli:<pre>{APACHE3}</pre><br>3. Skúste pridať RewriteBase cestu, otvorte súbor {API_PATH}.htaccess a vymeňte riadok:<pre>{APACHE4}</pre>za<pre>{APACHE5}</pre><br> Pre viac informácií navštívte <a href=\"{APACHE_LINK}\" target=\"_blank\">Konfigurácia Apache server pre EspoCRM</a>.<br><br>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Pre podrobnejšie informácie prosím navštívte stránku s návodmi <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Konfigurácia Nginx servera pre EspoCRM</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Pre podrobnejšie informácie prosím navštívte stránku s návodmi <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Konfigurácia Nginx servera pre EspoCRM</a>.<br><br>"
"linux": "<br> Pridajte tento kód do konfiguračného súboru Vášho serveru Nginx <code>{NGINX_PATH}</code> do vnútra sekcie \"server\":<pre>{NGINX}</pre> <br> Pre podrobnejšie informácie prosím navštívte stránku s návodmi <a href=\"{NGINX_LINK}\" target=\"_blank\">Konfigurácia Nginx servera pre EspoCRM</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "chyba API: EspoCRM API je nedostupné.<br> Možné problémy: zakázaný \"mod_rewrite\" v Apache serveri, zakázaná podpora .htaccess alebo záležitosť RewriteBase.<br>Urobte iba nevyhnutné kroky. Po každom kroku skontrolujte, či je problém vyriešený.",
"nginx": "Chyba API: EspoCRM API je nedostupné.<br> Pridajte tento kód do konfiguračného súboru Vášho serveru Nginx (/etc/nginx/sites-available/VAŠA_STRÁNKA) do vnútra sekcie \"server\":",
"microsoft-iis": "Chyba API: EspoCRM API je nedostupné.<br> Možný problém: zakázaný \"URL Rewrite\". Prosím skontrolujte a povoľte modul \"URL Rewrite\" v IIS serveri",
"default": "Chyba API: EspoCRM API je nedostupné.<br> Možný problém: zakázaný Rewrite Module. Prosím skontrolujte a povoľte Rewrite Module vo Vašom serveri (napr. mod_rewrite v Apache) a podporu .htaccess."
"apache": "<h3>Chyba API: EspoCRM API je nedostupné.</h3><br>Urobte iba nevyhnutné kroky. Po každom kroku skontrolujte, či je problém vyriešený.",
"nginx": "<h3>Chyba API: EspoCRM API je nedostupné.</h3>",
"microsoft-iis": "<h3>Chyba API: EspoCRM API je nedostupné.</h3><br> Možný problém: zakázaný \"URL Rewrite\". Prosím skontrolujte a povoľte modul \"URL Rewrite\" v IIS serveri",
"default": "<h3>Chyba API: EspoCRM API je nedostupné.</h3><br> Možný problém: zakázaný Rewrite Module. Prosím skontrolujte a povoľte Rewrite Module vo Vašom serveri (napr. mod_rewrite v Apache) a podporu .htaccess."
}
},
"systemRequirements": {
@@ -115,4 +114,4 @@
"dbname": "Názov databázy",
"user": "Používateľské meno"
}
}
}

View File

@@ -94,19 +94,18 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Pronađite httpd.conf datoteku (uobičajeno je u fascikli conf, config ili nešto slično)<br>\n2. Unutar httpd.conf datoteke skinite komentar sa reda LoadModule rewrite_module modules/mod_rewrite.so (uklonite '#' znak na početku reda)<br>\n3. Proverite i da li su ClearModuleList AddModule mod_rewrite.c takođe bez znaka #.\n</pre>",
"linux": "br><br>1.Omogućite \"mod_rewrite\". Da ovo uradite pokrenite ovaj kod u terminalu:<pre>{APACHE1}</pre><br>2. Omogućite .htaccess podršku. Dodajte/izmenite podešacanja servera (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):<pre>{APACHE2}</pre>\n Nakon toga pokrenite ovaj kod na serveru:<pre>{APACHE3}</pre><br>3. Pokuštajte da dodate RewriteBase putanju, otvorite datoteku {API_PATH}.htaccess i izmenite sledeći red:<pre>{APACHE4}</pre>NA<pre>{APACHE5}</pre><br> Za više informacija posetite <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\">Apache server konfiguraciju za EspoCRM</a>.<br><br>"
"windows": "<br> <pre>1. Pronađite httpd.conf datoteku (uobičajeno je u fascikli conf, config ili nešto slično)<br>\n2. Unutar httpd.conf datoteke skinite komentar sa reda <code>{WINDOWS_APACHE1}</code> (uklonite '#' znak na početku reda)<br>\n3. Proverite i da li su ClearModuleList AddModule mod_rewrite.c takođe bez znaka #.\n</pre>",
"linux": "<br><br>1.Omogućite \"mod_rewrite\". Da ovo uradite pokrenite ovaj kod u terminalu:<pre>{APACHE1}</pre><br>2. Omogućite .htaccess podršku. Dodajte/izmenite podešacanja servera (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>):<pre>{APACHE2}</pre>\n Nakon toga pokrenite ovaj kod na serveru:<pre>{APACHE3}</pre><br>3. Pokuštajte da dodate RewriteBase putanju, otvorite datoteku {API_PATH}.htaccess i izmenite sledeći red:<pre>{APACHE4}</pre>NA<pre>{APACHE5}</pre><br> Za više informacija posetite <a href=\"{APACHE_LINK}\" target=\"_blank\">Apache server konfiguraciju za EspoCRM</a>.<br><br>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Za više informacija posetite <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server konfiguraciju za EspoCRM</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Za više informacija posetite <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server konfiguraciju za EspoCRM</a>.<br><br>"
"linux": "<br> Dodajte ovaj kod u svoju Nginx servera blok config datoteku <code>{NGINX_PATH}</code> unutar \"server\" sekcije:<pre>{NGINX}</pre> <br> Za više informacija posetite <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server konfiguraciju za EspoCRM</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "API Greška: EspoCRM API nije dostupan.<br> Mogući problem: \"mod_rewrite\" isključen na Apache serveru, isključena .htaccess podrška ili RewriteBase problem.<br>Učinite samo neophodne izmene. Posle svake proverite da li je problem rešen.",
"nginx": "API greška: EspoCRM API je dostupan <br> Dodajte ovaj kod u svoju Nginx servera blok config datoteku (/etc/nginx/sites-available/YOUR_SITE)unutar \"server\" sekcije:",
"microsoft-iis": "API greška: EspoCRM API je dostupan <br> Mogući problem: onemogućen \"URL Rewrite \". Molimo proverite i omogućite \"URL Rewrite \" modul u IIS serveru",
"default": "API greška: EspoCRM API je dostupan <br> Mogući problem: onemogućen Rewrite Module. Molimo proverite i omogućiti Rewrite Module u vašem serveru (npr mod_rewrite u Apachu) i .htaccess podršku."
"apache": "<h3>API Greška: EspoCRM API nije dostupan.</h3><br>Učinite samo neophodne izmene. Posle svake proverite da li je problem rešen.",
"nginx": "<h3>API greška: EspoCRM API je dostupan</h3>",
"microsoft-iis": "<h3>API greška: EspoCRM API je dostupan</h3> <br> Mogući problem: onemogućen \"URL Rewrite \". Molimo proverite i omogućite \"URL Rewrite \" modul u IIS serveru",
"default": "<h3>API greška: EspoCRM API je dostupan</h3> <br> Mogući problem: onemogućen Rewrite Module. Molimo proverite i omogućiti Rewrite Module u vašem serveru (npr mod_rewrite u Apachu) i .htaccess podršku."
}
},
"systemRequirements": {
@@ -116,4 +115,4 @@
"dbname": "Ime baze",
"user": "Korisničko ime"
}
}
}

View File

@@ -101,18 +101,17 @@
},
"options": {
"modRewriteTitle": {
"apache": "API Hatası: EspoCRM API'sı kullanılamıyor. Olası sorunlar: Apache sunucusunda \"mod_rewrite \" devre dışı, .htaccess desteği veya RewriteBase sorunu devre dışı bırakıldı. <br> Gerekli adımları uygulayın. Her adımın ardından sorunun çözülüp çözülmediğini kontrol edin.",
"nginx": "API Hatası: EspoCRM API'sı kullanılamıyor. \"Sunucu \" bölümünde bu kodu Nginx sunucu blok yapılandırma dosyanıza (/etc/nginx/sites-available/YOUR_SITE) ekleyin:",
"microsoft-iis": "API Hatası: EspoCRM API'sı kullanılamıyor. <br> Olası problem: \"URL Yeniden Yaz \" devre dışı. Lütfen IIS sunucusunda \"URL Rewrite \" Modülü'nü kontrol edin ve etkinleştirin",
"default": "API Hatası: EspoCRM API'sı kullanılamıyor. <br> Olası sorun: devre dışı bırakılmış Rewrite Modülü. Lütfen sunucunuzdaki Rewrite Modülü'nü kontrol edin ve etkinleştirin (örn. Apache'deki mod_rewrite) ve .htaccess desteğini etkinleştirin."
"apache": "<h3>API Hatası: EspoCRM API'sı kullanılamıyor.</h3><br> Gerekli adımları uygulayın. Her adımın ardından sorunun çözülüp çözülmediğini kontrol edin.",
"nginx": "<h3>API Hatası: EspoCRM API'sı kullanılamıyor.</h3>",
"microsoft-iis": "<h3>API Hatası: EspoCRM API'sı kullanılamıyor.</h3> <br> Olası problem: \"URL Yeniden Yaz \" devre dışı. Lütfen IIS sunucusunda \"URL Rewrite \" Modülü'nü kontrol edin ve etkinleştirin",
"default": "<h3>API Hatası: EspoCRM API'sı kullanılamıyor.</h3> <br> Olası sorun: devre dışı bırakılmış Rewrite Modülü. Lütfen sunucunuzdaki Rewrite Modülü'nü kontrol edin ve etkinleştirin (örn. Apache'deki mod_rewrite) ve .htaccess desteğini etkinleştirin."
},
"modRewriteInstruction": {
"apache": {
"linux": "<br> <br> 1. \"Mod_rewrite \" yı etkinleştirin. Bunu yapmak için şu komutları bir Terminalde çalıştırın: <pre>{APACHE1}</pre> <br> 2. .htaccess desteğini etkinleştirin. Sunucu yapılandırma ayarlarını ekleyin / düzenleyin (/etc/apache/apache2.conf, /etc/httpd/conf/httpd.conf):<pre>{APACHE2}</pre>\n Sonra bu komutu bir Terminalde çalıştırın: <pre>{APACHE3}</pre> <br> 3. RewriteBase yolunu eklemeyi deneyin, {API_PATH} .htaccess dosyasınıın ve aşağıdaki satırı değiştirin: <pre>{APACHE4}</pre> <pre>{APACHE5}</pre> <br> Daha fazla bilgi için lütfen ziyaret edin. <a href=\"https://www.espocrm.com/documentation/administration/apache-server-configuration/\" target=\"_blank\"> EspoCRM için Apache sunucusu yapılandırması </a> kılavuzunu okuyun. <br> <br>"
"linux": "<br> <br> 1. \"Mod_rewrite \" yı etkinleştirin. Bunu yapmak için şu komutları bir Terminalde çalıştırın: <pre>{APACHE1}</pre> <br> 2. .htaccess desteğini etkinleştirin. Sunucu yapılandırma ayarlarını ekleyin / düzenleyin (<code>{APACHE2_PATH1}</code>, <code>{APACHE2_PATH2}</code>, <code>{APACHE2_PATH3}</code>):<pre>{APACHE2}</pre>\n Sonra bu komutu bir Terminalde çalıştırın: <pre>{APACHE3}</pre> <br> 3. RewriteBase yolunu eklemeyi deneyin, {API_PATH} .htaccess dosyasınıın ve aşağıdaki satırı değiştirin: <pre>{APACHE4}</pre> <pre>{APACHE5}</pre> <br> Daha fazla bilgi için lütfen ziyaret edin. <a href=\"{APACHE_LINK}\" target=\"_blank\"> EspoCRM için Apache sunucusu yapılandırması </a> kılavuzunu okuyun. <br> <br>"
},
"nginx": {
"linux": "<br>\n<pre> \n{NGINX} \n</pre> <br> Daha fazla bilgi için lütfen <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\"> EspoCRM için Nginx sunucu yapılandırması </a>. <br> <br>",
"windows": "<br>\n<pre> \n{NGINX} \n</pre> <br> Daha fazla bilgi için lütfen <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\"> EspoCRM için Nginx sunucu yapılandırması </a>. <br> <br>"
"linux": "<br>Sunucu bölümünde bu kodu Nginx sunucu blok yapılandırma dosyanıza <code>{NGINX_PATH}</code> ekleyin:\n<pre> \n{NGINX} \n</pre> <br> Daha fazla bilgi için lütfen <a href=\"{NGINX_LINK}\" target=\"_blank\">EspoCRM için Nginx sunucu yapılandırması</a>. <br> <br>"
}
}
},
@@ -123,4 +122,4 @@
"dbname": "Veritabanı adı",
"user": "Kullanıcı Adı"
}
}
}

View File

@@ -109,18 +109,17 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. Знайти файл httpd.conf файл (зазвичай його можна знайти у теці, званій conf, config або ще якось так)<br> Н2. Всередині файла httpd.conf розкоментувати рядок LoadModule rewrite_module модулі/через mod_rewrite.so (видалити знак '#' на початку рядка)<br> 3. Також пересвідчитися, що рядок ClearModuleList некоментований і переконайтеся, що рядок AddModule mod_rewrite.c не закомментирований.</pre>"
"windows": "<br> <pre>1. Знайти файл httpd.conf файл (зазвичай його можна знайти у теці, званій conf, config або ще якось так)<br>2. Всередині файла httpd.conf розкоментувати рядок LoadModule rewrite_module модулі/через mod_rewrite.so (видалити знак '#' на початку рядка)<br>3. Також пересвідчитися, що рядок ClearModuleList некоментований і переконайтеся, що рядок AddModule mod_rewrite.c не закомментирований.</pre>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> Для отримання більш детальної інформації, будь ласка, перейдіть <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> Для отримання більш детальної інформації, будь ласка, перейдіть <a href=\"https://www.espocrm.com/documentation/administration/nginx-server-configuration/\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
"linux": "<br> Додайте цей код до Вашого файлу конфігурації Nginx <code>{NGINX_PATH}</code> всередині блоку \"server\":<pre>{NGINX}</pre> <br> Для отримання більш детальної інформації, будь ласка, перейдіть <a href=\"{NGINX_LINK}\" target=\"_blank\">Nginx server configuration for EspoCRM</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "Помилка API: API EspoCRM недоступне.<br> Можливі проблеми: бракує RewriteBase, вимкнено \"mod_rewrite\" в Apache-сервері або файлі підтримки .htaccess.",
"nginx": "Помилка API: API EspoCRM недоступне.<br> Додайте цей код до Вашого файлу конфігурації Nginx (/etc/nginx/sites-available/YOUR_SITE) всередині блоку \"сервер\":",
"microsoft-iis": "Помилка API: EspoCRM API недоступне.<br> Можлива проблема: вимкнено \"URL Rewrite\". Будь ласка, перевірте і включіть модуль \"URL Rewrite\" сервера IIS",
"default": "Помилка API: EspoCRM API недоступний.<br> Можлива проблема: вимкнений Rewrite Module. Будь ласка, перевірте й увімкніть Rewrite Module у вашому сервері (наприклад mod_rewrite в Apache) і підтримку .htaccess."
"apache": "<h3>Помилка API: API EspoCRM недоступне.</h3><br> Виконуйте лише необхідні кроки. Після кожного кроку перевірте, чи проблема вирішена.",
"nginx": "<h3>Помилка API: API EspoCRM недоступне.</h3>",
"microsoft-iis": "<h3>Помилка API: EspoCRM API недоступне.</h3><br> Можлива проблема: вимкнено \"URL Rewrite\". Будь ласка, перевірте і включіть модуль \"URL Rewrite\" сервера IIS",
"default": "<h3>Помилка API: EspoCRM API недоступний.</h3><br> Можлива проблема: вимкнений Rewrite Module. Будь ласка, перевірте й увімкніть Rewrite Module у вашому сервері (наприклад mod_rewrite в Apache) і підтримку .htaccess."
}
},
"systemRequirements": {
@@ -133,4 +132,4 @@
"readable": "Читання",
"requiredMariadbVersion": "Версія MariaDB"
}
}
}

View File

@@ -100,18 +100,17 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "结果<前> 1。查找httpd.conf文件通常你会发现一个名为CONF配置或类似的规定文件夹中结果\n2.里面的httpd.conf文件注释行的LoadModule rewrite_module模块/ mod_rewrite.so从行前面删除井''号)结果\n3.又找到行ClearModuleList下面是注释掉然后查找并确保该行加入AddModule mod_rewrite.c没有被注释掉。\n</ PRE>"
"windows": "结果 <pre>1. 查找httpd.conf文件通常你会发现一个名为CONF配置或类似的规定文件夹中结果\n2.里面的httpd.conf文件注释行的LoadModule rewrite_module模块/ mod_rewrite.so从行前面删除井''号)结果\n3.又找到行ClearModuleList下面是注释掉然后查找并确保该行加入AddModule mod_rewrite.c没有被注释掉。\n</pre>"
},
"nginx": {
"linux": "<br>\n<pre>\n{NGINX}\n</pre> <br> 为获取更多信息,请访问帮助 <a href=\"http://www.espocrm.com/blog/nginx-server-configuration-for-espocrm/\" target=\"_blank\">EspoCRM的网页服务器配置</a>.<br><br>",
"windows": "<br>\n<pre>\n{NGINX}\n</pre> <br> 为获取更多信息,请访问帮助 <a href=\"http://www.espocrm.com/blog/nginx-server-configuration-for-espocrm/\" target=\"_blank\">EspoCRM的网页服务器配置</a>.<br><br>"
"linux": "<br>将此代码添加入你的网页服务器配置文件<code>{NGINX_PATH}</code> 在里面 \"服务器\" 部分:<pre>{NGINX}</pre> <br> 为获取更多信息,请访问帮助 <a href=\"{NGINX_LINK}\" target=\"_blank\">EspoCRM的网页服务器配置</a>.<br><br>"
}
},
"modRewriteTitle": {
"apache": "应用程序编程接口错误: EspoCRM 应用程序编程接口是不可用的.<br> 可能出现的问题: 禁用 \"mod_rewrite\" 在Apache 服务器, 禁用 .分布式配置文件支持或者重写数据问题.<br>仅执行必要操作.完成每一步需确认问题是否被解决.",
"nginx": "应用程序编程接口错误: EspoCRM 应用程序编程接口是不可用的.<br>将此代码添加入你的网页服务器配置文件(/etc/nginx/sites-available/YOUR_SITE) 在里面 \"服务器\" 部分:",
"microsoft-iis": "应用程序编程接口错误: EspoCRM应用程序编程接口是不可用的.<br>可能出现的问题: 禁用 \"网址重写\". 请核对并启用\"网址重写\" 模块在IIS服务器",
"default": "应用程序编程接口错误: EspoCRM应用程序编程接口是不可用的.<br>可能出现的问题: 禁用重写模块.请在你的服务器核对并启用重写模块 (e.g. mod_重写 在 Apache) 和.htaccess 支持."
"apache": "<h3>应用程序编程接口错误: EspoCRM 应用程序编程接口是不可用的.</h3><br> 可能出现的问题: 禁用 \"mod_rewrite\" 在Apache 服务器, 禁用 .分布式配置文件支持或者重写数据问题.<br>仅执行必要操作.完成每一步需确认问题是否被解决.",
"nginx": "<h3>应用程序编程接口错误: EspoCRM 应用程序编程接口是不可用的.</h3>",
"microsoft-iis": "<h3>应用程序编程接口错误: EspoCRM应用程序编程接口是不可用的.</h3><br>可能出现的问题: 禁用 \"网址重写\". 请核对并启用\"网址重写\" 模块在IIS服务器",
"default": "<h3>应用程序编程接口错误: EspoCRM应用程序编程接口是不可用的.</h3><br>可能出现的问题: 禁用重写模块.请在你的服务器核对并启用重写模块 (e.g. mod_重写 在 Apache) 和.htaccess 支持."
}
}
}
}

View File

@@ -116,18 +116,14 @@
"options": {
"modRewriteInstruction": {
"apache": {
"windows": "<br> <pre>1. 找出 httpd.conf 的位置 (通常會在一個叫 conf, config 的資料夾,或是這行中的)<br>2. 在 httpd.conf 檔案中取消註解 LoadModule rewrite_module modules/mod_rewrite.so (在要移除該行前面移除井字號 '#' )<br>3. 另外也找出 ClearModuleList 並取消註解,也請留意 AddModule mod_rewrite.c 這行不要被註解掉。\n</pre>"
},
"nginx": {
"linux": "SMTP帳號",
"windows": "SMTP帳號"
"windows": "<br> <pre>1. 找出 httpd.conf 的位置 (通常會在一個叫 conf, config 的資料夾,或是這行中的)<br>2. 在 httpd.conf 檔案中取消註解 <code>{WINDOWS_APACHE1}</code> (在要移除該行前面移除井字號 '#')<br>3. 另外也找出 ClearModuleList 並取消註解,也請留意 AddModule mod_rewrite.c 這行不要被註解掉。\n</pre>"
}
},
"modRewriteTitle": {
"apache": "API錯誤EspoCRM API無法連線。<br>可能的問題在Apache中停用了 mod_rewrite停用了.htaccess 功能或 RewriteBase 功能。<br>請試必要的步驟。在試過每個步驟之後,回來檢查問題是否已解決。",
"nginx": "API錯誤EspoCRM API無法連線。<br>將此和式碼加入到 Nginx 伺服器內的配置文件 (/etc/nginx/sites-available/YOUR_SITE)",
"microsoft-iis": "API錯誤EspoCRM API無法連線。<br>可能的問題:停用了 URL Rewrite。請檢查並啟用 IIS 中的 URL Rewrite 模組",
"default": "API錯誤EspoCRM API無法連線。<br>可能的問題:停用了 Rewrite 模組。請檢查並啟用伺服器中的 Rewrite 模組 (例如Apache 中的 mod_rewrite)和 .htaccess 功能。"
"apache": "<h3>API錯誤EspoCRM API無法連線。</h3><br>可能的問題在Apache中停用了 mod_rewrite停用了.htaccess 功能或 RewriteBase 功能。<br>請試必要的步驟。在試過每個步驟之後,回來檢查問題是否已解決。",
"nginx": "<h3>API錯誤EspoCRM API無法連線。</h3>",
"microsoft-iis": "<h3>API錯誤EspoCRM API無法連線。</h3><br>可能的問題:停用了 URL Rewrite。請檢查並啟用 IIS 中的 URL Rewrite 模組",
"default": "<h3>API錯誤EspoCRM API無法連線。</h3><br>可能的問題:停用了 Rewrite 模組。請檢查並啟用伺服器中的 Rewrite 模組 (例如Apache 中的 mod_rewrite)和 .htaccess 功能。"
}
},
"systemRequirements": {
@@ -140,4 +136,4 @@
"readable": "邀請",
"requiredMariadbVersion": "允許自定義選項"
}
}
}

View File

@@ -1,6 +1,6 @@
{
"name": "espocrm",
"version": "6.1.4",
"version": "6.1.5",
"description": "",
"main": "index.php",
"repository": {

View File

@@ -49,7 +49,9 @@ class AfterUpgrade
];
foreach ($fileList as $file) {
if (!file_exists($file)) continue;
if (!file_exists($file)) {
continue;
}
$result = unlink($file);
@@ -72,7 +74,9 @@ class AfterUpgrade
];
foreach ($directoryList as $directory) {
if (!file_exists($directory)) continue;
if (!file_exists($directory)) {
continue;
}
$this->container->get('fileManager')->removeInDir($directory, true);
}

View File

@@ -49,7 +49,9 @@ class BeforeUpgrade
];
foreach ($fileList as $file) {
if (!file_exists($file)) continue;
if (!file_exists($file)) {
continue;
}
$result = unlink($file);
@@ -72,7 +74,9 @@ class BeforeUpgrade
];
foreach ($directoryList as $directory) {
if (!file_exists($directory)) continue;
if (!file_exists($directory)) {
continue;
}
$this->container->get('fileManager')->removeInDir($directory, true);
}

View File

@@ -29,6 +29,8 @@
class AfterUpgrade
{
private $container;
public function run($container)
{
$this->container = $container;
@@ -38,5 +40,51 @@ class AfterUpgrade
$config->set('pdfEngine', 'Tcpdf');
$config->save();
$this->removeUnnecessaryFiles();
$this->removeUnnecessaryDirectories();
}
public function removeUnnecessaryFiles()
{
$fileList = [
'vendor/spatie/async/.git/objects/pack/pack-14ab89d3ff365322e20cfd44252880928aaa4ed6.idx',
'vendor/spatie/async/.git/objects/pack/pack-14ab89d3ff365322e20cfd44252880928aaa4ed6.pack',
'vendor/zordius/lightncandy/.git/objects/pack/pack-8b009a4f84cb95d704fb194c5fee79c724dee033.pack',
'vendor/zordius/lightncandy/.git/objects/pack/pack-8b009a4f84cb95d704fb194c5fee79c724dee033.idx',
];
foreach ($fileList as $file) {
if (!file_exists($file)) {
continue;
}
$result = unlink($file);
if (!$result) {
$this->container->get('fileManager')->getPermissionUtils()->chmod($file, [
'file' => '0664',
'dir' => '0775',
]);
unlink($file);
}
}
}
public function removeUnnecessaryDirectories()
{
$directoryList = [
'vendor/spatie/async/.git',
'vendor/zordius/lightncandy/.git',
];
foreach ($directoryList as $directory) {
if (!file_exists($directory)) {
continue;
}
$this->container->get('fileManager')->removeInDir($directory, true);
}
}
}

View File

@@ -0,0 +1,84 @@
<?php
/************************************************************************
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2021 Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* EspoCRM is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with EspoCRM. If not, see http://www.gnu.org/licenses/.
*
* The interactive user interfaces in modified source and object code versions
* of this program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU General Public License version 3.
*
* In accordance with Section 7(b) of the GNU General Public License version 3,
* these Appropriate Legal Notices must retain the display of the "EspoCRM" word.
************************************************************************/
class BeforeUpgrade
{
private $container;
public function run($container)
{
$this->container = $container;
$this->removeUnnecessaryFiles();
$this->removeUnnecessaryDirectories();
}
public function removeUnnecessaryFiles()
{
$fileList = [
'vendor/spatie/async/.git/objects/pack/pack-14ab89d3ff365322e20cfd44252880928aaa4ed6.idx',
'vendor/spatie/async/.git/objects/pack/pack-14ab89d3ff365322e20cfd44252880928aaa4ed6.pack',
'vendor/zordius/lightncandy/.git/objects/pack/pack-8b009a4f84cb95d704fb194c5fee79c724dee033.pack',
'vendor/zordius/lightncandy/.git/objects/pack/pack-8b009a4f84cb95d704fb194c5fee79c724dee033.idx',
];
foreach ($fileList as $file) {
if (!file_exists($file)) {
continue;
}
$result = unlink($file);
if (!$result) {
$this->container->get('fileManager')->getPermissionUtils()->chmod($file, [
'file' => '0664',
'dir' => '0775',
]);
unlink($file);
}
}
}
public function removeUnnecessaryDirectories()
{
$directoryList = [
'vendor/spatie/async/.git',
'vendor/zordius/lightncandy/.git',
];
foreach ($directoryList as $directory) {
if (!file_exists($directory)) {
continue;
}
$this->container->get('fileManager')->removeInDir($directory, true);
}
}
}