Advanced search  

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]

Pages: [1]   Go Down

Author Topic: CPG Error  (Read 2189 times)

0 Members and 1 Guest are viewing this topic.

DaleBlaze

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
CPG Error
« on: June 03, 2004, 03:38:07 pm »

USER:
------------------
Array
(
    [ID] => 0631667a53fca2189bf1268fee88beab
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
   
  • => 1
[user_id] => 1
    [1] => 1
    [user_group] => 1
    [2] => YES
    [user_active] => YES
    [3] => *****
    [user_name] => *****
    [4] => *****
    [user_password] =>
    [5] => 2004-05-28 16:16:14
    [user_lastvisit] => 2004-05-28 16:16:14
    [6] => 2004-05-28 16:15:43
    [user_regdate] => 2004-05-28 16:15:43
    [7] =>
    [user_lang] =>
    [8] =>
    [user_email] =>
    [9] => http://chilly.epix.net/~dale
    [user_website] => http://chilly.epix.net/~dale
    [10] => Wilkes Barre
    [user_location] => Wilkes Barre
    [11] => Girls and The EastCoastProject
    [user_interests] => Girls and The EastCoastProject
    [12] => pimp
    [user_occupation] => pimp
    [13] =>
    [user_actkey] =>
    [14] => 1
    [group_id] => 1
    [15] => Administrators
    [group_name] => Administrators
    [16] => 0
    [group_quota] => 0
    [17] => 1
    [has_admin_access] => 1
    [18] => 1
    [can_rate_pictures] => 1
    [19] => 1
    [can_send_ecards] => 1
    [20] => 1
    [can_post_comments] => 1
    [21] => 1
    [can_upload_pictures] => 1
    [22] => 1
    [can_create_albums] => 1
    [23] => 0
    [pub_upl_need_approval] => 0
    [24] => 0
    [priv_upl_need_approval] => 0
    [25] => 3
    [upload_form_config] => 3
    [26] => 0
    [custom_user_upload] => 0
    [27] => 5
    [num_file_upload] => 5
    [28] => 3
    [num_URI_upload] => 3
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg130_filetypes;
  • [1] => SELECT * FROM cpg130_users, cpg130_usergroups WHERE user_group = group_id AND user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '63a017d3ac56e09d80c939eda9bdbc88'
        [2] => DELETE FROM cpg130_banned WHERE expiry < 1086269290
        [3] => SELECT * FROM cpg130_banned WHERE ip_addr='209.158.54.126' OR ip_addr='209.158.54.126' OR user_id=1
        [4] => DELETE FROM cpg130_users WHERE user_name = '' LIMIT 1
        [5] => SELECT count(*) FROM cpg130_users WHERE 1
        [6] => SELECT user_id, user_name, user_email, UNIX_TIMESTAMP(user_regdate) as user_regdate, UNIX_TIMESTAMP(user_lastvisit) as user_lastvisit, group_name, user_active, COUNT(pid) as pic_count, ROUND(SUM(total_filesize)/1024) as disk_usage, group_quota FROM cpg130_users AS u INNER JOIN cpg130_usergroups AS g ON user_group = group_id LEFT JOIN cpg130_pictures AS p ON p.owner_id = u.user_id GROUP BY user_id ORDER BY user_regdate DESC LIMIT 0, 25
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.3 - OK
    ------------------
    mySQL version: 4.0.15
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.15
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/usr/local/mysql//include/mysql
    MYSQL_LIBS -L/usr/local/mysql//lib/mysql -lmysqlclient  
    ==========================
    Module: zlib
    ------------------
    module doesn't exist
    ==========================
    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/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 | 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.109 seconds - 7 queries in 0.042 seconds - Album set :
     ???  ???
« Last Edit: June 03, 2004, 08:10:46 pm by Casper »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: CPG Error
« Reply #1 on: June 03, 2004, 04:15:21 pm »

only posting debug output won't help - you'll have to post some text as well (what the problem actually is, on what page happens what after doing what). A link might help as well...

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.