Error: You don't have permission to access this page. Error: You don't have permission to access this page.
 

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

Error: You don't have permission to access this page.

Started by Clanmc61, October 04, 2006, 01:31:45 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Clanmc61

After a successful installation, I logged in, and it said "welcome", but then it redirected me to a page where it said "Error: You don't have permission to access this page."

I turned on the debug mode, and it says:  File: /home/genesism/public_html/coppermine/admin.php - Line: 45
just underneath the error message.

I think it's trying to log me in as anonymous... but I know why, or how to change it.

Here's the complete log:

USER:
------------------
Array
(
    [ID] => 138d999189b602671246c2df06ade9a7
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 0
    [user_name] => Guest
    [groups] => Array
        (
           
  • => 3
            )

        [group_quota] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 0
        [can_post_comments] => 0
        [can_upload_pictures] => 0
        [can_create_albums] => 0
        [pub_upl_need_approval] => 1
        [priv_upl_need_approval] => 1
        [upload_form_config] => 0
        [num_file_upload] => 5
        [num_URI_upload] => 3
        [custom_user_upload] => 0
        [disk_max] => 0
        [disk_min] => 0
        [ufc_max] => 0
        [ufc_min] => 0
        [has_admin_access] => 0
        [group_name] => Anonymous
        [can_see_all_albums] => 0
        [group_id] => 3
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
        [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `genesism_copp1`.cpg_sessions where time<1159914384 and remember=0; (0s)
        [3] => delete from `genesism_copp1`.cpg_sessions where time<1158708384; (0s)
        [4] => select user_id from `genesism_copp1`.cpg_sessions where session_id=md5("5f6a7392ec5b1f3fedcde3113203dd6af3b8d1caddcdf056427eef8ef12b481c"); (0s)
        [5] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('e86cde87f8cd51bb63e2b1e5885656b2f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [6] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('05f6f465fa4c5106f45af0f5a2a2723bf3b8d1caddcdf056427eef8ef12b481c') (0s)
        [7] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('479c813e996ad0fa0727f80cac2e3c41f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [8] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('58bb458b1421eace756a8b7179e4a53ff3b8d1caddcdf056427eef8ef12b481c') (0s)
        [9] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('ddae7bc03737851922ad85abaf4096cef3b8d1caddcdf056427eef8ef12b481c') (0s)
        [10] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('c05be8211075ec071d53c1b0d91be475f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [11] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('3e2ec94b048946c72ec58a9418971905f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [12] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('89a7e26ce28889f8c02986bfbe39174bf3b8d1caddcdf056427eef8ef12b481c') (0s)
        [13] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('7f1279493d9cc84d58b0c822998499aaf3b8d1caddcdf056427eef8ef12b481c') (0s)
        [14] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('65027fead7ee5ca5545ccff216e172e9f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [15] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('86e485205c5020da219b5c02a7eeb941f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [16] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('20dd080207cff22f10a1adc8fd5741b1f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [17] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('86d38ccfad1dcfff4a5fb185283dc312f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [18] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('18c917c942f5a87bf8a3188b9a0dd8ddf3b8d1caddcdf056427eef8ef12b481c') (0s)
        [19] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('31a8ffd911c57f2517de8cc132998250f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [20] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('73b45ab91c85d98e1096b986765f8a8af3b8d1caddcdf056427eef8ef12b481c') (0s)
        [21] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('8f87b92ac3b8b8df7188170c67a106e9f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [22] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('6748395d5a2a7375a998a1fce647d50bf3b8d1caddcdf056427eef8ef12b481c') (0s)
        [23] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('6c24d35130cc73fdcaa5fb55692511c7f3b8d1caddcdf056427eef8ef12b481c') (0s)
        [24] => SELECT session_id FROM `genesism_copp1`.cpg_sessions WHERE session_id=MD5('4c26f762cc13d6c334b1a2f9c1546eecf3b8d1caddcdf056427eef8ef12b481c') (0s)
        [25] => insert into `genesism_copp1`.cpg_sessions (session_id, user_id, time, remember) values ("83e05cc0ff5b54509af9d0dea87f0281", 0, "1159917984", 0); (0s)
        [26] => 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 (3) (0s)
        [27] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 3 (0s)
        [28] => update `genesism_copp1`.cpg_sessions set time='1159917984' where session_id=md5('4c26f762cc13d6c334b1a2f9c1546eecf3b8d1caddcdf056427eef8ef12b481c'); (0s)
        [29] => DELETE FROM cpg_banned WHERE expiry < '2006-10-03 23:26:24' (0s)
        [30] => SELECT * FROM cpg_banned WHERE (ip_addr='144.138.29.149' OR ip_addr='144.138.29.149' OR user_id=0) AND brute_force=0 (0s)
        [31] => SELECT aid FROM cpg_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0s)
        [32] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

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

    ==========================
    Page generated in 0.058 seconds - 33 queries in 0 seconds - Album set : ; Meta set: ;


    Any help would be appreciated.

Nibbler

Why are you installing an old version of Coppermine? Use the latest stable (1.4.9). A link to your site would be helpful.

Clanmc61


Nibbler

Use the version provided by us, available from the downloads page. Fantastico is known to cause issues such as this; don't use it.