batch ad files batch ad files
 

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

batch ad files

Started by clay, July 19, 2007, 09:53:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

clay

wken I click on batch add files after uploading pics to the file I created in "Albums" it doe's not see it "what could I have done wrong????

Joachim Müller

Do exactly as suggested in the upload troubleshooting section of the docs. Moving from "misc" to "uploads" sub-board.

clay

i have done that, but it still will not show up in the Batch add files for some reason any other ideas???

clay

Heres the error message i'm getting
USER:
------------------
Array
(
    [ID] => 5b1b8fc0098a444b3fd643c0d8df98ed
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => clay
    [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 cpg1411_filetypes; (0.005s)
        [1] => select * from cpg1411_plugins order by priority asc; (0.004s)
        [2] => delete from `clayandannmarie`.cpg1411_sessions where time<1184930531 and remember=0; (0.004s)
        [3] => delete from `clayandannmarie`.cpg1411_sessions where time<1183724531; (0.002s)
        [4] => select user_id from `clayandannmarie`.cpg1411_sessions where session_id=md5("f4c7974d7c3538a453ff570ae381f8165dc225b0d2f7d052d6ea31e963329fb3"); (0.005s)
        [5] => select user_id as id, user_password as password from `clayandannmarie`.cpg1411_users where user_id=1 (0.004s)
        [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 `clayandannmarie`.cpg1411_users AS u INNER JOIN `clayandannmarie`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.004s)
        [7] => SELECT user_group_list FROM `clayandannmarie`.cpg1411_users AS u WHERE user_id='1' and user_group_list <> ''; (0.002s)
        [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 cpg1411_usergroups WHERE group_id in (1) (0.002s)
        [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0.002s)
        [10] => update `clayandannmarie`.cpg1411_sessions set time='1184934131' where session_id=md5('f4c7974d7c3538a453ff570ae381f8165dc225b0d2f7d052d6ea31e963329fb3'); (0.002s)
        [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0.004s)
        [12] => DELETE FROM cpg1411_banned WHERE expiry < '2007-07-20 12:22:11' (0.004s)
        [13] => SELECT * FROM cpg1411_banned WHERE (ip_addr='64.7.14.23' OR ip_addr='64.7.14.23' OR user_id=1) AND brute_force=0 (0.002s)
        [14] => SELECT category, title, aid, keyword, description, alb_password_hint FROM cpg1411_albums WHERE aid='3' (0.004s)
        [15] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0.005s)
        [16] => SELECT title,keyword from cpg1411_albums WHERE aid='3' (0.002s)
        [17] => SELECT COUNT(*) from cpg1411_pictures WHERE ((aid='3'  ) )   (0.002s)
        [18] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg1411_pictures WHERE ((aid='3'  ) )   ORDER BY filename ASC  LIMIT 0 ,12 (0.002s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [album] => 3
    )

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.2.2 - OK
    ------------------
    mySQL version: 5.0.41-community-nt
    ------------------
    Coppermine version: 1.4.12(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.34 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.41
    ==========================
    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:\xampp\php\pear\ | .;C:\xampp\php\pear\
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    sendmail_path | no value | no value
    SMTP | localhost | localhost
    smtp_port | 25 | 25
    ==========================
    Size and Time
    ------------------
    Directive | Local Value | Master Value
    max_execution_time | 60 | 60
    max_input_time | 60 | 60
    upload_max_filesize | 32M | 32M
    post_max_size | 16M | 16M
    ==========================
    Page generated in 0.27 seconds - 19 queries in 0.061 seconds - Album set : ; Meta set: ;

Joachim Müller

Quote from: clay on July 20, 2007, 02:19:16 PM
i have done that
Oh yeah? It doesn't seem to me that you have read it carefully ::). Re-read it! Let me quote it for you, highlighting the stuff that you obviously failed to read:
Quote4.11.4 Upload troubleshooting

If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages:

    * Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
    * Leave display of notices switched off
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
    * Save your new settings

Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!