Problema con upload Problema con upload
 

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

Problema con upload

Started by wilrino, October 24, 2007, 01:17:23 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

wilrino

vaii!
grazie ragazzi!

ora almeno sono riuscito a tornare alla situazione iniziale! (commenti senza plugin) ;D

però non è finita...  >:(
purtroppo ho notato che se inserisco delle immagini, nella pagina dove devo specificare il nome e in che album va caricata la foto, non mi appare l'anteprima e poi proseguendo mi scrive:  "Il file precedente non può essere inserito. Tutti i files inseriti con successo."

dove vanno a finire i file che vengono uppati? così verifico se effettivamente vengono caricati!
oppure c'è qualke file ke nel riportarlo alla versione originale nn va + bene...

è possibile fare il backup della galleria, scegliendo cosa tenere? (intendo la struttura album, categorie, commenti ecc...)
così magari rimettevo su tutto di nuovo!!

grazie
ciao!!

twist

E' un po' vago.
fai una cosa: loggati come admin, poi
Cofigurazione
Impostazioni Manutenzione
Abilita debug mode

Riprova e fai copia incolla di cio' che appare nella finestra di debug. Vediamo qual'e' il problema

wilrino

#2
ecco:

[tt]USER:
------------------
Array
(
    [ID] => dca011590560bc5102e6919c7507bbda
    [am] => 1
    [lang] => italian
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => wilrino
    [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 cpg148_filetypes; (0s)
    [1] => select * from cpg148_plugins order by priority asc; (0s)
    [2] => delete from `my_wilrino`.cpg148_sessions where time<1193244911 and remember=0; (0s)
    [3] => delete from `my_wilrino`.cpg148_sessions where time<1192038911; (0s)
    [4] => select user_id from `my_wilrino`.cpg148_sessions where session_id=md5("eb125f58c1af5fcdfaa3eec172ec718a0e53acf295b05ceef61d367c2312e3db"); (0s)
    [5] => select user_id as id, user_password as password from `my_wilrino`.cpg148_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 `my_wilrino`.cpg148_users AS u INNER JOIN `my_wilrino`.cpg148_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `my_wilrino`.cpg148_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 cpg148_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 1 (0s)
    [10] => update `my_wilrino`.cpg148_sessions set time='1193248511' where session_id=md5('eb125f58c1af5fcdfaa3eec172ec718a0e53acf295b05ceef61d367c2312e3db'); (0s)
    [11] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg148_banned WHERE expiry < '2007-10-24 19:55:11' (0s)
    [13] => SELECT * FROM cpg148_banned WHERE (ip_addr='213.156.55.139' OR ip_addr='213.156.55.139' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = ''  ORDER BY pos (0.018s)
    [15] => SELECT aid FROM cpg148_albums as a WHERE category>=10000 (0s)
    [16] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
    [17] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '1'  ORDER BY pos (0s)
    [18] => SELECT aid FROM cpg148_albums WHERE category = 3 (0s)
    [19] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
    [20] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '3'  ORDER BY pos (0s)
    [21] => SELECT aid FROM cpg148_albums WHERE category = 4 (0s)
    [22] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0s)
    [23] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '4'  ORDER BY pos (0s)
    [24] => SELECT aid FROM cpg148_albums WHERE category = 5 (0s)
    [25] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0s)
    [26] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '5'  ORDER BY pos (0s)
    [27] => SELECT aid FROM cpg148_albums WHERE category = 7 (0s)
    [28] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
    [29] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '7'  ORDER BY pos (0s)
    [30] => SELECT aid FROM cpg148_albums WHERE category = 20 (0s)
    [31] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 20 (0s)
    [32] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '20'  ORDER BY pos (0s)
    [33] => SELECT aid FROM cpg148_albums WHERE category = 22 (0s)
    [34] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 22 (0s)
    [35] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '22'  ORDER BY pos (0s)
    [36] => SELECT aid FROM cpg148_albums WHERE category = 23 (0s)
    [37] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 23 (0s)
    [38] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '23'  ORDER BY pos (0s)
    [39] => SELECT aid FROM cpg148_albums WHERE category = 24 (0s)
    [40] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 24 (0s)
    [41] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '24'  ORDER BY pos (0s)
    [42] => SELECT aid FROM cpg148_albums WHERE category = 6 (0s)
    [43] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 6 (0s)
    [44] => SELECT count(*) FROM cpg148_albums as a WHERE category = '6' (0s)
    [45] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg148_albums as a LEFT JOIN cpg148_pictures as p ON a.thumb=p.pid WHERE category=6 ORDER BY a.pos LIMIT 0,1 (0s)
    [46] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg148_albums AS a  LEFT JOIN cpg148_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (7)GROUP BY a.aid (0s)
    [47] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='518' (0s)
    [48] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '6'  ORDER BY pos (0.001s)
    [49] => SELECT aid FROM cpg148_albums WHERE category = 8 (0s)
    [50] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0s)
    [51] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '8'  ORDER BY pos (0s)
    [52] => SELECT aid FROM cpg148_albums WHERE category = 9 (0s)
    [53] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 9 (0s)
    [54] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '9'  ORDER BY pos (0s)
    [55] => SELECT aid FROM cpg148_albums WHERE category = 11 (0s)
    [56] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 11 (0s)
    [57] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '11'  ORDER BY pos (0s)
    [58] => SELECT aid FROM cpg148_albums WHERE category = 12 (0s)
    [59] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 12 (0s)
    [60] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '12'  ORDER BY pos (0s)
    [61] => SELECT aid FROM cpg148_albums WHERE category = 13 (0s)
    [62] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 13 (0s)
    [63] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '13'  ORDER BY pos (0s)
    [64] => SELECT aid FROM cpg148_albums WHERE category = 15 (0s)
    [65] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 15 (0s)
    [66] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '15'  ORDER BY pos (0s)
    [67] => SELECT aid FROM cpg148_albums WHERE category = 17 (0s)
    [68] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 17 (0s)
    [69] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '17'  ORDER BY pos (0s)
    [70] => SELECT aid FROM cpg148_albums WHERE category = 16 (0s)
    [71] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 16 (0s)
    [72] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '16'  ORDER BY pos (0s)
    [73] => SELECT aid FROM cpg148_albums WHERE category = 10 (0s)
    [74] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 10 (0s)
    [75] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '10'  ORDER BY pos (0s)
    [76] => SELECT aid FROM cpg148_albums WHERE category = 18 (0s)
    [77] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 18 (0s)
    [78] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '18'  ORDER BY pos (0s)
    [79] => SELECT aid FROM cpg148_albums WHERE category = 19 (0s)
    [80] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 19 (0s)
    [81] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '19'  ORDER BY pos (0s)
    [82] => SELECT aid FROM cpg148_albums WHERE category = 21 (0s)
    [83] => SELECT count(*) FROM cpg148_pictures as p, cpg148_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 21 (0s)
    [84] => SELECT cid, name, description, thumb FROM cpg148_categories WHERE parent = '21'  ORDER BY pos (0s)
    [85] => SELECT aid FROM cpg148_albums as a WHERE category = '0' (0s)
    [86] => SELECT count(*) FROM cpg148_albums as a WHERE 1 (0s)
    [87] => SELECT count(*) FROM cpg148_pictures as p LEFT JOIN cpg148_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
    [88] => SELECT count(*) FROM cpg148_comments as c LEFT JOIN cpg148_pictures as p ON c.pid=p.pid LEFT JOIN cpg148_albums as a ON a.aid=p.aid WHERE 1 (0s)
    [89] => SELECT count(*) FROM cpg148_categories WHERE 1 (0s)
    [90] => SELECT sum(hits) FROM cpg148_pictures as p LEFT JOIN cpg148_albums as a ON p.aid=a.aid WHERE 1 (0s)
    [91] => SELECT COUNT(*) FROM cpg148_pictures WHERE approved = 'NO' (0s)
    [92] => SELECT count(*) FROM cpg148_albums as a WHERE category = '0' (0s)
    [93] => SELECT a.aid, a.title, a.description, category, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg148_albums as a LEFT JOIN cpg148_pictures as p ON a.thumb=p.pid WHERE category=0 ORDER BY a.pos LIMIT 0,3 (0s)
    [94] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg148_albums AS a  LEFT JOIN cpg148_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (2, 4, 25)GROUP BY a.aid (0s)
    [95] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='793' (0s)
    [96] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg148_pictures WHERE pid='792' (0s)
    [97] => SELECT COUNT(*) from cpg148_pictures WHERE approved = 'YES'  (0s)
    [98] => SELECT * FROM cpg148_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 6 (0.023s)
    [99] => SELECT count(*) from cpg148_comments where pid=284 and msg_id!=0 (0s)
    [100] => SELECT count(*) from cpg148_comments where pid=134 and msg_id!=0 (0s)
    [101] => SELECT count(*) from cpg148_comments where pid=158 and msg_id!=0 (0s)
    [102] => SELECT count(*) from cpg148_comments where pid=430 and msg_id!=0 (0s)
    [103] => SELECT count(*) from cpg148_comments where pid=918 and msg_id!=0 (0s)
    [104] => SELECT count(*) from cpg148_comments where pid=107 and msg_id!=0 (0s)
    [105] => SELECT COUNT(*) from cpg148_pictures WHERE approved = 'YES'  (0s)
    [106] => SELECT * FROM cpg148_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,6 (0s)
    [107] => SELECT count(*) from cpg148_comments where pid=979 and msg_id!=0 (0s)
    [108] => SELECT count(*) from cpg148_comments where pid=978 and msg_id!=0 (0s)
    [109] => SELECT count(*) from cpg148_comments where pid=977 and msg_id!=0 (0s)
    [110] => SELECT count(*) from cpg148_comments where pid=976 and msg_id!=0 (0s)
    [111] => SELECT count(*) from cpg148_comments where pid=975 and msg_id!=0 (0s)
    [112] => SELECT count(*) from cpg148_comments where pid=974 and msg_id!=0 (0s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.8-dev - OK
------------------
mySQL version: 4.1.22-standard-log
------------------
Coppermine version: 1.4.8(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 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
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |
==========================
email
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |
==========================
Size and Time
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |
==========================
Page generated in 0.209 seconds - 113 queries in 0.042 seconds - Album set : ; Meta set: ;[/tt]


però mi sà ke da qui nn si vede...

grazie!!

twist

Ok bene.
A questo punto prova a rieseguire i passaggi che ti davano problemi. Ad ogni step che fai, scorri in basso alla pagina, e controlla in Annotazioni.
Li ti indica cosa c'e' che non va

Davide Renda

Quotepurtroppo ho notato che se inserisco delle immagini, nella pagina dove devo specificare il nome e in che album va caricata la foto, non mi appare l'anteprima e poi proseguendo mi scrive:  "Il file precedente non può essere inserito. Tutti i files inseriti con successo."
Verifica i permessi della cartella /albums e di tutte le sottocartelle. Verifica inoltre che esista una cartella /albums/edit (scrivibile e leggibile) e che sia vuota.
Infine, controlla che la dimensione del file caricato non ecceda il limite da te selezionato (dal pannello CONFIG)

Quotedove vanno a finire i file che vengono uppati? così verifico se effettivamente vengono caricati!
oppure c'è qualke file ke nel riportarlo alla versione originale nn va + bene...
Dipende quale sistema usi. Tramite ftp sei tu a scegliere in quale cartella (quindi dovresti saperlo!), tramite il pulsante UPLOAD finiscono nella cartella /albums/userpics/10001 (se connesso come admin, altrimenti un numero crescente da 10002 in poi se un altro utente), infine tramite XP_Publish in una cartella /album/wpw-aaaammgg (dove aaa è l'anno, mm il mese e gg il giorno).

Quoteè possibile fare il backup della galleria, scegliendo cosa tenere? (intendo la struttura album, categorie, commenti ecc...)
http://forum.coppermine-gallery.net/index.php?topic=43079.0

su questo forum vige la policy di una domanda per thread, la prossima volta aprine uno (o più d'uno) nuovo anziché attaccarti ad un pre-esistente andando fuori tema, grazie.

wilrino

scusami, è vero dovevo aprire un nuovo topic...

Quoteprova a rieseguire i passaggi che ti davano problemi. Ad ogni step che fai, scorri in basso alla pagina, e controlla in Annotazioni.
non trovo "annotazioni"... cmq il log che ho copiato è quello che appare nell'ultima pagina del processo di upload, quella dove dice Il file precedente non può essere inserito. Tutti i files inseriti con successo.

Quoteverifica i permessi della cartella /albums e di tutte le sottocartelle.
come permessi sono impostate a 775... ho provato a metterle a 777, ma non è cambiato niente..

Quoteche esista una cartella /albums/edit (scrivibile e leggibile) e che sia vuota.
la cartella esiste, ma non è vuota... c'è il file index.html e una cartella vuota: no_FTP-uploads_into_this_folder! Ma mi sembra di ricordare che fosse sempre stata così..

Quotela dimensione del file caricato non ecceda il limite da te selezionato
purtroppo nn è neanche questo.. ho provato ad uppare file piccoli, anke solo x velocizzare le prove!

Comunque i file vengono uppati!!!
finiscono nella cartella..
se li apro scrivendo il percorso completo li vedo... ma nn appaiono nella galleria
e quello che non capisco è che non appaiono neanche nell'anteprima, quando bisogna scegliere in che album salvarla!

è un problema nella creazione del database?

Davide Renda

Quale sistema usi per ridimensionare le immagini, GD o ImageMagick? E qual è il tuo host?

wilrino

QuoteGD o ImageMagick?
ImageMagick

Quotequal è il tuo host
intendi altervista? giusto?

il sito è questo: "H_T_T_P : / / wilrino.altervista.org/coppermine"

Davide Renda

La cosa buffa è che il sito pare funzionare bene. Hai provato caricando files da FTP se riesci a metterli dentro?
Ti spiacerebbe darmi un account da utente normale + password in modo da provare a caricare qualche file per vedere che succede?

wilrino

ho provato via ftp e premendo su "clicca x dettagli o x ricaricare" appare: Impossibile creare la miniatura o l'immagine di dimensioni intermedie.

l'utente te lo mando in via privata.

grazie mille!

Davide Renda

Ho dato un'occhiata veloce e, secondo me, c'è qualcosa che non va nel database mySQL. Le foto sono caricate dallo script, ma all'atto di ridimensionarle e posizionarle nell'album scelto, si blocca "l'ambaradan".
Hai un backup del database mySQL precedente all'installazione di Captcha? Se non lo hai, prova a restaurare le tabelle con PHPmyadmin o con il sistema che Altervista propone per gestire il database.

wilrino

il backup purtroppo non ce l'ho...
ho provato ad entrare con phpmyadmin, ma non ho trovato un comando restaura...

l'unico avvertimento che ho trovato è nella Tabella: cpg148_pictures
che riporta: "Più di una chiave INDEX è stata creata per la colonna `aid`"
ma non sò come risolverla...

qualcuno ha altervista?

grazie!

wilrino

non trovando un comando x restaurare il database ho provato a copiare tutti i file facendo l'update all'ultima versione: cpg1413... sperando cambiasse qualcosa ma nada....  >:(

wilrino

ragazzi.. HO RISOLTO!!!

mi vergogno un pò a dirlo... ma credo potrebbe d'essere d'aiuto a qualcuno in futuro!!

in configurazione - Impostazioni avanzate Files e miniature - Metodo di ridimensionamento immagini
c'era impostato ImageMagick...
l'ho cambiato in GD v.2 e ora funziona!!!

il dubbio mi è venuto perchè quando facevo l'upload nn veniva visualizzata l'anteprima, ma sul server veniva caricato il file!!!

bò mi sembrava d'aver già provato a cambiare quell'impostazione..

vabbè meglio così!!!

grazie a tutti x i consigli e x la pazienza!!!

tramas

stesso problema ma non con la stessa soluzione.........

ecco il mio debug mode:

QuoteUSER:
------------------
Array
(
    [ID] => fd895c76b8a44be02a6cf9e7fa6c1c3b
    [am] => 1
    [lang] => italian
    [liv] => Array
        (
           
  • => 145
                [1] => 197
                [2] => 153
                [3] => 279
                [4] => 271
            )

        [sort] => pa
        [lap] => 1
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_name] => tramas
        [groups] => Array
            (
               
  • => 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
    (
       
  • => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0.001s)
        [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `tramas_db_1`.cpg14x_sessions where time<1210060689 and remember=0; (0.001s)
        [3] => delete from `tramas_db_1`.cpg14x_sessions where time<1208854689; (0s)
        [4] => select user_id from `tramas_db_1`.cpg14x_sessions where session_id = '3064e5ea2373b9f6ebbe37305c0ca41e' (0.001s)
        [5] => select user_id as id, user_password as password from `tramas_db_1`.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 `tramas_db_1`.cpg14x_users AS u INNER JOIN `tramas_db_1`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `tramas_db_1`.cpg14x_users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
        [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 `tramas_db_1`.cpg14x_sessions set time='1210064289' where session_id = '3064e5ea2373b9f6ebbe37305c0ca41e' (0.001s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-05-06 08:58:09' (0.001s)
        [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='62.48.45.20' OR ip_addr='62.48.45.20' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = ''  ORDER BY pos (0.001s)
        [15] => SELECT aid FROM cpg14x_albums WHERE category = 5 (0s)
        [16] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0s)
        [17] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='15' (0s)
        [18] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '5' (0s)
        [19] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=5 ORDER BY a.pos LIMIT 0,12 (0s)
        [20] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (3, 5, 7, 9, 11, 13, 15, 17, 19, 25, 27, 29)GROUP BY a.aid (0s)
        [21] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='29' (0s)
        [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='39' (0s)
        [23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='51' (0s)
        [24] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='67' (0s)
        [25] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='73' (0s)
        [26] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='97' (0s)
        [27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='103' (0s)
        [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='115' (0s)
        [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='125' (0s)
        [30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='157' (0s)
        [31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='207' (0s)
        [32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='265' (0s)
        [33] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '5'  ORDER BY pos (0s)
        [34] => SELECT aid FROM cpg14x_albums WHERE category = 7 (0s)
        [35] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
        [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='269' (0s)
        [37] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '7' (0s)
        [38] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=7 ORDER BY a.pos LIMIT 0,2 (0s)
        [39] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (23, 31)GROUP BY a.aid (0s)
        [40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='349' (0s)
        [41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_pictures WHERE pid='339' (0s)
        [42] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '7'  ORDER BY pos (0s)
        [43] => SELECT aid FROM cpg14x_albums as a WHERE category>=10000 (0s)
        [44] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
        [45] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '1'  ORDER BY pos (0s)
        [46] => SELECT aid FROM cpg14x_albums WHERE category = 13 (0s)
        [47] => SELECT count(*) FROM cpg14x_pictures as p, cpg14x_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 13 (0s)
        [48] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '13' (0.002s)
        [49] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg14x_albums as a LEFT JOIN cpg14x_pictures as p ON a.thumb=p.pid WHERE category=13 ORDER BY a.pos LIMIT 0,1 (0s)
        [50] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg14x_albums AS a  LEFT JOIN cpg14x_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (37)GROUP BY a.aid (0s)
        [51] => SELECT cid, name, description, thumb FROM cpg14x_categories WHERE parent = '13'  ORDER BY pos (0s)
        [52] => SELECT aid FROM cpg14x_albums as a WHERE category = '0' (0s)
        [53] => SELECT count(*) FROM cpg14x_albums as a WHERE 1 (0s)
        [54] => SELECT count(*) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
        [55] => SELECT count(*) FROM cpg14x_comments as c LEFT JOIN cpg14x_pictures as p ON c.pid=p.pid LEFT JOIN cpg14x_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [56] => SELECT count(*) FROM cpg14x_categories WHERE 1 (0s)
        [57] => SELECT sum(hits) FROM cpg14x_pictures as p LEFT JOIN cpg14x_albums as a ON p.aid=a.aid WHERE 1 (0s)
        [58] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
        [59] => SELECT count(*) FROM cpg14x_albums as a WHERE category = '0' (0s)
        [60] => SELECT COUNT(*) from cpg14x_pictures WHERE approved = 'YES'  (0s)
        [61] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 4 (0.003s)
        [62] => SELECT COUNT(*) from cpg14x_pictures WHERE approved = 'YES'  (0s)
        [63] => SELECT * FROM cpg14x_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,4 (0s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.2-1build1 - OK
    ------------------
    mySQL version: 5.0.22-Debian_0ubuntu6.06.9-log
    ------------------
    Coppermine version: 1.4.13(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: 2.0 or higher
    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:
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 5.0.22
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    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 | .:/srv/www/tramas.it | no value
    safe_mode_gid | On | Off
    safe_mode_include_dir | .:/srv/www/tramas.it:/usr/share/php:/usr/share/phpmyadmin:/etc/phpmyadmin/ | no value
    safe_mode_exec_dir | .:/srv/www/tramas.it | no value
    sql.safe_mode | Off | Off
    disable_functions | no value | no value
    file_uploads | On | On
    include_path | .:/srv/www/tramas.it:/usr/share/php | .:/usr/share/php:/usr/share/pear
    open_basedir | .:/srv/www/tramas.it:/usr/share/php:/usr/share/phpmyadmin:/etc/phpmyadmin/ | 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 | 1120 | 1120
    upload_max_filesize | 4M | 32M
    post_max_size | 4M | 36M
    ==========================
    Page generated in 0.294 seconds - 64 queries in 0.013 seconds - Album set : ; Meta set: ;
vedete qualcosa che non va??? ::)

wilrino

Ciao,
guarda.. x un'altro problema ho dovuto reinstallare tutto coppermine.. e non funzionava di a me è successo di nuovo.. allora mi sn rotto e ho trasferito tutto su aruba.. ora va tutto compresi i plugin.
Non dico di dover comprare un sito su aruba.. ma potresti provare su un'altro spazio free.. x vedere se magari è un problema di chi fornisce lo spazio... come molto probabilmente capitava a me!

in bocca al lupo!