upload d'image HTML upload d'image HTML
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

upload d'image HTML

Started by fantome95, June 21, 2009, 09:56:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fantome95

Bonjour a tous,
J'ai installer Coppermine, j'ai bien changer les CHMOD en 777 et mon seveur autorise les upload de fichiers
Pourtant impossible de charger une image
Une ame charitable pourrais peut etre me donner un cou de main, grand merci d'avance

Je me suis mis en Debug et voici se que j'obtiens:

QuoteAucune image n'a été uploadée !

Si vous avez vraiment sélectionné une image à uploader, vérifiez que le serveur autorise l'upload de fichiers...

Fichier: /home/www/a6a3c01eae969825698feb14c181e98e/web/cpg/db_input.php - Ligne: 311


USER:
------------------
Array
(
   [ID] => XXXXXXXXXXXXXXX
   [am] => 1
   [lang] => french
   [liv] => Array
       (
       )

)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_name] => XXXXXXXX
   [groups] => Array
       (
           [0] => 1
       )

   [disk_max] => 50000
   [disk_min] => 50000
   [can_rate_pictures] => 1
   [can_send_ecards] => 1
   [ufc_max] => 0
   [ufc_min] => 0
   [custom_user_upload] => 0
   [num_file_upload] => 1
   [num_URI_upload] => 0
   [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
   [group_name] => Administrators
   [upload_form_config] => 0
   [group_quota] => 50000
   [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] => delete from `XXXXXXXXXXXX`.cpg14x_sessions where time<1245567009 and remember=0; (0s)
   [3] => delete from `XXXXXXXXXXXX`.cpg14x_sessions where time<1244361009; (0s)
   [4] => select user_id from `XXXXXXXXXXXXXXX`.cpg14x_sessions where session_id = 'XXXXXXXXXXXXXXXXXXXXX' (0s)
   [5] => select user_id as id, user_password as password from `XXXXXXXXXXXXXXX`.cpg14x_users where user_id=1 (0s)
   [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `XXXXXX`.cpg14x_users AS u INNER JOIN `XXXXXXXXXXXX`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
   [7] => SELECT user_group_list FROM `XXXXXXXXXXXX`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
   [8] => 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 (1) (0s)
   [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
   [10] => update `XXXXXXXXXXXX`.cpg14x_sessions set time='1245570609' where session_id = 'XXXXXXXXXXXXXXXXXXXXX' (0s)
   [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
   [12] => DELETE FROM cpg14x_banned WHERE expiry < '2009-06-21 09:50:09' (0s)
   [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='xxxxxxxxxxxxxxxxxx'OR ip_addr='xxxxxxxxxxxxxx'OR user_id=1) AND brute_force=0 (0s)
   [14] => SELECT category FROM cpg14x_albums WHERE aid='1' (0s)
   [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

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

==========================
POST :
------------------
Array
(
   [album] => 1
   [MAX_FILE_SIZE] => 1048576
   [title] =>
   [caption] =>
   [keywords] =>
   [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.8 - OK
------------------
mySQL version: 5.0.45-log
------------------
Coppermine version: 1.4.24(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/opt/misc/mysql/include/mysql
MYSQL_LIBS -L/opt/misc/mysql/lib/mysql -lmysqlclient_r  
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
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 | set_time_limit,passthru,exec,system,popen,shell_exec,proc_open | set_time_limit,passthru,exec,system,popen,shell_exec,proc_open
file_uploads | On | On
include_path | .:/opt/php/lib/php | .:/opt/php/lib/php
open_basedir | /home/www/a6a3c01eae969825698feb14c181e98e/:/tmp:/opt/php/lib/php/ | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail_r -t -i -fwebmaster@xxxxxxxxxxxxx.com | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 10 | 10
max_input_time | 10 | 10
upload_max_filesize | 48M | 48M
post_max_size | 48M | 48M
==========================
Page generated in 1245570609.935 seconds - 16 queries in 0 seconds - Album set : ; Meta set: ;




fred35

Bonjour,

un lien vers votre site et le nom de votre hébergeur pourrait nous aider  ;D
Fred

fantome95

OUPS , mes excuses
Mon hebergeur c'est Infomaniak
le liens vers ma galerie    http://www.fantome83.com/cpg/index.phpvoici

fantome95

erreur, j'ai pas trouver l'edition du message, l'adresse est:

http://www.fantome83.com/cpg/index.php

fantome95


fred35

Etes vous sûr d'avoir sélectionné un album pour mettre votre photos ?
Fred

fantome95

Oui, album 1, celui que j'ai creer, d'ailleurs, si vous voulez faire un essai, j'ai autorisé "guest" merci de votre aide

fantome95

Quote from: fantome95 on June 21, 2009, 09:56:23 AM
Bonjour a tous,
J'ai installer Coppermine, j'ai bien changer les CHMOD en 777 et mon seveur autorise les upload de fichiers
Pourtant impossible de charger une image
Une ame charitable pourrais peut etre me donner un coup de main, grand merci d'avance

Je me suis mis en Debug et voici se que j'obtiens:



USER:
------------------
Array
(
   [ID] => XXXXXXXXXXXXXXX
   [am] => 1
   [lang] => french
   [liv] => Array
       (
       )

)

==========================
USER DATA:
------------------
Array
(
   [user_id] => 1
   [user_name] => XXXXXXXX
   [groups] => Array
       (
           [0] => 1
       )

   [disk_max] => 50000
   [disk_min] => 50000
   [can_rate_pictures] => 1
   [can_send_ecards] => 1
   [ufc_max] => 0
   [ufc_min] => 0
   [custom_user_upload] => 0
   [num_file_upload] => 1
   [num_URI_upload] => 0
   [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
   [group_name] => Administrators
   [upload_form_config] => 0
   [group_quota] => 50000
   [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] => delete from `XXXXXXXXXXXX`.cpg14x_sessions where time<1245567009 and remember=0; (0s)
   [3] => delete from `XXXXXXXXXXXX`.cpg14x_sessions where time<1244361009; (0s)
   [4] => select user_id from `XXXXXXXXXXXXXXX`.cpg14x_sessions where session_id = 'XXXXXXXXXXXXXXXXXXXXX' (0s)
   [5] => select user_id as id, user_password as password from `XXXXXXXXXXXXXXX`.cpg14x_users where user_id=1 (0s)
   [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `XXXXXX`.cpg14x_users AS u INNER JOIN `XXXXXXXXXXXX`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
   [7] => SELECT user_group_list FROM `XXXXXXXXXXXX`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
   [8] => 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 (1) (0s)
   [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
   [10] => update `XXXXXXXXXXXX`.cpg14x_sessions set time='1245570609' where session_id = 'XXXXXXXXXXXXXXXXXXXXX' (0s)
   [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
   [12] => DELETE FROM cpg14x_banned WHERE expiry < '2009-06-21 09:50:09' (0s)
   [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='xxxxxxxxxxxxxxxxxx'OR ip_addr='xxxxxxxxxxxxxx'OR user_id=1) AND brute_force=0 (0s)
   [14] => SELECT category FROM cpg14x_albums WHERE aid='1' (0s)
   [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
)

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

==========================
POST :
------------------
Array
(
   [album] => 1
   [MAX_FILE_SIZE] => 1048576
   [title] =>
   [caption] =>
   [keywords] =>
   [event] => picture
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.8 - OK
------------------
mySQL version: 5.0.45-log
------------------
Coppermine version: 1.4.24(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support:
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.67
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/opt/misc/mysql/include/mysql
MYSQL_LIBS -L/opt/misc/mysql/lib/mysql -lmysqlclient_r  
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
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 | set_time_limit,passthru,exec,system,popen,shell_exec,proc_open | set_time_limit,passthru,exec,system,popen,shell_exec,proc_open
file_uploads | On | On
include_path | .:/opt/php/lib/php | .:/opt/php/lib/php
open_basedir | /home/www/a6a3c01eae969825698feb14c181e98e/:/tmp:/opt/php/lib/php/ | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail_r -t -i -fwebmaster@xxxxxxxxxxxxx.com | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 10 | 10
max_input_time | 10 | 10
upload_max_filesize | 48M | 48M
post_max_size | 48M | 48M
==========================
Page generated in 1245570609.935 seconds - 16 queries in 0 seconds - Album set : ; Meta set: ;





fred35

Dans votre configuration quels paramètres avez vous mis dans paramètres des images et des vignettes ?
Fred

fantome95

voici se que j'ai mis



fred35

Avez vous authorisé un quota dans guest pour que je puisse essayer de mettre une image ?
Fred

fantome95

j'ai mis 2000 kb , es suffisant?

fred35

avez vous vérifié le CHMOD de vos dossiers ?
Fred

fantome95

oui, ils etaient en 667 ce matin, avant de poser la question, se que j'ai trouver bizarre car hier , ils etaient bien en 777
la actuellement, j'ai reverifier deux fois :) ils sont bien en 777

a savoir , "album" "include" "edit" et "userpics"

fred35

Au final c'était quoi le problème ?
Fred

Pascal YAP

Problème effectivement.
Je viens de tester l'upload en mode URI/URL, sans succès.

Étant donné qu'il n'y a aucune image, je vous conseille de réinstaller votre Galerie. Vous ne risquez rien  ;)
Mais attendez Lundi une Version 1.4.25 sera disponible  ;)

fantome95

le prob, n'est pas resolu ???

je crois que vous avez cru que mon dernier message disait que les dossiers, n'etait pas en 777, mais si, ils le sont, et sa fonctionne pas  :(

fantome95

Bonjour Pascal, cela fait trois fois que je réinstall :), c'est d'ailleurs pour cela qu'il n'y a pas d'image,
ca fonctionne trés bien par l'ftp, si je creer un dossier, j'envoie les images par ftp, la galerie les prend bien,

mais tout l'interet et que j'ai des membres qui n'y connaissent rien en ftp, et veulent, juste un parcourir pour chercher sur leurs pc, les images a transfere,

merci a vous de votre aide

fantome95

absent 3 jours, je ne peux repondre si ya des avis, merci

Pascal YAP

#19
[edit by Frantz] la version cpg1.4.25 n'est pas encore publiée (mais ça ne saurait tarder), le lien ci dessous n'est donc pas disponible pour l'instant pour les visiteurs de ce forum. Pascal a été un peu trop rapide  ;D [/edit]
QuoteCorrectif upload HTTP disponible (cpg 1.4.25) =>
h t t p : / / forum.coppermine-gallery.net/index.php/topic,60269.0.html

Flûte  ! Shame on me ! Merci François pour le rappel à l'ordre  ;D