MINIATURE delle CATEGORIE [CPG 1.4.x Stramm] MINIATURE delle CATEGORIE [CPG 1.4.x Stramm]
 

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

MINIATURE delle CATEGORIE [CPG 1.4.x Stramm]

Started by fax82, July 11, 2008, 01:30:43 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

fax82

Buongiorno...stò provando a caricare le miniature nelle categorie....ma non ci riescooooo!!

Controllando la configurazione...  :o

http://www.fax82.com/errori/errore2.jpg [Edit GauGau] Replaced hotlinked image with attachment "errore2.jpg" [/Edit]

Non si salva il SI..della voce MOSTRA MINIATURE ALBUM ECC...che non sò neanche se si riferisce a quello che voglio fare io  :-\ !!!

Comunque...se vado in CATEGORIE...e modifico una categoria, riesco a caricare la miniatura da visualizzare:

http://www.fax82.com/errori/errore3.jpg [Edit GauGau] Replaced hotlinked image with attachment "errore3.jpg" [/Edit]

..ma quando vado a vedere gli album...la miniatura affianco alla categoria si vede così, o meglio non si vede  ??? :

http://www.fax82.com/errori/errore1.jpg [Edit GauGau] Replaced hotlinked image with attachment "errore1.jpg" [/Edit]

Come mai!??!


E' un problema noto?? ???

Grazie mille! ;)

Ludo



Ludo

Attualmente accanto al nome di ciascuna categoria compare l'immagine "segnaposto" prevista quando non è indicata alcuna miniatura: sembrerebbe, quindi, che il problema stia nell'aggiornamento del database.
Attiva la modalità debug con visualizzazione dei messaggi PHP, e fai un copia/incolla di questi ultimi.

P.S. Audentes fortuna iuvat non è una frase celebre di Machiavelli, ma un motto latino piuttosto comune, che tutt'al più è stato utilizzato per primo in letteratura da Virgilio.

fax82

USER:
------------------
Array
(
    [ID] => a5faa753b715d059a97604851957cf2e
    [am] => 1
    [lang] => italian
    [liv] => Array
        (
            [0] => 1854
            [1] => 2068
            [2] => 1841
            [3] => 1843
            [4] => 1842
        )

    [theme] => chaoticsoul
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [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 cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `Sql176166_4`.cpg14x_sessions where time<1215784201 and remember=0; (0.001s)
    [3] => delete from `Sql176166_4`.cpg14x_sessions where time<1214578201; (0.001s)
    [4] => select user_id from `Sql176166_4`.cpg14x_sessions where session_id=md5("34989bde6547a5a7adca440d1513f8c717b7a13e7a96ce2446d61e717a787b58"); (0s)
    [5] => select user_id as id, user_password as password from `Sql176166_4`.cpg14x_users where user_id=1 (0.001s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.avatar_url AS avatar_url, u.enable_admin_email AS notify, u.auto_subscribe_post AS auto_subscribe_post, u.auto_subscribe_comment AS auto_subscribe_comment, u.user_group+100 AS group_id FROM `Sql176166_4`.cpg14x_users AS u INNER JOIN `Sql176166_4`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `Sql176166_4`.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 `Sql176166_4`.cpg14x_sessions set time='1215787801' where session_id=md5('34989bde6547a5a7adca440d1513f8c717b7a13e7a96ce2446d61e717a787b58'); (0s)
    [11] => SELECT description from cpg14x_albums WHERE aid='' (0s)
    [12] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [13] => SELECT count(*) FROM  cpg14x_buddy WHERE user_id=1 (0s)
    [14] => SELECT count(*) FROM  cpg14x_buddy_req WHERE buddy_to=1 (0s)
    [15] => DELETE FROM cpg14x_banned WHERE expiry < '2008-07-11 15:50:01' (0s)
    [16] => SELECT * FROM cpg14x_banned WHERE (ip_addr='84.253.162.58' OR ip_addr='84.253.162.58' OR user_id=1) AND brute_force=0 (0s)
    [17] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    [18] => SELECT user_name AS user_name, aid, a.title
                                                                                FROM cpg14x_albums AS a
                                                                                LEFT JOIN `Sql176166_4`.cpg14x_users AS u
                                                                                ON (category - 10000) = user_id
                                                                                WHERE category > 10000 (0s)
    [19] => SELECT aid, title, name FROM cpg14x_albums LEFT JOIN cpg14x_categories ON cid = category WHERE category < 10000 ORDER BY title (0s)
)

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

==========================
POST :
------------------
Array
(
    [updatetype] => 3
    [numpics] => 5
    [autorefresh] => 1
    [parsemode] => 0
    [refresh_numpics] => 5
    [albumid] => 16
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.7 - OK
------------------
mySQL version: 5.0.62-log
------------------
Coppermine version: 1.4.16(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
Active Persistent Links 0
Active Links 1
Client API version 5.0.45
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
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 | no value | no value
file_uploads | On | On
include_path | .:/php/lib/php/ | .:/php/lib/php/
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
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 | 120 | 120
max_input_time | -1 | -1
upload_max_filesize | 50M | 50M
post_max_size | 8M | 8M
==========================
Page generated in 0.319 seconds - 20 queries in 0.003 seconds - Album set : ; Meta set: ;



Non sò se ho fatto giusto..perchè non l'ho mai fatto...

Sono andato in AMMINISTRAZIONE GALLERIA...e Informazioni Debug....giusto!?!?

fax82

#5
..per la frase..non l'ho messa direttamente ioo   ::)  ...ma ho già informato la persona che l'ha inserita nei contenuti!!!  ;)


...magari può servire anche questo!!

Notices
/themes/chaoticsoul/theme.php
Notice line 34: Use of undefined constant album - assumed 'album'
Notice line 34: Undefined index: album
Notice line 638: Undefined index: inactive_next_tab
Notice line 639: Undefined index: inactive_prev_tab
/include/themes.inc.php
Notice line 823: Undefined variable: pm_link
/include/functions.inc.php
Notice line 88: Undefined variable: cpg_show_private_album
/index.php
Notice line 766: Undefined index: system_icon
Notice line 766: Undefined index: system_icon
Notice line 766: Undefined index: system_icon
Notice line 766: Undefined index: system_icon
Notice line 599: Undefined index: system_icon
/plugins/newusers/codebase.php
Warning line 61: mysql_real_escape_string() expects parameter 1 to be string, resource given

Ludo

Quote from: fax82 on July 11, 2008, 04:52:18 PMSono andato in AMMINISTRAZIONE GALLERIA...e Informazioni Debug....giusto!?!?
Sì, ma hai selezionato anche la casella "Mostra avvisi PHP in modalità debug"?
Non vedo nessun avviso...

Stramm

QuoteMini thumbs (default off)
Config -> Files and thumbnails settings - Enable Mini Thumbs, Mini Thumb Width - Mini Thumb Height
They are used for the comment notification system, the avatars, the buddy list and, if you want they'll replace the huge category lead image with thumbs of a size you like. If you want to use the avatar you'll have to enable the mini thumbs to get the full functionality (if not then only user uploaded avatars will work, if enabled, users can pick one of their uploaded pics and make them their avatar). There's a lot of more you can do with them. Eg. replacing the normal thumbs in filmstrip with the mini thumbs (need theme modification). This way you can dispaly a huge bunch more without messing with your layout.....

Use mini thumb as category lead image (default off)
Config -> Album list view - Use mini thumb as category lead image

enable mini thumbs, then recreate mini thumbs using the admin tools

fax82

Mostra avvisi in modalità PHP..non lo trovooo!!

..ma non sò se ti serviva questo:

Notices
/themes/chaoticsoul/theme.php
Notice line 34: Use of undefined constant album - assumed 'album'
Notice line 34: Undefined index: album
Notice line 638: Undefined index: inactive_next_tab
Notice line 639: Undefined index: inactive_prev_tab
/include/themes.inc.php
Notice line 823: Undefined variable: pm_link
/include/functions.inc.php
Notice line 88: Undefined variable: cpg_show_private_album
/index.php
Notice line 766: Undefined index: system_icon
Notice line 766: Undefined index: system_icon
Notice line 766: Undefined index: system_icon
Notice line 766: Undefined index: system_icon
Notice line 599: Undefined index: system_icon
/plugins/newusers/codebase.php
Warning line 61: mysql_real_escape_string() expects parameter 1 to be string, resource given

fax82

QuoteUse mini thumb as category lead image (default off)
Config -> Album list view - Use mini thumb as category lead image

I can't save the configuration!!

I select "Use mini thumb category as lead image" but not save.

Stramm

I've just checked, the config table has been updated and the 'mini as category lead image' has been added to the database. So it should stick if you enable it. However it won't work (as you described above) and just return a broken image. Do what I'vge suggested and enable 'mini thumbs' (without enabling them, you can't use them!!!). Then you need to (re)create the mini thumbs (as they are not yet present in your gallery for old images, only for images you upload after enabling them, they get created) using the admin tools.
Once you did that all, come back here and report if you still have issues.

edit: sry for posting here in english ;)

Stramm


Ludo

Quote from: fax82 on July 11, 2008, 05:15:47 PM
..ma non sò se ti serviva questo:
Esattamente. Prova a disattivare il plugin "new users", e vedi se poi riesci a salvare le nuove configurazioni nel database.

fax82

VERY THANKS!!


... add "powered by the coppermine again" sorry .. ::)

..ho ricreato le miniature!!


Grazie LUDO

Ludo

Di nulla...ma il salvataggio delle configurazioni nel database ha ripreso a funzionare disattivando il plugin di cui sopra, o hai risolto per altra via?

Joachim Müller

Quote from: fax82 on July 11, 2008, 05:57:30 PM
... add "powered by the coppermine again" sorry .. ::)
It's not there. Add it back permanently - now! Anything else would be license fraud, which is a crime. Additionally, it's morally wrong. Give credit where credit is due! There is no support for you any longer unless you restore the tag.

Ludo

Sacrosanto, in effetti. Avrei dovuto controllare prima di dare assistenza.
Che vantaggio può dare rimuovere i riconoscimenti? Spuntare qualche € in più da qualche committente sprovveduto fingendo che sia tutta farina del proprio sacco? Ma se è sprovveduto, il sapere che il suo sito è basato su Coppermine non gli dirà nulla sui meriti ed il lavoro del webmaster, mentre chi sia minimamente pratico del settore ci mette 2 minuti a capire che si tratta di un sito fatto con Coppermine, e ci si fa una ben magra figura a livello professionale...