ALBUM LIST/ CATEGORY LIST MISSING ALBUM LIST/ CATEGORY LIST MISSING
 

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

ALBUM LIST/ CATEGORY LIST MISSING

Started by mattdamonfan, August 02, 2006, 05:37:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mattdamonfan

Hi everyone. I run a fansite (http://www.mattdamonfan.org) and my host recently upgraded the version of coppermine I had 1.32 to 1.48. Everything seemed fine when I visited the gallery (http://www.mattdamonfan.org/gallery) for the first time this morning but when I visited again the list of categories and albums went missing. All I get is a header and the ad on the bottom. Any help or suggestions will help. I tried reuploading the index.php file and using different templates, but nothing is working. However, when you visit a specific album list, the photos load. Why is this happening?

Any suggestions would help a lot!  Thanks and here is the info below:

USER:
------------------
Array
(
    [ID] => 966a3b77a6167ac2290515f7f85b8753
    [am] => 1
    [liv] => Array
        (
           
  • => 123
                [1] => 1078
                [2] => 2611
                [3] => 2810
                [4] => 113
            )

        [lap] => 1
        [lang] => english
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_name] => Dorothy
        [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 cpg132_filetypes; (0s)
        [1] => select * from cpg132_plugins order by priority asc; (0.001s)
        [2] => delete from `mattdamo_Gallery`.cpg132_sessions where time<1154485944 and remember=0; (0.009s)
        [3] => delete from `mattdamo_Gallery`.cpg132_sessions where time<1153279944; (0s)
        [4] => select user_id from `mattdamo_Gallery`.cpg132_sessions where session_id=md5("3050d95b2fdc4248e307049c1c837ecac14cda063167a7fcb593cb19caf01061"); (0s)
        [5] => select user_id as id, user_password as password from `mattdamo_Gallery`.cpg132_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 `mattdamo_Gallery`.cpg132_users AS u INNER JOIN `mattdamo_Gallery`.cpg132_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `mattdamo_Gallery`.cpg132_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 cpg132_usergroups WHERE group_id in (1) (0.01s)
        [9] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1 (0s)
        [10] => update `mattdamo_Gallery`.cpg132_sessions set time='1154489544' where session_id=md5('3050d95b2fdc4248e307049c1c837ecac14cda063167a7fcb593cb19caf01061'); (0s)
        [11] => SELECT user_favpics FROM cpg132_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg132_banned WHERE expiry < '2006-08-02 03:32:24' (0s)
        [13] => SELECT * FROM cpg132_banned WHERE (ip_addr='71.139.40.196' OR ip_addr='71.139.40.196' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT cid, name, description, thumb FROM cpg132_categories WHERE parent = ''  ORDER BY pos (0.001s)
        [15] => SELECT aid FROM cpg132_albums WHERE category = 2 (0s)
        [16] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
        [17] => SELECT aid FROM cpg132_albums WHERE category = 13 (0s)
        [18] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 13 (0s)
        [19] => SELECT count(*) FROM cpg132_albums as a WHERE category = '13' (0s)
        [20] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=13 ORDER BY a.pos LIMIT 0,2 (0s)
        [21] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg132_albums AS a  LEFT JOIN cpg132_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (59, 108)GROUP BY a.aid (0.003s)
        [22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='24' (0s)
        [23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='29' (0s)
        [24] => SELECT aid FROM cpg132_albums WHERE category = 14 (0s)
        [25] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 14 (0s)
        [26] => SELECT aid FROM cpg132_albums WHERE category = 15 (0.001s)
        [27] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 15 (0s)
        [28] => SELECT aid FROM cpg132_albums WHERE category = 16 (0s)
        [29] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 16 (0s)
        [30] => SELECT aid FROM cpg132_albums WHERE category = 17 (0s)
        [31] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 17 (0.005s)
        [32] => SELECT count(*) FROM cpg132_albums as a WHERE category = '17' (0s)
        [33] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=17 ORDER BY a.pos LIMIT 0,10 (0.001s)
        [34] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg132_albums AS a  LEFT JOIN cpg132_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (60, 61, 62, 63, 64, 65, 185, 186, 187, 193)GROUP BY a.aid (0.002s)
        [35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2686' (0s)
        [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2695' (0s)
        [37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2711' (0s)
        [38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2681' (0.001s)
        [39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2671' (0s)
        [40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2723' (0s)
        [41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2732' (0s)
        [42] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2750' (0.001s)
        [43] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2755' (0s)
        [44] => SELECT aid FROM cpg132_albums WHERE category = 20 (0s)
        [45] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 20 (0s)
        [46] => SELECT count(*) FROM cpg132_albums as a WHERE category = '20' (0s)
        [47] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=20 ORDER BY a.pos LIMIT 0,1 (0s)
        [48] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg132_albums AS a  LEFT JOIN cpg132_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (184)GROUP BY a.aid (0.003s)
        [49] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2655' (0s)
        [50] => SELECT aid FROM cpg132_albums WHERE category = 18 (0s)
        [51] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 18 (0s)
        [52] => SELECT aid FROM cpg132_albums WHERE category = 19 (0s)
        [53] => SELECT count(*) FROM cpg132_pictures as p, cpg132_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 19 (0s)
        [54] => SELECT count(*) FROM cpg132_albums as a WHERE category = '19' (0s)
        [55] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg132_albums as a LEFT JOIN cpg132_pictures as p ON a.thumb=p.pid WHERE category=19 ORDER BY a.pos LIMIT 0,5 (0s)
        [56] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg132_albums AS a  LEFT JOIN cpg132_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (179, 180, 181, 182, 183)GROUP BY a.aid (0.001s)
        [57] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2600' (0s)
        [58] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2607' (0s)
        [59] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2645' (0s)
        [60] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2614' (0s)
        [61] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg132_pictures WHERE pid='2631' (0s)
        [62] => SELECT aid FROM cpg132_albums as a WHERE category = '0' (0s)
        [63] => SELECT count(*) FROM cpg132_albums as a WHERE 1 (0s)
        [64] => SELECT count(*) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.005s)
        [65] => SELECT count(*) FROM cpg132_comments as c LEFT JOIN cpg132_pictures as p ON c.pid=p.pid LEFT JOIN cpg132_albums as a ON a.aid=p.aid WHERE 1 (0s)
        [66] => SELECT count(*) FROM cpg132_categories WHERE 1 (0.002s)
        [67] => SELECT sum(hits) FROM cpg132_pictures as p LEFT JOIN cpg132_albums as a ON p.aid=a.aid WHERE 1 (0.014s)
        [68] => SELECT COUNT(*) FROM cpg132_pictures WHERE approved = 'NO' (0.002s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.2 - OK
    ------------------
    mySQL version: 4.1.20-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 4.1.20
    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 | system,exec | system,exec
    file_uploads | On | On
    include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
    open_basedir | /home/mattdamo:/usr/lib/php:/usr/local/lib/php:/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.112 seconds - 69 queries in 0.062 seconds - Album set : ; Meta set: ;

Sami

- Do not post debug info unless a dev or supporter ask for it
- You are using old themes (1.3.x) please copy 1.4.x standards theme and Upgrade your custom theme
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

Make sure as well that you have alblist and catlist in "the content of the main page"

mattdamonfan

my hostee used the same template for others and it worked for example: http://www.potc-web.net/gallery

what should i do??  :(

Sami

‍I don't answer to PM with support question
Please post your issue to related board

mattdamonfan

really? that worked for me. :-\

i dont even get mine anymore. its so bumming. the index.php does not load anything but the header.

Joachim Müller

Your webhost is not a Coppermine authority. This board is. It's mandatory to upgrade your theme.

mattdamonfan

what do you mean upgrade my theme? the theme was upgraded with the upgrade for coppermine. I really have no idea about this since my host upgraded it for me.

mattdamonfan

I ran a version check and fixed all the problems and it still is not working. Ugh..Any suggestions?

Nibbler

So what do you have set for "the content of the main page" in config?

mattdamonfan


mattdamonfan

OMG! That was the problem? NO WAY!!! I cannot believe it. Why was it blank?

THANK YOU SO MUCH!!!!  ;D ;D ;D ;D ;D

One small issue: currently only two photos show up for random photos and for last additions but when i increase the number, they load vertically. anyone know how to fix it?


Nibbler

One issue per thread. (Check the number of columns of thumbnails to display setting.)

Joachim Müller

Quote from: mattdamonfan on August 02, 2006, 10:57:52 PM
Currently it is just a blank line?
why didn't you do as suggested before then:
Quote from: GauGau on August 02, 2006, 07:40:28 AM
Make sure as well that you have alblist and catlist in "the content of the main page"