31,026
edits
PolyglotBot (talk | contribs) m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.) |
mNo edit summary Tag: 2017 source edit |
||
| Line 28: | Line 28: | ||
* A wrong permission for the /documents/ folder, so that Dolibarr can't rename the folder. If that's the case, you should have in your syslog something like: | * A wrong permission for the /documents/ folder, so that Dolibarr can't rename the folder. If that's the case, you should have in your syslog something like: | ||
< | <syntaxHighlight lang=text> | ||
ERROR 127.0.0.1 user fiche Interfaces::run_triggers action=ORDER_SUPPLIER_VALIDATE Files found: 6, Files launched: 5, Done: 0, Failed: 1 | ERROR 127.0.0.1 user fiche Interfaces::run_triggers action=ORDER_SUPPLIER_VALIDATE Files found: 6, Files launched: 5, Done: 0, Failed: 1 | ||
ERROR 127.0.0.1 user fiche CommandeFournisseur::valid | ERROR 127.0.0.1 user fiche CommandeFournisseur::valid | ||
DEBUG 127.0.0.1 user fiche ROLLBACK Transaction | DEBUG 127.0.0.1 user fiche ROLLBACK Transaction | ||
</ | </syntaxHighlight> | ||
* A wrong custom numerotation system: if you use illegal characters for the filesystem (like "/"), this will crash whenever you'll try to validate your document since it won't be able to use this illegal character in the renaming. Try to disable your current custom numerotation system and enable the default one temporarily to see if this fixes the issue. | * A wrong custom numerotation system: if you use illegal characters for the filesystem (like "/"), this will crash whenever you'll try to validate your document since it won't be able to use this illegal character in the renaming. Try to disable your current custom numerotation system and enable the default one temporarily to see if this fixes the issue. | ||
| Line 69: | Line 69: | ||
Depending of your configuration, if you encounter the error | Depending of your configuration, if you encounter the error | ||
< | <syntaxHighlight lang="php"> | ||
Warning: tempnam(): open_basedir restriction in effect. File(C:\WINDOWS\TEMP) is not within the allowed path(s): (c:/dolibarr) in C:\dolibarr\www\dolibarr\htdocs\core\modules\import\import_xlsx.modules.php on line 182 | Warning: tempnam(): open_basedir restriction in effect. File(C:\WINDOWS\TEMP) is not within the allowed path(s): (c:/dolibarr) in C:\dolibarr\www\dolibarr\htdocs\core\modules\import\import_xlsx.modules.php on line 182 | ||
</ | </syntaxHighlight> | ||
You will have to edit the php.ini | You will have to edit the php.ini | ||
Find the directive upload_tmp_dir: uncomment the line and change its value to a required path. In this example it is "/var/tmp": | Find the directive upload_tmp_dir: uncomment the line and change its value to a required path. In this example it is "/var/tmp": | ||
< | <syntaxHighlight lang="php"> | ||
; Temporary directory for HTTP uploaded files (will use system default if not | ; Temporary directory for HTTP uploaded files (will use system default if not | ||
; specified). | ; specified). | ||
; http://php.net/upload-tmp-dir | ; http://php.net/upload-tmp-dir | ||
upload_tmp_dir = /var/tmp | upload_tmp_dir = /var/tmp | ||
</ | </syntaxHighlight> | ||
Additionally for PHP versions 5.5 and greater, find the directive sys_temp_dir: uncomment the line and change its value to a required path. In this example, it is "/var/tmp": | Additionally for PHP versions 5.5 and greater, find the directive sys_temp_dir: uncomment the line and change its value to a required path. In this example, it is "/var/tmp": | ||
< | <syntaxHighlight lang="php"> | ||
; Directory where the temporary files should be placed. | ; Directory where the temporary files should be placed. | ||
; Defaults to the system default (see sys_get_temp_dir) | ; Defaults to the system default (see sys_get_temp_dir) | ||
sys_temp_dir = "/var/tmp" | sys_temp_dir = "/var/tmp" | ||
</ | </syntaxHighlight> | ||
And in Vhosts | And in Vhosts | ||
< | <syntaxHighlight lang="c"> | ||
open_basedir = {WEBSPACEROOT}{/}{:}{TMP}{/}:/var/tmp | open_basedir = {WEBSPACEROOT}{/}{:}{TMP}{/}:/var/tmp | ||
</ | </syntaxHighlight> | ||
= My problem is not in the list = | = My problem is not in the list = | ||