upgrading.....what a nightmare upgrading.....what a nightmare
 

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

upgrading.....what a nightmare

Started by cmbmusic, September 08, 2008, 10:06:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

cmbmusic

So I go to upgrade...and I do all the steps that are spelled out in the upgrading section.  Finally I get it done...but my database is not loading.  I saved the files told to save...and I backup all my photos.  What am I missing?  I backed up my config....anycontent...and the include/config file.

François Keller

without link to your gallery it will be difficult to help you
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog


Nibbler

What exactly did you do to cause this? Restore your backed up copy of include/config.inc.php.

cmbmusic

I followed the steps for upgrading 1.4.x to 1.4.19.  My version was actually 1.4.9.

What files actually store the albums and category data?  I have all my photos...I just don't want to have to sort through them and re-upload them all over again.  I think I had 60 photos loaded.

cmbmusic

I decided to start over and re-upload my photos.  (as if I had a choice)

I created some albums and categories...but the system won't let me upload any photos.  I selct the file and click upload...it goes through it's process...ten tells me that 0 files were uploaded.

cmbmusic

Here is the debug repot.


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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => cmbmusic
    [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 cpg14x_filetypes; (0.003s)
        [1] => select * from cpg14x_plugins order by priority asc; (0s)
        [2] => delete from `gallery`.cpg14x_sessions where time<1220900245 and remember=0; (0.001s)
        [3] => delete from `gallery`.cpg14x_sessions where time<1219694245; (0.001s)
        [4] => select user_id from `gallery`.cpg14x_sessions where session_id = '3a90e4ee4c93baf696804cd4a7cb1781' (0.002s)
        [5] => select user_id as id, user_password as password from `gallery`.cpg14x_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 `gallery`.cpg14x_users AS u INNER JOIN `gallery`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `gallery`.cpg14x_users AS u WHERE user_id='1' 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 cpg14x_usergroups WHERE group_id in (1) (0.001s)
        [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
        [10] => update `gallery`.cpg14x_sessions set time='1220903845' where session_id = '3a90e4ee4c93baf696804cd4a7cb1781' (0.001s)
        [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0.001s)
        [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-09-08 19:57:25' (0s)
        [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='76.1.90.8' OR ip_addr='76.1.90.8' OR user_id=1) AND brute_force=0 (0s)
        [14] => UPDATE cpg14x_config SET value = '2' WHERE name = 'debug_mode' (0.001s)
        [15] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.001s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [gallery_name] => CMBDJs Photo Gallery
        [gallery_description] =>
        [gallery_admin_email] => casey@cmbdjs.com
        [ecards_more_pic_target] => http://cmbdjs.com/gallery/
        [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] => hardwired
        [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
        [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] => 1
        [allow_private_albums] => 1
        [show_private] => 0
        [forbiden_fname_char] => $/\\:*?"'<>|` &
        [allowed_img_types] => ALL
        [allowed_mov_types] => ALL
        [media_autostart] => 1
        [allowed_snd_types] => mp3/midi/mid/wma/wav/ogg
        [allowed_doc_types] => doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb
        [thumb_method] => gd2
        [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] => coppermine
        [cookie_path] => /
        [smtp_host] =>
        [smtp_username] =>
        [smtp_password] =>
        [log_mode] => 0
        [log_ecards] => 0
        [vote_details] => 0
        [hit_details] => 0
        [debug_mode] => 2
        [debug_notice] => 0
        [offline] => 0
        [update_config] => Save new configuration
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.1.14
    ------------------
    Coppermine version: 1.4.19(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
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 3.23.49
    MYSQL_MODULE_TYPE builtin
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE no value
    MYSQL_LIBS no value
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.3
    ==========================
    Server restrictions (safe mode)?
    ------------------
    Directive | Local Value | Master Value
    safe_mode | Off | Off
    safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
    safe_mode_gid | Off | Off
    safe_mode_include_dir | no value | no value
    safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
    sql.safe_mode | Off | Off
    disable_functions | leak, symlink | leak, symlink
    file_uploads | On | On
    include_path | .:/include:/usr/lib/php | .:/include:/usr/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 | 90 | 90
    max_input_time | -1 | -1
    upload_max_filesize | 50M | 50M
    post_max_size | 50M | 50M
    ==========================
    Page generated in 0.142 seconds - 16 queries in 0.013 seconds - Album set : ; Meta set: ;

Joachim Müller

Nobody asked for the debug_output. If you have issues with uploading, do exactly as suggested in the docs, section "asking for support on upload issues".