Upload image impossible Upload image impossible
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Upload image impossible

Started by cnkite, September 13, 2012, 03:54:36 PM

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

cnkite

Bonjour,

Depuis peu il est impossible pour tous les utilisateurs d'uploader une image (avec les bons paramètres bien sur)  8)
L'espace disk est à 30%   8)
Voici le message d'erreur  :o, MERCI pour votre aide.

USER:
------------------
Array
(
    [ID] => 77e6b75cb4fa4a66e8a9f6b3acedf39f
    [am] => 1
    [lang] => french
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 6
    [user_name] =>
    [group_name] => Administrators
    [groups] => Array
        (
            [0] => 2
            [1] => 1
        )

    [disk_max] => 100000
    [disk_min] => 35000
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [upload_form_config] => 3
    [group_quota] => 100000
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg14x_bridge (0s)
    [3] => SET NAMES 'utf8' (0s)
    [4] => SELECT
config_name,
config_value
FROM
`cnkite`.phpbb_config
WHERE
config_name IN ('cookie_name', 'session_length', 'allow_autologin', 'max_autologin_time') (0s)
    [5] => SELECT
u.*, s.*
FROM
`cnkite`.phpbb_users u,
`cnkite`.phpbb_sessions s
WHERE
u.user_id = s.session_user_id AND
u.user_type != 2 AND
u.user_type != 1 AND
s.session_id = 'ae9b136803697568efe610fcf3389891' (0.001s)
    [6] => SELECT
*
FROM
`cnkite`.phpbb_user_group ug,
`cnkite`.phpbb_acl_groups ag,
`cnkite`.phpbb_acl_roles_data ard,
`cnkite`.phpbb_acl_options ao
WHERE
ug.user_id = 6 AND
ug.group_id = ag.group_id AND
ag.auth_role_id = ard.role_id AND
ard.auth_setting = 1 AND
ard.auth_option_id = ao.auth_option_id AND
(ao.auth_option = 'a_cpgadmin' OR ao.auth_option = 'm_cpgadmin') (0s)
    [7] => SELECT
*
FROM
`cnkite`.phpbb_user_group ug,
`cnkite`.phpbb_acl_groups ag,
`cnkite`.phpbb_acl_options ao
WHERE
ug.user_id = 6 AND
ug.group_id = ag.group_id AND
ag.auth_option_id = ao.auth_option_id AND
ag.auth_setting = 1 AND
(ao.auth_option = 'a_cpgadmin' OR ao.auth_option = 'm_cpgadmin') (0s)
    [8] => SELECT
        group_name
        FROM
        `cnkite`.phpbb_groups
        WHERE
        group_id = 167 (0s)
    [9] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (2,1) (0s)
    [10] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 6 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2012-09-13 15:05:58' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='217.128.226.150' OR ip_addr='217.128.226.150' OR user_id=6) AND brute_force=0 (0s)
    [14] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    [15] => SELECT value FROM cpg14x_config WHERE name = 'theme' (0.008s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.3.3-7+squeeze7 - OK
------------------
mySQL version: 5.1.49-3-log
------------------
Coppermine version: 1.4.25(stable)
==========================
Module: GD
------------------
GD Version: 2.0
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPEG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support:
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 2
Client API version 5.1.49
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient_r 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.1.1
Linked Version 1.2.3.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | apache_child_terminate, apache_setenv, define_syslog_variables,dl,eval, fp, ftp_exec, highlight_file, ini_alter, ini_get_all, ini_restore, inject_code, openlog, passthru, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, show_source,symlink, syslog, system, xmlrpc_entity_decode | apache_child_terminate, apache_setenv, define_syslog_variables,dl,eval, fp, ftp_exec, highlight_file, ini_alter, ini_get_all, ini_restore, inject_code, openlog, passthru, phpAds_remoteInfo, phpAds_XmlRpc, phpAds_xmlrpcDecode, phpAds_xmlrpcEncode, popen, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, posix_uname, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, show_source,symlink, syslog, system, xmlrpc_entity_decode
file_uploads | On | On
include_path | .: | .:
open_basedir | /var/www/vhosts/cnkite.fr/httpdocs/:/tmp/:/var/www/vhosts/cnkite.fr/httpsdocs/:/tmp/ | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 60 | 60
max_input_time | 60 | 60
upload_max_filesize | 10M | 10M
post_max_size | 8M | 8M
==========================
Page generated in 0.168 seconds - 16 queries in 0.009 seconds - Album set : ; Meta set: ;

François Keller

Bonjour,

Y a t'il un message d'erreur spécifique, et si oui lequel et à quel moment du processus de téléchargement ?
Avez vous suivi la procédure de dépannage décrite dans la doc ?
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

cnkite

J'ai ce retour :
Le téléchargement suivant a généré des erreurs:
Uploads de fichier:
Nom de fichier / URL Message d'erreur
1. MonImage.jpg Impossible à déplacer.

cnkite

Quote from: cnkite on September 14, 2012, 09:55:50 AM
J'ai ce retour :
Le téléchargement suivant a généré des erreurs:
Uploads de fichier:
Nom de fichier / URL Message d'erreur
1. MonImage.jpg Impossible à déplacer.

Il semblerait que le disk est en lecture seul pour coppermine ??
Est ce possible ?

cnkite

- Bon l'espace n'est pas FULL car j'arrive à uploader en FTP, j'ai quand modifié les propriétés du directory d'upload (777).
- J'ai tester via le tuto de maintenance.
Lorsque je suis en mode débogage pour tous le monde, il y a un champ supplémentaire sur la page d'upload :
ALBUM et fenêtre déroulante avec la liste des albums existants.
Dans ce cas de config l'UP fonctionne correctement.
Mais dés lors que je passe a 2 champs d'upload et +, le champ ALBUM disparaît et une erreur se produit avec le message suivant :
"Impossible à déplacer"
Merci pour votre aide
En attendant je laisse un seul champ.

François Keller

Regardes du côté de la bibliothèque graphique utilisée (GD2 ou ImageMagik) et vérifie que c'est bien GD2 qui est activé (dans la configuration)
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

cnkite

Quote from: François Keller on September 14, 2012, 02:24:13 PM
Regardes du côté de la bibliothèque graphique utilisée (GD2 ou ImageMagik) et vérifie que c'est bien GD2 qui est activé (dans la configuration)
C'est bien du GD2

cnkite

Je viens de voir que j'avais aussi ces remarques :
Quote/include/init.inc.php

    Deprecated line 28: Function set_magic_quotes_runtime() is deprecated

/include/functions.inc.php

    Deprecated line 373: Function ereg_replace() is deprecated
    Deprecated line 374: Function ereg_replace() is deprecated
...
...
etc