Skip to content
Snippets Groups Projects
Commit 0b99aecf authored by ines mkacher's avatar ines mkacher
Browse files

Update attachments.md

parent e870d540
No related branches found
No related tags found
2 merge requests!14Mise à jour arborescence,!131.0
......@@ -61,12 +61,14 @@ Pour supprimer l'accès à l'indexe, il faut transformer le ```Options Indexes``
Le fichier de configuration principale d'apache est (httpd.conf ou apache2.conf ou vhosts)
* httpd.conf
```
- Cent OS RedHat /etc/httpd/conf/httpd.conf
- Debian et les autres: /etc/apache2/httpd.conf
- Freebsd: /usr/local/etc/apache22/httpd.conf
```
* apache2.conf
```
/etc/apache2/apache2.conf
<Directory /var/www/>
......@@ -78,11 +80,13 @@ Le fichier de configuration principale d'apache est (httpd.conf ou apache2.conf
Pensez ensuite soit:
* à recharger les paramètres d'apache
```sudo /etc/init.d/apache2 reload```
ou
* à redémarrer apache
```sudo systemctl restart apache2```
......@@ -127,12 +131,12 @@ Si la récupération des fichiers volumineux dans l’application est impossible
Si vous avez un message d'erreur tel que dans la liste ci-dessous :
* warning post content-length of bytes exceeds the limit...
* The uploaded file exceeds the upload_max_filesize directive in php.ini...
* exceeds the maximum upload size for this site...
* Fatal error: Allowed memory size of 12345678 bytes exhausted (tried to allocate 2345678 bytes) in /home/your-username/public_html/wp-includes/plugin.php on line 1000...
* 413 Error: Request Entity Too Large
* Fatal error: Maximum execution time of 30 seconds exceeded
* ```warning post content-length of bytes exceeds the limit...```
* ```The uploaded file exceeds the upload_max_filesize directive in php.ini...```
* ```exceeds the maximum upload size for this site...```
* ```Fatal error: Allowed memory size of 12345678 bytes exhausted (tried to allocate 2345678 bytes) in /home/your-username/public_html/wp-includes/plugin.php on line 1000...```
* ```413 Error: Request Entity Too Large```
* ```Fatal error: Maximum execution time of 30 seconds exceeded```
### Solutions
......@@ -158,9 +162,11 @@ La relation entre ces trois directives est : **upload_max_filesize** <= **post_m
Pensez ensuite soit:
* à recharger les paramètres d'apache
```sudo /etc/init.d/apache2 reload```
ou
* à redémarrer apache
```sudo systemctl restart apache2```
##### Modification des paramètres de temps d'execution
......@@ -204,6 +210,7 @@ Contournements possibles :
### Erreurs connues
### Solutions
```
ob_clean();
```
......@@ -234,8 +241,8 @@ Pour vérifier que le type de média (appelé également type mime) est bien pri
Les chemins sont à titre indictif, bien vérifier que vous êtes dans le repertoire custom de votre instance et si le fichier extension.xml n'existe pas dans ce repertoire le copier du repertoire principal de Maarch Courrier avant de le modifier.
```
~# cat /var/www/html/MaarchCourrier/custom/cs_votreinstance/apps/maarch_entreprise/xml/extensions.xml
```xml
# cat /var/www/html/MaarchCourrier/custom/cs_votreinstance/apps/maarch_entreprise/xml/extensions.xml
<?xml version="1.0" encoding="utf-8"?>
<ROOT>
<FORMAT>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment