Mantis

[Résolu] Joindre des pièce-jointes > 1M

Posted by gom 
gom
[Résolu] Joindre des pièce-jointes > 1M
April 23, 2008 02:43PM
Bonjour à tous,

Il m'est impossible d'ajouter de pièce-jointe de plus d'1M.

Malgré la modification de php.ini :
[...]

; Output buffering allows you to send header lines (including cookies) even
; after you send body content, at the price of slowing PHP's output layer a
; bit.  You can enable output buffering during runtime by calling the output
; buffering functions.  You can also enable output buffering for all files by
; setting this directive to On.  If you wish to limit the size of the buffer
; to a certain size - you can use a maximum number of bytes instead of 'On', as
; a value for this directive (e.g., output_buffering=4096).
; Gom
;output_buffering = 4096
output_buffering = On

[...]

; Maximum allowed size for uploaded files.
; Gom
upload_max_filesize = 5M

[...]


Pour rappel, il n'y a normalement pas de modification à faire dans la configuration de Mantis puisque en standard :
	# Maximum file size that can be uploaded
	# Also check your PHP settings (default is usually 2MBs)
	$g_max_file_size		= 5000000; # 5 MB


Une idée ?! sad smiley


Mantis : 1.0.6 - 1.1.2 (avec Plugins)
Apache : 2.0.63
PHP : 4.4.9
MySQL : 5.0.51b
OS : Windows 2003 Server R2 SP2
Environnement : WAMP Server 2.0c



Edited 1 time(s). Last edit at 04/23/2008 05:56PM by gom.
gom
Re: Joindre des pièce-jointes > 1M
April 23, 2008 05:54PM
En fait le problème venait de ma configuration de MySQL et non des éléments dont je parlais dans mon 1er post !

my.ini :
     [mysqld]
     
     max_allowed_packet=8M

Si jamais vous utilisez WampServer2 comme moi, alors le nom de la section dans my.ini change :

     [wampmysqld]
     
     max_allowed_packet=8M


Bonne fin de journée ! grinning smiley

Gôm


Mantis : 1.0.6 - 1.1.2 (avec Plugins)
Apache : 2.0.63
PHP : 4.4.9
MySQL : 5.0.51b
OS : Windows 2003 Server R2 SP2
Environnement : WAMP Server 2.0c



Edited 2 time(s). Last edit at 04/23/2008 05:57PM by gom.
Sorry, only registered users may post in this forum.

Click here to login



Online Users

Guests: 5
Record Number of Users: 1 on April 02, 2023
Record Number of Guests: 115 on November 09, 2023
Top Users
Hébergeur : Morinie.Fr