Only files with the following extensions are accepted Only files with the following extensions are accepted
 

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

Only files with the following extensions are accepted

Started by honesttussey, July 21, 2006, 05:57:14 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

honesttussey

Only files with the following extensions are accepted :

jpg/jpeg/jpe/gif/png/bmp/jpc/jp2/jpx... (loads of differnt formats ommited)

I get that error message with a folder full of jpeg. I've tried renaming them foobar.jpg, foobar.JPG

I've done everything in the troubleshooting section.

I'm not the only one suffering from this too.
http://forum.coppermine-gallery.net/index.php?topic=32947.0

Joachim Müller

Quote from: honesttussey on July 21, 2006, 05:57:14 AM
I've done everything in the troubleshooting section.
No, you haven't:
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.

honesttussey

Okay single file upload works. Batch still doesn't not. You can login to my cpg @

http://tussey.dreamhosters.com/cpg/cpg148/

l/p = test/test

Batch File add still throws the error. Here is the additional debug info
File: /home/.hercat/tussey/tussey.dreamhosters.com/cpg/cpg148/searchnew.php - Line: 245

It's weird because batch add worked for the first two albums then it died.  ???


USER:
------------------
Array
(
    [ID] => 86d94807ac8c3e3ab63501f5b6c42687
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 39
                [1] => 45
            )

        [sort] => da
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_name] => tussey
        [groups] => Array
            (
               
  • => 1
            )

        [disk_max] => 0
        [disk_min] => 0
        [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] => 1
        [has_admin_access] => 1
        [pub_upl_need_approval] => 0
        [priv_upl_need_approval] => 0
        [group_name] => Administrators
        [upload_form_config] => 0
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg148_filetypes; (0.004s)
        [1] => delete from `tussey`.cpg148_sessions where time<1153789463 and remember=0; (0.003s)
        [2] => delete from `tussey`.cpg148_sessions where time<1152583463; (0s)
        [3] => select user_id from `tussey`.cpg148_sessions where session_id=md5("c1c57e040bd490fa739e9c9aca0e835638396844f3e67564789297997f8c9b15"); (0.004s)
        [4] => select user_id as id, user_password as password from `tussey`.cpg148_users where user_id=1 (0.003s)
        [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `tussey`.cpg148_users AS u INNER JOIN `tussey`.cpg148_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.002s)
        [6] => SELECT user_group_list FROM `tussey`.cpg148_users AS u WHERE user_id='1' and user_group_list <> ''; (0.004s)
        [7] => 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 cpg148_usergroups WHERE group_id in (1) (0.001s)
        [8] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 1 (0.001s)
        [9] => update `tussey`.cpg148_sessions set time='1153793063' where session_id=md5('c1c57e040bd490fa739e9c9aca0e835638396844f3e67564789297997f8c9b15'); (0.001s)
        [10] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 1 (0.01s)
        [11] => DELETE FROM cpg148_banned WHERE expiry < '2006-07-24 21:04:24' (0.001s)
        [12] => SELECT * FROM cpg148_banned WHERE (ip_addr='198.68.131.93' OR ip_addr='198.68.131.93' OR user_id=1) AND brute_force=0 (0.003s)
        [13] => SELECT aid from cpg148_pictures WHERE pid='77'  LIMIT 1 (0.005s)
        [14] => SELECT title,keyword from cpg148_albums WHERE aid='4' (0.001s)
        [15] => SELECT COUNT(*) from cpg148_pictures WHERE ((aid='4'  ) )   (0.002s)
        [16] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg148_pictures WHERE ((aid='4'  ) )   ORDER BY pid ASC  (0.003s)
        [17] => SELECT title,keyword from cpg148_albums WHERE aid='4' (0.003s)
        [18] => SELECT COUNT(*) from cpg148_pictures WHERE ((aid='4'  ) )   (0.003s)
        [19] => SELECT * from cpg148_pictures WHERE ((aid='4'  ) )   ORDER BY pid ASC  LIMIT 0 ,1 (0.004s)
        [20] => SELECT title, comments, votes, category, aid FROM cpg148_albums WHERE aid='4' LIMIT 1 (0.002s)
        [21] => SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM cpg148_comments WHERE pid='77' ORDER BY msg_id ASC (0.001s)
        [22] => SELECT COUNT(*) FROM cpg148_pictures WHERE approved = 'NO' (0.004s)
        [23] => SELECT title,keyword from cpg148_albums WHERE aid='4' (0.002s)
        [24] => SELECT COUNT(*) from cpg148_pictures WHERE ((aid='4'  ) )   (0.003s)
        [25] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg148_pictures WHERE ((aid='4'  ) )   ORDER BY pid ASC  LIMIT 0 ,10 (0.001s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [pos] => -77
    )

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.2 - OK
    ------------------
    mySQL version: 5.0.18-standard-log
    ------------------
    Coppermine version: 1.4.8(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 5.0.16
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.2
    Linked Version 1.2.2
    ==========================
    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 | -1 | -1
    upload_max_filesize | 7M | 7M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.206 seconds - 26 queries in 0.071 seconds - Album set : ; Meta set: ;

Joachim Müller

You keep disrespecting what the upload troubleshooting section says:
QuoteDo not post debug_output unless requested.
I'm out of this thread.

honesttussey

Quote from: GauGau on July 25, 2006, 06:47:00 AM
You keep disrespecting what the upload troubleshooting section says:I'm out of this thread.

That's cool. I'm outta this php software. Delete.