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: Errors  (Read 2920 times)

0 Members and 1 Guest are viewing this topic.

drichard12

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Errors
« on: February 13, 2006, 10:38:17 pm »

I have no idea as to what Im doing,  But I need to start somewhere.  So here is the problem I just install this and was working fine.  I can not log out of the Admin. and back to the User Mode. Really not that bad of a problem.  But when I register under a new user name I am unable to upload any photos.  All this came up in the debug.
HELP  Dale



USER:
------------------
Array
(
    [ID] => 7ac5f51e9ade4a997afdec71878963be
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => drichard
    [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 cpg_filetypes; (0s)
  • [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `drichard_copp1`.cpg_sessions where time<1139862648 and remember=0; (0s)
        [3] => delete from `drichard_copp1`.cpg_sessions where time<1138656648; (0s)
        [4] => select user_id from `drichard_copp1`.cpg_sessions where session_id=md5("0be217bd2fc569fbdf9c596ba89d265c0e8e449a6555124dfad7d98e93e3a68b"); (0s)
        [5] => select user_id as id, user_password as password from `drichard_copp1`.cpg_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 `drichard_copp1`.cpg_users AS u INNER JOIN `drichard_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `drichard_copp1`.cpg_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 cpg_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
        [10] => update `drichard_copp1`.cpg_sessions set time='1139866248' where session_id=md5('0be217bd2fc569fbdf9c596ba89d265c0e8e449a6555124dfad7d98e93e3a68b'); (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2006-02-13 21:30:48' (0s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='24.247.47.141' OR ip_addr='24.247.47.141' OR user_id=1) AND brute_force=0 (0s)
        [14] => UPDATE cpg_config SET value = '2' WHERE name = 'log_mode' (0s)
        [15] => UPDATE cpg_config SET value = '1' WHERE name = 'log_ecards' (0s)
        [16] => UPDATE cpg_config SET value = '1' WHERE name = 'vote_details' (0s)
        [17] => UPDATE cpg_config SET value = '1' WHERE name = 'hit_details' (0s)
        [18] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[gallery_name] => Coppermine Photo Gallery
    [gallery_description] => Your online photo album
    [gallery_admin_email] => you@somewhere.com
    [ecards_more_pic_target] => http://coppermine.sourceforge.net/
    [home_target] => index.php
    [enable_zipdownload] => 1
    [time_offset] => 0
    [enable_help] => 2
    [clickable_keyword_search] => 1
    [enable_plugins] => 1
    [ban_private_ip] => 0
    [browse_batch_add] => 1
    [lang] => english
    [language_fallback] => 1
    [charset] => utf-8
    [language_list] => 0
    [language_flags] => 0
    [language_reset] => 1
    [theme] => eyeball
    [theme_list] => 0
    [theme_reset] => 1
    [display_faq] => 0
    [custom_lnk_name] =>
    [custom_lnk_url] =>
    [show_bbcode_help] => 1
    [vanity_block] => 1
    [custom_header_path] =>
    [custom_footer_path] =>
    [main_table_width] => 100%
    [subcat_level] => 2
    [albums_per_page] => 12
    [album_list_cols] => 2
    [alb_list_thumb_size] => 50
    [main_page_layout] => breadcrumb/catlist/alblist/random,2/lastup,2
    [first_level] => 1
    [categories_alpha_sort] => 0
    [link_pic_count] => 0
    [thumbcols] => 4
    [thumbrows] => 3
    [max_tabs] => 12
    [caption_in_thumbview] => 1
    [views_in_thumbview] => 1
    [display_comment_count] => 0
    [display_uploader] => 0
    [display_filename] => 0
    [alb_desc_thumb] => 1
    [default_sort_order] => na
    [min_votes_for_rating] => 1
    [picture_table_width] => 600
    [display_pic_info] => 0
    [max_img_desc_length] => 512
    [max_com_wlength] => 38
    [display_film_strip] => 1
    [display_film_strip_filename] => 0
    [max_film_strip_items] => 5
    [slideshow_interval] => 5000
    [filter_bad_words] => 0
    [enable_smilies] => 1
    [disable_comment_flood_protect] => 0
    [max_com_lines] => 10
    [max_com_size] => 512
    [email_comment_notification] => 0
    [comments_sort_descending] => 0
    [comments_anon_pfx] => Guest_
    [jpeg_qual] => 80
    [thumb_width] => 100
    [thumb_use] => any
    [make_intermediate] => 1
    [picture_width] => 400
    [max_upl_size] => 1024
    [max_upl_width_height] => 2048
    [auto_resize] => 0
    [allow_private_albums] => 1
    [show_private] => 0
    [forbiden_fname_char] => $/\\:*?"'<>|` &
    [allowed_img_types] => ALL
    [allowed_mov_types] => ALL
    [media_autostart] => 1
    [allowed_snd_types] => ALL
    [allowed_doc_types] => ALL
    [thumb_method] => im
    [impath] =>
    [im_options] => -antialias
    [read_exif_data] => 0
    [read_iptc_data] => 0
    [fullpath] => albums/
    [userpics] => userpics/
    [normal_pfx] => normal_
    [thumb_pfx] => thumb_
    [default_dir_mode] => 0755
    [default_file_mode] => 0644
    [allow_user_registration] => 0
    [allow_unlogged_access] => 1
    [reg_requires_valid_email] => 1
    [reg_notify_admin_email] => 0
    [admin_activation] => 0
    [allow_duplicate_emails_addr] => 0
    [upl_notify_admin_email] => 0
    [allow_memberlist] => 0
    [allow_email_change] => 0
    [users_can_edit_pics] => 0
    [login_threshold] => 5
    [login_expiry] => 10
    [report_post] => 0
    [user_profile1_name] => Location
    [user_profile2_name] => Interests
    [user_profile3_name] => Website
    [user_profile4_name] => Occupation
    [user_profile5_name] =>
    [user_profile6_name] => Biography
    [user_field1_name] =>
    [user_field2_name] =>
    [user_field3_name] =>
    [user_field4_name] =>
    [cookie_name] => cpg140
    [cookie_path] => /
    [smtp_host] =>
    [smtp_username] =>
    [smtp_password] =>
    [log_mode] => 2
    [log_ecards] => 1
    [vote_details] => 1
    [hit_details] => 1
    [debug_mode] => 2
    [debug_notice] => 1
    [offline] => 1
    [update_config] => Save new configuration
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.1.13-standard
------------------
Coppermine version: 1.4.2(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.13
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.1.4
Linked Version 1.2.2.1
==========================
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/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | 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 | 20M | 20M
post_max_size | 8M | 8M
==========================
Page generated in 0.058 seconds - 19 queries in 0 seconds - Album set : ; Meta set: ;
« Last Edit: February 14, 2006, 07:42:51 am by GauGau »
Logged

Nibbler

  • Guest
Re: Errors
« Reply #1 on: February 13, 2006, 10:42:02 pm »

Logged

drichard12

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Errors
« Reply #2 on: February 13, 2006, 11:10:53 pm »

This is what Im getting.....Sorry there is no album where you are allowed to upload files

File: /home/drichard/public_html/index1/upload.php - Line: 864



USER:
------------------
Array
(
    [ID] => 7ac5f51e9ade4a997afdec71878963be
    [am] => 1
    [lang] => english
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 9
    [user_name] => TEST  Dale
    [groups] => Array
        (
           
  • => 2

        )

    [disk_max] => 1024
    [disk_min] => 1024
    [can_rate_pictures] => 1
    [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] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 0
    [pub_upl_need_approval] => 1
    [priv_upl_need_approval] => 0
    [group_name] => Registered
    [upload_form_config] => 0
    [group_quota] => 1024
    [can_see_all_albums] => 0
    [group_id] => 2
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM cpg_filetypes; (0s)
  • [1] => select * from cpg_plugins order by priority asc; (0s)
        [2] => delete from `drichard_copp1`.cpg_sessions where time<1139864643 and remember=0; (0s)
        [3] => delete from `drichard_copp1`.cpg_sessions where time<1138658643; (0s)
        [4] => select user_id from `drichard_copp1`.cpg_sessions where session_id=md5("0be217bd2fc569fbdf9c596ba89d265c0e8e449a6555124dfad7d98e93e3a68b"); (0s)
        [5] => select user_id as id, user_password as password from `drichard_copp1`.cpg_users where user_id=9 (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 `drichard_copp1`.cpg_users AS u INNER JOIN `drichard_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='9' (0s)
        [7] => SELECT user_group_list FROM `drichard_copp1`.cpg_users AS u WHERE user_id='9' 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 cpg_usergroups WHERE group_id in (2) (0s)
        [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 2 (0s)
        [10] => update `drichard_copp1`.cpg_sessions set time='1139868243' where session_id=md5('0be217bd2fc569fbdf9c596ba89d265c0e8e449a6555124dfad7d98e93e3a68b'); (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 9 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2006-02-13 22:04:03' (0s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='72.14.194.25' OR ip_addr='24.247.47.141' OR user_id=9) AND brute_force=0 (0s)
        [14] => SELECT aid FROM cpg_albums WHERE visibility != '0' AND visibility !='10009' AND visibility NOT IN (2) (0s)
        [15] => SELECT aid, title FROM cpg_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0s)
        [16] => SELECT aid, title FROM cpg_albums WHERE category='10009' ORDER BY title (0s)
        [17] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

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

    ==========================
    Page generated in 0.07 seconds - 18 queries in 0 seconds - Album set : ; Meta set: ;
Logged

Nibbler

  • Guest
Re: Errors
« Reply #3 on: February 13, 2006, 11:19:36 pm »

Please read it again and do what it says. Then we can help you.
Logged

drichard12

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: Errors
« Reply #4 on: February 14, 2006, 01:07:48 am »

I GOT IT!...  "THANK YOU" for your fast reply's and help.  Dale ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.029 seconds with 15 queries.