Non carica foto ad altissima definizione! Non carica foto ad altissima definizione!
 

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

Non carica foto ad altissima definizione!

Started by trapne;, June 13, 2009, 10:07:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

trapne;

Ok, giuro che è l'ultima volta che rompo  ;D

Il mio ultimo problema è: come uppare, tramite aggiunta batch, foto che superano almeno i 2000 pixel di risoluzione? La mia è una gallery che dovrebbe contenere al suo interno foto di altissima qualità..
ho provato, dunque, a caricare tramite batch, (avendola uppata con Filezilla prima nella cartella albums) la mia immagine HQ.

misura esattamente 3504x2293 pixels.
Quindi è versione maxi!
Ma al momento del batch non riesco a caricarla (non crea nemmeno l'anteprima), vi scrivo qui di seguito il cod di errore che mi dà tramite le info di debug...
Grazie in anticipo a chiunque sappia metterci mano!


USER:
------------------
Array
(
    [ID] => 8951fbe398655b97c6bc56b153de2a0f
    [am] => 1
    [lang] => italian
    [liv] => Array
        (
            [0] => 11
            [1] => 9
            [2] => 10
            [3] => 8
            [4] => 16
        )

    [lap] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => trapnest91
    [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 galleryfiletypes; (0.001s)
    [1] => select * from galleryplugins order by priority asc; (0s)
    [2] => delete from `coppermine`.gallerysessions where time<1244919722 and remember=0; (0s)
    [3] => delete from `coppermine`.gallerysessions where time<1243713722; (0s)
    [4] => select user_id from `coppermine`.gallerysessions where session_id = '0033d04c201dba494a83260396d38f62' (0.005s)
    [5] => select user_id as id, user_password as password from `coppermine`.galleryusers 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 `coppermine`.galleryusers AS u INNER JOIN `coppermine`.galleryusergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `coppermine`.galleryusers 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 galleryusergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  galleryusergroups WHERE group_id= 1 (0s)
    [10] => update `coppermine`.gallerysessions set time='1244923322' where session_id = '0033d04c201dba494a83260396d38f62' (0s)
    [11] => SELECT user_favpics FROM galleryfavpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM gallerybanned WHERE expiry < '2009-06-13 20:02:02' (0s)
    [13] => SELECT * FROM gallerybanned WHERE (ip_addr='79.12.111.13' OR ip_addr='79.12.111.13' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM galleryalbums WHERE 1 (0.001s)
    [15] => SELECT COUNT(*) FROM gallerypictures WHERE approved = 'NO' (0s)
    [16] => SELECT filepath, filename FROM gallerypictures WHERE filepath LIKE 'backssssss%' (0s)
    [17] => SELECT aid, title FROM galleryalbums WHERE category = 0 (0s)
    [18] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM galleryalbums as a, gallerycategories as c WHERE a.category = c.cid AND a.category < '10000' (0.001s)
    [19] => SELECT aid, CONCAT('(', user_name, ') ', a.title) AS title
                                                        FROM galleryalbums AS a
                                                        INNER JOIN `coppermine`.galleryusers AS u
                                                        ON category = (10000 + 1) AND user_id = 1 ORDER BY title (0s)
)

==========================
GET :
------------------
Array
(
    [startdir] => backssssss
)

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

==========================
VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 5.0.58
------------------
Coppermine version: 1.4.21(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 4.1.22
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.2.2
Linked Version 1.2.2.2
==========================
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 | dl,exec,passthru,proc_open,proc_close,shell_exec,system | dl,exec,passthru,proc_open,proc_close,shell_exec,system
file_uploads | On | On
include_path | .: | .:
open_basedir | /var/www/vhosts/tokiohotelitalia.com/httpdocs:/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 | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.213 seconds - 20 queries in 0.008 seconds - Album set : ; Meta set: ;





e come Annotazioni vien fuori ciò:
/include/functions.inc.php

    * Notice line 2732: Undefined variable: i

/searchnew.php

    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 101: Undefined variable: sel_album
    * Notice line 169: Undefined variable: fullimagesize
    * Notice line 170: Undefined variable: fullimagesize

twist

Immagini più piccole diciamo max 1200px le carica? L'upload normale tramite form va? Link alla gallery, eventuale test user??

trapne;

sì, immagini più piccole le carica, almeno fino a 1000 pixel credo!
l'upload normale non va nemmeno quello (sempre con foto grandi in modo eccessivo)!

la gallery è qui: (scusate lo spam)
http://tokiohotelitalia.com/gallery/

twist

beh hai configurato coppermine per supportare tali immagini vero?

trapne;

in che senso? avrei dovuto fare qualcosa che mi è sfuggito?

twist

nel senso che devi sistemare i parametri "Dimensioni massime per files da uploadare (KB)" e "Larghezza o altezza massime per immagini/video da uploadare (pixels)" nella sezione "Impostazioni Files e Miniature"

Davide Renda

Potrebbe anche essere una limitazione del server, magari condiviso. Dai un'occhiata al file phpinfo, soprattutto la voce upload_max_filesize e, se disponibile, prova ad utilizzare ImageMagick e non GD per la gestione delle miniature.

trapne;

niente da fare ;___;
in "Impostazioni Files" ho aumentato il form di moltissimo (ho inserito una cifra enorme, tipo 999999999999 o una cosa del genere), e ho anche guardato sul file phpinfo, e non è disponibile la voce "upload_max_filesize".
Il problema è che durante l'aggiunta batch non mi visualizza le miniature all'interno della cartella, e di conseguenza, quando clicco su avanti, non mi riconosce alcun file!

twist

upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M

Cmq questi non influiscono se usi ftp upload e mettere valori fuori norma di certo non aiuterà a risolvere il problema, piuttosto, i permessi sono a posto?

trapne;

quelle due stringe potrei inserirle all'interno del mio file phpinfo?

eccome se i permessi sono a posto, ho settato tutto su 777 T_T

Ludo

Quote from: trapne; on June 13, 2009, 10:07:03 PMIl mio ultimo problema è: come uppare, tramite aggiunta batch, foto che superano almeno i 2000 pixel di risoluzione?
Aumentando opportunamente la memoria disponibile alla direttiva memory_limit nella configurazione di PHP.

Quoteho provato, dunque, a caricare tramite batch, (avendola uppata con Filezilla prima nella cartella albums) la mia immagine HQ.

misura esattamente 3504x2293 pixels.
Servono almeno 23 MB di memoria (meglio che ne imposti 32).

trapne;

il mio problema è che non c'è, tra i files di installazione, il php.ini!  ???

Ludo

Se non hai accesso al file di configurazione di PHP, devi richiedere la modifica all'amministratore del server.

trapne;

Chiedo scusa, ma.. in questo caso dovrei mandare una mail a Solodomini, dicendo di editare il mio php.ini?  :-[

Ludo


Davide Renda

Essendo, però, Solodomini un sistema di server condivisi, temo che i parametri PHP siano fissi e non modificabili. Stesso, simile problema con Aruba ed altri "shared hosts".

Ludo

Come avevi già suggerito, se sul server è installato ImageMagick vale la pena di provarlo, dovrebbe presentare minori problemi di "consumi" ;)