Errors while uploading pictures(Gaugau plz come and read now) Errors while uploading pictures(Gaugau plz come and read 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

Errors while uploading pictures(Gaugau plz come and read now)

Started by harsh, January 21, 2006, 05:19:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

harsh

Hello there. I am facing lots of problems while uploading pictures in my site's picture galleries. Could u help me.

Here is the error:

Error Report
The following uploads encountered errors:
File Uploads:
File Name/URL   Error Message
1. 2788dsrh.jpg   Exceeded filesize permitted by CPG.
URI/URL Uploads:
File Name/URL   Error Message
1. http://www.the-leaky-cauldron.org/images/thumbs/crankin.jpg   HTTP/1.1 200 OK

Nibbler

You hit the limit that you set for filesize in config. Increase the limit or upload smaller pics.

harsh

now no error come with huge pictures uploaded from my computer as i chaged the size and all but errors come if i do url uploads:

URI/URL Uploads:
File Name/URL   Error Message
1. http://images.cosforums.com/images/cosdefault/statusicon/thread_new.gif   HTTP/1.0 200 OK

Joachim Müller


harsh

USER:
------------------
Array
(
    [ID] => a95d5eeb326345f390efb1c5d72a7777
    [am] => 1
    [lang] => english
    [search] => Array
        (
            [search] => dvd
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [filename] => on
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                    [filename] => on
                )

        )

    [liv] => Array
        (
        )

    [uid] => 2
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => ****
    [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] => 10
        [num_URI_upload] => 10
        [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 `potterin_copp1`.cpg_sessions where time<1137942780 and remember=0; (0s)
        [3] => delete from `potterin_copp1`.cpg_sessions where time<1136736780; (0s)
        [4] => select user_id from `potterin_copp1`.cpg_sessions where session_id=md5("9de7caf58e75a9faa126de89cc6fb77759373973ac6df82101a8c990d33b2432"); (0s)
        [5] => select user_id as id, user_password as password from `potterin_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 `potterin_copp1`.cpg_users AS u INNER JOIN `potterin_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `potterin_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 `potterin_copp1`.cpg_sessions set time='1137946380' where session_id=md5('9de7caf58e75a9faa126de89cc6fb77759373973ac6df82101a8c990d33b2432'); (0s)
        [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
        [12] => DELETE FROM cpg_banned WHERE expiry < '2006-01-22 16:13:00' (0s)
        [13] => SELECT * FROM cpg_banned WHERE (ip_addr='59.183.24.250' OR ip_addr='59.183.24.250' OR user_id=1) AND brute_force=0 (0s)
        [14] => SELECT aid, title FROM cpg_albums WHERE category < 10000 ORDER BY title (0.001s)
        [15] => SELECT aid, title FROM cpg_albums WHERE category='10001' ORDER BY title (0s)
        [16] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [URI_array] => Array
            (
               
  • => http://www.xldstudios.com/images/logos/banner.gif
                [1] =>
                [2] =>
                [3] =>
                [4] =>
                [5] =>
                [6] =>
                [7] =>
                [8] =>
                [9] =>
            )

        [control] => phase_1
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.4.1 - OK
    ------------------
    mySQL version: 4.0.25-standard
    ------------------
    Coppermine version: 1.4.2(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    FreeType Support:
    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/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.1.2
    Linked Version 1.2.1.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/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 | 1000M | 1000M
    post_max_size | 25M | 25M
    ==========================
    Page generated in 4.352 seconds - 17 queries in 0.001 seconds - Album set : ; Meta set: ;

Tranz

You must read and follow the instructions in their entirety.

harsh

I realy do not understand what this thing means.

Joachim Müller

you're not meant to post debug_output. What's so hard to understand - the section
QuoteWhen 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.
Re-read the section and do exactly as your told. If you don't, we won't be able to help.

harsh

of here is the test log in and thank u GauGau

user name= gallery
password= gallery

Joachim Müller

You haven't done as suggested - there are 10 file and 10 uri upload fields, and debug_mode is off. You have been told to do as suggested in the upload troubleshooting section, yet you don't. I've had enough if this, I won't beg to support you. I'm out of this thread, grow up!

Joachim

harsh

See we could not close the galleries so the pictures have to be added so thus we could not chage a lot.

I have oned debug mode for everyone now and also making url and all proper.

The only problem is that url uploads is not working.

if i could send u a mail or PM u something by which u could log in as admin and help me.

harsh