I can not upload now. I can not upload now.
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

I can not upload now.

Started by Eadil, July 21, 2007, 03:43:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Eadil

Well it worked before. I could single or bulk upload. Now I get an error. The symptoms are that when I go to bulk load after selecting a directory and album it is not creating thumbnails like it used to. I have it set to use GD. Now I installed this a long time ago and don't remember all of my settings. I tried to install ImageMagick but do not have root on my 1and1 server. So I have thumbnails set to 2.0. I had forgotten my admin password and recovered that. I have spent hours on this before posting. Followed all of the upload problem requirements. After  I try the bulk load it gives me the 500 message. Here is the log info on a single http upload:
USER:
------------------
Array
(
    [ID] => 25c19100623bc95c7d950f419595ae9d
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 8
                [1] => 10
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 1
        [user_name] => cpadmin
        [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 cpg1410_filetypes; (0.041s)
        [1] => select * from cpg1410_plugins order by priority asc; (0.04s)
        [2] => delete from `db197038466`.cpg1410_sessions where time<1185021204 and remember=0; (0.041s)
        [3] => delete from `db197038466`.cpg1410_sessions where time<1183815204; (0.059s)
        [4] => select user_id from `db197038466`.cpg1410_sessions where session_id=md5("34ee5a510007fc305150c1a1ab48776d8cac9edb61ecf0903e67350376ba02c8"); (0.04s)
        [5] => select user_id as id, user_password as password from `db197038466`.cpg1410_users where user_id=1 (0.05s)
        [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 `db197038466`.cpg1410_users AS u INNER JOIN `db197038466`.cpg1410_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.04s)
        [7] => SELECT user_group_list FROM `db197038466`.cpg1410_users AS u WHERE user_id='1' and user_group_list <> ''; (0.04s)
        [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 cpg1410_usergroups WHERE group_id in (1) (0.042s)
        [9] => SELECT group_name FROM  cpg1410_usergroups WHERE group_id= 1 (0.04s)
        [10] => update `db197038466`.cpg1410_sessions set time='1185024804' where session_id=md5('34ee5a510007fc305150c1a1ab48776d8cac9edb61ecf0903e67350376ba02c8'); (0.055s)
        [11] => SELECT user_favpics FROM cpg1410_favpics WHERE user_id = 1 (0.04s)
        [12] => DELETE FROM cpg1410_banned WHERE expiry < '2007-07-21 17:33:24' (0.04s)
        [13] => SELECT * FROM cpg1410_banned WHERE (ip_addr='68.84.129.127' OR ip_addr='68.84.129.127' OR user_id=1) AND brute_force=0 (0.04s)
        [14] => SELECT aid, title FROM cpg1410_albums WHERE category < 10000 ORDER BY title (0.04s)
        [15] => SELECT aid, title FROM cpg1410_albums WHERE category='10001' ORDER BY title (0.04s)
        [16] => DELETE FROM cpg1410_temp_data WHERE timestamp < 1185021204 (0.041s)
        [17] => SELECT COUNT(*) FROM cpg1410_pictures WHERE approved = 'NO' (0.04s)
        [18] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='3' AND cat.cid=alb.category (0.04s)
        [19] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='1' AND cat.cid=alb.category (0.04s)
        [20] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='5' AND cat.cid=alb.category (0.04s)
        [21] => SELECT cat.name FROM cpg1410_categories cat, cpg1410_albums alb WHERE alb.aid='2' AND cat.cid=alb.category (0.04s)
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.7 - OK
    ------------------
    mySQL version: 4.0.27-standard-log
    ------------------
    Coppermine version: 1.4.10(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.0.25
    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.1
    Linked Version 1.2.1
    ==========================
    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 | 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 | 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 | 50000 | 50000
    max_input_time | -1 | -1
    upload_max_filesize | 20M | 20M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 1.301 seconds - 22 queries in 0.929 seconds - Album set : ; Meta set: ;

Eadil

Ooops. Sorry I didn't read the red directions.

Web site: www.bobcd.com
User/password: testuser/usertest

Nibbler


Eadil

Ok it is a size problem. These are six megapixel (right from the memory card) jpegs. Which are to large I guess. In config -> Files and Thumbnails I upped the size and I checked Auto resize images that are larger than max width or height to Yes:everyone. But it still won't allow an upload. I don't want to resize these shots by hand. Is there a way to do this during the upload. It looks like they should autoresize right?

OR is there a way to use GD to resize the shots I uploaded. These are just a bunch of reunion photo's I don't want to doctor up.

Tranz

http://forum.coppermine-gallery.net/index.php?topic=45392.0

Keep in mind that image processing is very resource intensive, and more so with bigger files. If you're on shared hosting, your webhost could be unhappy with you trying to process 6 megapixel files on their servers. Just a heads-up. :)

We recommend people do pre-processing on their local computers.

Eadil

Argh. Well it is my own server. The rub here is I just upgraded my main puter to Vista. Now I need to get cs2 on there. And I'm sure I'll have a hassle with Adobe registering. Why can't things be simple. LOL Thanks for your help! I learned some today. So that is good!


Thanks again!

klewless

Sorry for butting in but I agree with TranzNDance. 6 MG photos don't belong online unless all your viewers have 42 inch flat panel monitors or something.
Just think of how long those pics will take to upload with dialup....people still have dialup, especially laptop users who are away from home and are stuck with what is available to them.

Kind regards.
Klew

Tranz

Yup, that's what I was thinking too but didn't include in my reply. :)