Probleme ajouts d'images FTP et Upload Probleme ajouts d'images FTP et Upload
 

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

Probleme ajouts d'images FTP et Upload

Started by lola81upa, September 13, 2008, 08:17:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lola81upa

Bonjour,
J'ai un probleme avec ma gallerie je n'arrive plus a y mettre d'images.
Par le FTP on me met des croix et quand je clique dessus j'ai "Impossible de creer la vignette ou l'image réduite" et par le Upload j'ajoute les images normal et on me met "Le fichier précédent n'a pas pu être placé." et plus bas "Vous avez placé tous les fichiers avec succès."
J'ai Stamm installé et enfet sa fesait longtemps que je mettais pas servi de la gallerie parce que j'avais un Trojan sur mon site et je me suis apperçu qu'il y a vait un lien vers la gallerie sur toute mes pages et ce lien menais a un fichier uploader par un utilisateur donc j'ai supprimé le fichier & co et depuis sa marche plus j'ai fait la maj mais rien n'y fait sa marche pas, pourtant j'ai essayé avec des petites images mais sa marche toujours pas ou alors sa marche et sa me met une croix.

Merci

François Keller

GD2 est bien sélectionné dans la config ?
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

lola81upa

Oui ya GD version 2x
ou j'ai Imagemagic et GD 1

J'ai oublié j'ai free mais j'ai une autre gallerie et elle marche.
Et je vient d'installé l'upload par Java et sa marche mais arrivé a appuyé sur Start il ne trouve pas la page

François Keller

QuoteJ'ai Stamm installé et enfet sa fesait longtemps que je mettais pas servi de la gallerie parce que j'avais un Trojan sur mon site et je me suis apperçu qu'il y a vait un lien vers la gallerie sur toute mes pages et ce lien menais a un fichier uploader par un utilisateur donc j'ai supprimé le fichier & co et depuis sa marche plus j'ai fait la maj mais rien n'y fait sa marche pas, pourtant j'ai essayé avec des petites images mais sa marche toujours pas ou alors sa marche et sa me met une croix.
est tu sur que le nettoyage du virus est complêt et que la configuration est bien remise en l'état ?
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

lola81upa

Normalement oui parce que j'ai mis la nouvelle version ya 2 ou 3 jours mais j'ai pas mis la nouvelle version des themes et il resté l'include mais j'ai tout effacé

Pascal YAP

Quoteil restait l'include mais j'ai tout effacé
IL FAUT TOUT NETTOYER !!!!
Sinon comment être certain d'être sain ?

lola81upa

J'ai regardé tout les fichier et il en resté 2 ou 3 mais j'ai effacé
Comment je peut faire pour la reinstallé sans supprimé ni les images ni les albums ?

lola81upa

J'ai activé le mode de débogage et comme remarques il me dit :

Quotethemes/water_drop/theme.php
Warning line 28: main(/mnt/103/sdb/f/e/ultimatemonica/gallery/albums/userpics/10001/45563131x.jpg) [function.main]: failed to open stream: No such file or directory
Warning line 28: main() [function.include]: Failed opening '/mnt/103/sdb/f/e/ultimatemonica/gallery/albums/userpics/10001/45563131x.jpg' for inclusion (include_path='/mnt/103/sdb/f/e/ultimatemonica/include:.:/usr/php4/lib/php')

et justement ce fichier .../10001/45563131x.jpg c'est là que yavait le trojan enfin c'est sa que je pense parce que sur toutes mes pages de mon site yavait un fichier include avec ce fichier et je lé supprimé et après mon anti virus n'a plus rien trouvé

François Keller

une petite recherche sur le forum et tu trouvera la solution (en post it sur ce forum)  ;)
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


lola81upa

Pour les albums je comprend pas je vais sur ma base SQL et j'exporte en texte de la table _album et une fois que j'aurais tout reinstallé je remet cette table ?

François Keller

je comprends pas ce que tu veux faire  :-\
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

lola81upa

Pour ne pas avoir a refaire tout les albums

Mais sa m'énerve un peu de tout devoir reinstallé ya vraiment pas de solution ?

Dans l'info e degugage
USER:
------------------
Array
(
    [ID] => ****
    [am] => 1
    [lang] => french
    [liv] => Array
        (
            [0] => 437
        )

    [lap] => 12
)

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

    [disk_max] => 0
    [disk_min] => 0
    [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
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg1411_filetypes; (0.003s)
    [1] => select * from cpg1411_plugins order by priority asc; (0.006s)
    [2] => delete from `ultimatemonica`.cpg1411_sessions where time<1221408066 and remember=0; (0.001s)
    [3] => delete from `ultimatemonica`.cpg1411_sessions where time<1220202066; (0.001s)
    [4] => select user_id from `ultimatemonica`.cpg1411_sessions where session_id = '0af8c1f8c37ec4bd5097daa33fb2a56c' (0.001s)
    [5] => select user_id as id, user_password as password from `ultimatemonica`.cpg1411_users where user_id=1 (0.002s)
    [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 `ultimatemonica`.cpg1411_users AS u INNER JOIN `ultimatemonica`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `ultimatemonica`.cpg1411_users AS u WHERE user_id='1' and user_group_list <> ''; (0.002s)
    [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 cpg1411_usergroups WHERE group_id in (1) (0.002s)
    [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `ultimatemonica`.cpg1411_sessions set time='1221411666' where session_id = '0af8c1f8c37ec4bd5097daa33fb2a56c' (0.008s)
    [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg1411_banned WHERE expiry < '2008-09-14 17:01:06' (0.003s)
    [13] => SELECT * FROM cpg1411_banned WHERE (ip_addr='86.201.3.160' OR ip_addr='86.201.3.160' OR user_id=1) AND brute_force=0 (0.005s)
    [14] => SELECT cid, name, description, thumb FROM cpg1411_categories WHERE parent = ''  ORDER BY pos (0.003s)
    [15] => SELECT aid FROM cpg1411_albums as a WHERE category>=10000 (0.002s)
    [16] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0.001s)
    [17] => SELECT aid FROM cpg1411_albums WHERE category = 2 (0.001s)
    [18] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0.001s)
    [19] => SELECT aid FROM cpg1411_albums WHERE category = 3 (0s)
    [20] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0.001s)
    [21] => SELECT aid FROM cpg1411_albums WHERE category = 4 (0.001s)
    [22] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0s)
    [23] => SELECT aid FROM cpg1411_albums WHERE category = 5 (0s)
    [24] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0.001s)
    [25] => SELECT count(*) FROM cpg1411_albums as a WHERE category = '5' (0.001s)
    [26] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_albums as a LEFT JOIN cpg1411_pictures as p ON a.thumb=p.pid WHERE category=5 ORDER BY a.pos LIMIT 0,10 (0.001s)
    [27] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg1411_albums AS a  LEFT JOIN cpg1411_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (23, 24, 26, 35, 38, 46, 69, 73, 76, 92)GROUP BY a.aid (0.001s)
    [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='301' (0.002s)
    [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='205' (0.003s)
    [30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='218' (0.001s)
    [31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='324' (0.001s)
    [32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='272' (0.001s)
    [33] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='299' (0.001s)
    [34] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='319' (0.001s)
    [35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='335' (0.017s)
    [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='341' (0.001s)
    [37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='428' (0.001s)
    [38] => SELECT aid FROM cpg1411_albums WHERE category = 6 (0.001s)
    [39] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 6 (0.002s)
    [40] => SELECT count(*) FROM cpg1411_albums as a WHERE category = '6' (0s)
    [41] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_albums as a LEFT JOIN cpg1411_pictures as p ON a.thumb=p.pid WHERE category=6 ORDER BY a.pos LIMIT 0,12 (0.001s)
    [42] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg1411_albums AS a  LEFT JOIN cpg1411_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (28, 29, 30, 31, 32, 34, 37, 41, 42, 43, 47, 70)GROUP BY a.aid (0.001s)
    [43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='241' (0.002s)
    [44] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='307' (0.002s)
    [45] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='232' (0.001s)
    [46] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='240' (0s)
    [47] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='288' (0.002s)
    [48] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='253' (0s)
    [49] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='256' (0s)
    [50] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='280' (0.001s)
    [51] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='285' (0.001s)
    [52] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='287' (0.001s)
    [53] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='300' (0.001s)
    [54] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='318' (0.001s)
    [55] => SELECT aid FROM cpg1411_albums WHERE category = 7 (0.001s)
    [56] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
    [57] => SELECT aid FROM cpg1411_albums WHERE category = 8 (0s)
    [58] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0.001s)
    [59] => SELECT count(*) FROM cpg1411_albums as a WHERE category = '8' (0.002s)
    [60] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_albums as a LEFT JOIN cpg1411_pictures as p ON a.thumb=p.pid WHERE category=8 ORDER BY a.pos LIMIT 0,1 (0.002s)
    [61] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg1411_albums AS a  LEFT JOIN cpg1411_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (44)GROUP BY a.aid (0.002s)
    [62] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='310' (0.001s)
    [63] => SELECT aid FROM cpg1411_albums as a WHERE category = '0' (0.001s)
    [64] => SELECT count(*) FROM cpg1411_albums as a WHERE 1 (0.002s)
    [65] => SELECT count(*) FROM cpg1411_pictures as p LEFT JOIN cpg1411_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.001s)
    [66] => SELECT count(*) FROM cpg1411_comments as c LEFT JOIN cpg1411_pictures as p ON c.pid=p.pid LEFT JOIN cpg1411_albums as a ON a.aid=p.aid WHERE 1 (0.002s)
    [67] => SELECT count(*) FROM cpg1411_categories WHERE 1 (0s)
    [68] => SELECT sum(hits) FROM cpg1411_pictures as p LEFT JOIN cpg1411_albums as a ON p.aid=a.aid WHERE 1 (0.001s)
    [69] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0s)
    [70] => SELECT count(*) FROM cpg1411_albums as a WHERE category = '0' (0.001s)
    [71] => SELECT COUNT(*) from cpg1411_pictures WHERE approved = 'YES'  (0.001s)
    [72] => SELECT * FROM cpg1411_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8 (0.01s)
    [73] => SELECT COUNT(*) from cpg1411_pictures WHERE approved = 'YES'  (0s)
    [74] => SELECT * FROM cpg1411_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8 (0.002s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.3-dev - OK
------------------
mySQL version: 5.0.67
------------------
Coppermine version: 1.4.19(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Client API version 5.0.51a
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/mysql-client/include/mysql
MYSQL_LIBS -L/usr/mysql-client/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3.3
Linked Version 1.2.3.3
==========================
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 | On | On
disable_functions | no value | no value
file_uploads | On | On
include_path | /mnt/103/sdb/f/e/ultimatemonica/include:.:/usr/php4/lib/php | .:/usr/php4/lib/php/
open_basedir | /mnt/103/sdb/f/e/ultimatemonica | 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 | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 2M | 2M
==========================
Page generated in 0.533 seconds - 75 queries in 0.126 seconds - Album set : ; Meta set: ;


Si sa peut vous aidé

lola81upa

J'ai essayé avec des petites images de 100x100px sa marche mais pas avec des 600x900px pourtant j'ai mis une faible résolution

François Keller

mais il n'y a pas à tout réinstaller  ???
expliques clairement ce que tu es en train de faire pour qu'on puisse t'aider
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

lola81upa

Je n'arrive pas a mettre des images de plus de 100x100px sur la gallerie j'ai regardé dans la configuration et tout est normal

lola81upa

J'ai remis la configuration a 0 et sa remarche

Merci

François Keller

je n'ai toujours pas compris ce que tua faisais, mais si sa marche tant mieux...
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