Thubs dont show up on the gallery Thubs dont show up on the gallery
 

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

Thubs dont show up on the gallery

Started by Pete03, June 10, 2007, 10:53:23 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pete03

Can someone help me with this i have tried figuring it out but i still cant  :-\. well i have moved to a new server and i transfered everything perfectly well i think because everything looks ok but i have one problem the thumbs don't show up on the page  :'(

Here is the Debug info in my gallery
USER:
------------------
Array
(
    [ID] => 2b55e1b6d1d3c920a9eab2c26300573b
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 3311
            [1] => 3323
            [2] => 3325
        )

)

==========================
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] => 1
    [ufc_min] => 1
    [custom_user_upload] => 0
    [num_file_upload] => 10
    [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] => 1
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0.001s)
    [1] => select * from cpg_plugins order by priority asc; (0.001s)
    [2] => delete from `anahifo_copp1`.cpg_sessions where time<1181461583 and remember=0; (0.001s)
    [3] => delete from `anahifo_copp1`.cpg_sessions where time<1180255583; (0s)
    [4] => select user_id from `anahifo_copp1`.cpg_sessions where session_id=md5("f8cdbec4668940a945d6c5f221992be7a80042211053b20ef3ef4b749bd85e2e"); (0s)
    [5] => select user_id as id, user_password as password from `anahifo_copp1`.cpg_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 `anahifo_copp1`.cpg_users AS u INNER JOIN `anahifo_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `anahifo_copp1`.cpg_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 cpg_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
    [10] => update `anahifo_copp1`.cpg_sessions set time='1181465183' where session_id=md5('f8cdbec4668940a945d6c5f221992be7a80042211053b20ef3ef4b749bd85e2e'); (0s)
    [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg_mod_online WHERE last_action < NOW() - INTERVAL 30 MINUTE (0.001s)
    [13] => REPLACE INTO cpg_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'admin', '67.169.128.211', NOW()) (0s)
    [14] => DELETE FROM cpg_banned WHERE expiry < '2007-06-10 08:46:23' (0s)
    [15] => SELECT * FROM cpg_banned WHERE (ip_addr='67.169.128.211' OR ip_addr='67.169.128.211' OR user_id=1) AND brute_force=0 (0s)
    [16] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY name (0.001s)
    [17] => SELECT aid FROM cpg_albums WHERE category = 5 (0s)
    [18] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0s)
    [19] => SELECT aid FROM cpg_albums WHERE category = 8 (0s)
    [20] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 8 (0s)
    [21] => SELECT aid FROM cpg_albums WHERE category = 9 (0s)
    [22] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 9 (0s)
    [23] => SELECT aid FROM cpg_albums WHERE category = 11 (0s)
    [24] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 11 (0s)
    [25] => SELECT aid FROM cpg_albums WHERE category = 6 (0s)
    [26] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 6 (0s)
    [27] => SELECT aid FROM cpg_albums WHERE category = 2 (0s)
    [28] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
    [29] => SELECT aid FROM cpg_albums WHERE category = 3 (0s)
    [30] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
    [31] => SELECT aid FROM cpg_albums WHERE category = 10 (0s)
    [32] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 10 (0s)
    [33] => SELECT aid FROM cpg_albums WHERE category = 7 (0s)
    [34] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 7 (0s)
    [35] => SELECT count(*) FROM cpg_albums as a WHERE category = '7' (0s)
    [36] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg_albums as a LEFT JOIN cpg_pictures as p ON a.thumb=p.pid WHERE category=7 ORDER BY a.pos LIMIT 0,3 (0s)
    [37] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg_albums AS a  LEFT JOIN cpg_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (95, 96, 97)GROUP BY a.aid (0s)
    [38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='489' (0s)
    [39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='488' (0s)
    [40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg_pictures WHERE pid='490' (0s)
    [41] => SELECT aid FROM cpg_albums as a WHERE category>=10000 (0.001s)
    [42] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0.001s)
    [43] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0s)
    [44] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
    [45] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.003s)
    [46] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
    [47] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
    [48] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0.012s)
    [49] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.002s)
    [50] => SELECT count(cpg_albums.aid) FROM cpg_pictures,cpg_albums WHERE cpg_pictures.aid = cpg_albums.aid AND approved = 'YES'  GROUP  BY cpg_pictures.aid (0.006s)
    [51] => SELECT *,cpg_albums.title AS title,cpg_albums.aid AS aid FROM cpg_pictures,cpg_albums WHERE cpg_pictures.aid = cpg_albums.aid AND approved = 'YES'  GROUP BY cpg_pictures.aid ORDER BY cpg_pictures.ctime DESC  LIMIT 0 ,3 (0.036s)
    [52] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0s)
    [53] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0.002s)
    [54] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,6 (0s)
    [55] => SELECT COUNT(*) FROM `anahifo_copp1`.cpg_users (0s)
    [56] => SELECT COUNT(*) FROM cpg_mod_online (0s)
    [57] => SELECT COUNT(*) FROM cpg_mod_online WHERE user_id <> 0 (0s)
    [58] => SELECT user_id, user_name FROM `anahifo_copp1`.cpg_users ORDER BY user_id DESC LIMIT 1 (0s)
    [59] => SELECT user_id, user_name FROM cpg_mod_online WHERE user_id <> 0 (0s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.7 - OK
------------------
mySQL version: 4.1.21-standard
------------------
Coppermine version: 1.4.10(stable)
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.21
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
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
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 | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | 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 | 16M | 16M
==========================
Page generated in 0.162 seconds - 60 queries in 0.07 seconds - Album set : ; Meta set: ;

Pete03

i have tried everything but i cant get them to show up :( ...i hope someone could help me on this.

Stramm

Only post debug output if requested by a supporter (as you can read above the debug when you copied it). More important right now is to post the URL to your gallery

Pete03

Quote from: Stramm on June 10, 2007, 12:02:45 PM
Only post debug output if requested by a supporter (as you can read above the debug when you copied it). More important right now is to post the URL to your gallery


The gallery link is www.anahifotos.com/index.php i hope you guys could help me on this :(....(don't go directly to  www.anahifotos.com because it will direct you to my other gallery in my other server that will be erased after i get this to work)

Stramm

eg this pic
http://www.anahifotos.com/displayimage.php?pos=-3322

the fullsized you can access, normal and thumb are missing
fullsized: http://www.anahifotos.com/albums/userpics/183945_sp__6_.jpg
thumb: http://www.anahifotos.com/albums/userpics/thumb_183945_sp__6_.jpg

So you fire up your ftp app and check if you copied the thumb, if it's on the server in the given path, then check the files permissions and owner (chmod, chown).

Pete03

the thumbs didn't get uploaded because they weren't where the pictures where in userpics , i think they are in a database but i transfered everything and i cant get the thumbs :(.

Stramm

no, thumbs aren't in the db. Coppermine creates them in the same directory where pictures get uploaded. If you haven't copied the thumbs but the original pics, then just use the admin tools to recreate them.

Pete03

you mean in the "Config", but which tool i have tried "Files and thumbnails advanced settings" and nothing  ???

Stramm

no, I'm not talking about the 'config' but the 'admin tools'