Help with Config>User Settings Help with Config>User Settings
 

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

Help with Config>User Settings

Started by greatlakeskim, June 05, 2009, 01:15:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

greatlakeskim

Hey Guys,

I've had CopperMine on my site for a good year or two now and never had this issue before. I used to have it setup so that I would require users to wait for my to activiate their account. However, due to time constraints now I wish to change that.

When I go to User Settings, I try and set Allow New User Registrations to Yes, User registration requires email verification to No, Notify Admin of user registration by email yes, admin activation of registrations no.

However, when I do this it takes me to a screen where I have to "authenticate" and gives two boxes - which I presume are for my admin username and pw. When I enter it and everthing, I get this debug info.

USER:
------------------
Array
(
    [ID] => 969999f65f0c0a348f7fcb4d46c9280d
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => Great Lake Skim
    [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] => 10
        [num_URI_upload] => 4
        [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 cpg1410_filetypes; (0.001s)
        [1] => select * from cpg1410_plugins order by priority asc; (0.001s)
        [2] => delete from `greatlakeskim1`.cpg1410_sessions where time<1244153264 and remember=0; (0.001s)
        [3] => delete from `greatlakeskim1`.cpg1410_sessions where time<1242947264; (0.001s)
        [4] => select user_id from `greatlakeskim1`.cpg1410_sessions where session_id=md5("7b7142e6d28523a72151071214454d6ebafc7f70256f19405b416862d0edc5e2"); (0.001s)
        [5] => select user_id as id, user_password as password from `greatlakeskim1`.cpg1410_users where user_id=2 (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 `greatlakeskim1`.cpg1410_users AS u INNER JOIN `greatlakeskim1`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='2' (0.002s)
        [7] => SELECT user_group_list FROM `greatlakeskim1`.cpg1410_users AS u WHERE user_id='2' and user_group_list <> ''; (0.001s)
        [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 cpg1410_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0.001s)
        [10] => update `greatlakeskim1`.cpg1410_sessions set time='1244156864' where session_id=md5('7b7142e6d28523a72151071214454d6ebafc7f70256f19405b416862d0edc5e2'); (0.001s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 2 (0.009s)
        [12] => DELETE FROM cpg1410_banned WHERE expiry < '2009-06-04 19:07:44' (0.001s)
        [13] => SELECT * FROM cpg1410_banned WHERE (ip_addr='173.32.147.31' OR ip_addr='173.32.147.31' OR user_id=2) AND brute_force=0 (0.001s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [login] => Great Lake Skim
        [pass] => **
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.1.22-max-log
    ------------------
    Coppermine version: 1.4.10(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 5.0.18
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /usr/local/mysql-5.0/data/mysql.sock
    MYSQL_INCLUDE -I/usr/local/mysql-5.0/include/mysql
    MYSQL_LIBS -L/usr/local/mysql-5.0/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    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 | ~ | ~
    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/local/lib/php | .:/usr/local/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 | relay-hosting.secureserver.net | relay-hosting.secureserver.net
    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 | 8M | 8M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.583 seconds - 14 queries in 0.022 seconds - Album set : ; Meta set: ;

    It doesn't work and I can't figure out why. Any help would be appreciated. Thanks!

Joe Carver

    Forum Rules
    • Do post a link to your gallery
    • Do not post debug unless you are asked


    And also, you need to upgrade before coming back for help.
    QuoteCoppermine version: 1.4.10(stable)
    is very much out of date
                                     


    [/list]

    greatlakeskim

    Sry about that. New here.

    Ok so I updated, ran the script, etc. I checked the versions on all my files and they are all current. Yet I still am not allowed to change my user settings.

    Here is a screen shot of what I am seeing.
    http://www.upload3r.com/serve/040609/1244163479.png

    http://www.upload3r.com/serve/040609/1244163521.png

    http://www.upload3r.com/serve/040609/1244163551.png

    Joe Carver

    New or not you must post by the rules.
    http://forum.coppermine-gallery.net/index.php/topic,55415.msg270616.html#msg270616
    http://forum.coppermine-gallery.net/index.php/topic,55415.msg270617.html#msg270617

    QuoteDo not hotlink images (as the link might go down later, leaving your entire thread useless for others with similar issues), but attach the images (e.g. screenshots) to your posting. To accomplish this, click "Additional Options..." when composing your message. Then use the "Attach"-field to browse your local files and attach the image(s) to your posting
    .

    Joachim Müller

    Play by the rules from now on if you want support!
    What's shown on the second screenshot (you already have been told to attach your images instead of hotlinking them) isn't part of coppermine, so unless you added that as a mod deliberately I'd say that you got hacked, caused by the fact that you have been reluctant to upgrade for so long. Just performing the upgrade after having been hacked will not cure your webspace. Read Yikes, I've been hacked! Now what?