forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: steakfries on September 01, 2010, 08:37:05 pm

Title: user control panel
Post by: steakfries on September 01, 2010, 08:37:05 pm
When I click the user control panel, i don't have any options, such as to add a user.  No names are listed under the user manager section, not even the one I logged in under.

version 1.4.2
Code: [Select]
debug info:
USER:
------------------
Array
(
    [ID] => f3cb33d8a91353fcdc1c0e620aab0d34
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 11
    [user_name] => coulsoj
    [groups] => Array
        (
            [0] => 1
        )

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

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg145_filetypes; (0.001s)
    [1] => select * from cpg145_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg145_bridge (0s)
    [3] => delete from `imagelib`.cpg145_sessions where time<1283362526 and remember=0; (0.003s)
    [4] => delete from `imagelib`.cpg145_sessions where time<1282156526; (0.003s)
    [5] => select user_id from `imagelib`.cpg145_sessions where session_id=md5("dadad48cd49dcfe6470b3b38e8a68fd08c3545684c5d018facef3fb9ee1f60d3"); (0.001s)
    [6] => select user_id as id, user_password as password from `imagelib`.cpg145_users where user_id=11 (0s)
    [7] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `imagelib`.cpg145_users AS u INNER JOIN `imagelib`.cpg145_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='11' (0s)
    [8] => SELECT user_group_list FROM `imagelib`.cpg145_users AS u WHERE user_id='11' and user_group_list <> ''; (0s)
    [9] => 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 cpg145_usergroups WHERE group_id in (1) (0.001s)
    [10] => SELECT group_name FROM  cpg145_usergroups WHERE group_id= 1 (0s)
    [11] => update `imagelib`.cpg145_sessions set time='1283366126' where session_id=md5('dadad48cd49dcfe6470b3b38e8a68fd08c3545684c5d018facef3fb9ee1f60d3'); (0.001s)
    [12] => SELECT user_favpics FROM cpg145_favpics WHERE user_id = 11 (0.001s)
    [13] => DELETE FROM cpg145_banned WHERE expiry < '2010-09-01 14:35:26' (0s)
    [14] => SELECT * FROM cpg145_banned WHERE (ip_addr='137.141.8.83' OR ip_addr='137.141.8.83' OR user_id=11) AND brute_force=0 (0s)
    [15] => DELETE FROM cpg145_users WHERE user_name = '' LIMIT 1 (0s)
    [16] => SELECT COUNT(*) FROM cpg145_pictures WHERE approved = 'NO' (0.004s)
    [17] => SELECT count(*) FROM `imagelib`.cpg145_users WHERE 1 (0s)
    [18] => SELECT user_id as user_id, user_name as user_name, user_email as user_email, UNIX_TIMESTAMP(user_regdate) as user_regdate, UNIX_TIMESTAMP(user_lastvisit) as user_lastvisit, user_active as user_active, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_name, group_quota FROM `imagelib`.cpg145_users AS u INNER JOIN cpg145_usergroups AS g ON u.user_group+100 = g.group_id LEFT JOIN cpg145_pictures AS p ON p.owner_id = u.user_id GROUP BY user_id ORDER BY user_regdate DESC LIMIT 0, 25; (0.001s)
    [19] => SELECT group_id, group_name FROM cpg145_usergroups ORDER BY group_name (0s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 5.1.4 - OK
------------------
mySQL version: 5.0.22-community-nt
------------------
Coppermine version: 1.4.25(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
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.22
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
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 | .;C:\php5\pear | .;C:\php5\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me2@localhost.com | me2@localhost.com
sendmail_path | no value | no value
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 | 20M | 20M
post_max_size | 10M | 10M
==========================
Page generated in 0.125 seconds - 20 queries in 0.016 seconds - Album set : ; Meta set: ;

[edit]added code tags[/edit]
Title: Re: user control panel
Post by: phill104 on September 01, 2010, 09:22:41 pm
Please do not post debug unless asked. Can we have a link to your site please?
Title: Re: user control panel
Post by: steakfries on September 01, 2010, 09:25:47 pm
thanks for the reply. Site is located at http://www.oneonta.edu/imagegallery/
Title: Re: user control panel
Post by: steakfries on September 23, 2010, 03:29:34 pm
any ideas? anyone?
Title: Re: user control panel
Post by: Jeff Bailey on September 23, 2010, 04:12:00 pm
<!--Coppermine Photo Gallery 1.4.25 (stable)-->
Please upgrade your gallery to at least 1.4.27, you are vulnerable to attacks.
You could also consider upgrading to 1.5.x as support for 1.4.x ends soon.
Title: Re: user control panel
Post by: steakfries on September 23, 2010, 10:10:52 pm
I've upgraded to 1.5.8. Now when I log in, I get welcome guest.  Looking in cpg145_users, I'm a member of group 1. What else do I need to do or check?
Title: Re: user control panel
Post by: phill104 on September 23, 2010, 10:22:06 pm
Did you manages to run update.php? If so then loging in works so in all likelyhood it is a problem with your custom theme.

It is simple to check, go to this link and see if you can logon - http://www.oneonta.edu/imagegallery/index.php?theme=curve

If that works then read the docs on upgrading your custom theme.

When you have finished using the cureve theme use ?theme=xxx to clear the cookie forceing the curve theme.
Title: Re: user control panel
Post by: steakfries on September 27, 2010, 06:00:04 pm
I followed the theme upgrade a few times through to make sure I got everything. Result is the same when I use non-custom themes. Just to add to the madness, I also see that when I click on a thumbnail to see a larger image, I'm asked to login.
Title: Re: user control panel
Post by: Jeff Bailey on September 27, 2010, 06:39:03 pm
I also see that when I click on a thumbnail to see a larger image, I'm asked to login.
http://documentation.coppermine-gallery.net/en/groups.htm#group_cp
Title: Re: user control panel
Post by: steakfries on September 27, 2010, 07:14:51 pm
unfortunately, that get's me back to the original problem, why I upgraded in the first place, was because I don't have any admin controls when I log in, even though the cpg145_users table says I belong to the admin group.
Title: Re: user control panel
Post by: Jeff Bailey on September 27, 2010, 10:17:49 pm
pm sent
Title: Re: user control panel
Post by: steakfries on September 29, 2010, 02:19:23 am
maybe needs a new thread, but I've upgraded my PHP, and now imagegallery comes up as a blank page.  I've tried everything I could find on various posts, making sure the paths were good, php.ini was uncommented in appropriate place, ext folder was present and correctly listed in php.ini. Can't find anything I haven't tried. Installed in c:\php. You can see the issues here:
www.oneonta.edu/imagegallery - blank
www.oneonta.edu/phpmyadmin/index.php - config error. this is the one I've been chasing for hours
www.oneonta.edu/info.php - maybe something there will jump out to someone.