[n/a: cpg1.3.0 support request]: Strange error uploading files [n/a: cpg1.3.0 support request]: Strange error uploading 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

[n/a: cpg1.3.0 support request]: Strange error uploading files

Started by vlimmere, May 12, 2004, 11:09:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vlimmere

Hi all,

I want to use coppermine to organize and publish my family picture, but I have the following strange error about 80% of the time that I try to upload a file. (I already tried searching the board, but nothing worthwhile came up.) I am using single file upload at the moment and attached the debug output below:

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://62.195.120.83/cpgweb/db_input.php

The following error was encountered:

Write Error
The system returned:

   (32) Broken pipeAn error condition occurred while writing to the network. Please retry your request.


Personally, I suspect that something is wrong with my php configuration but I have no idea where to look first. Any ideas.

Info:
USER:
------------------
Array
(
   [ID] => d42b24144f751032db4cf4b2485baf75
   [am] => 1
   [liv] => Array
       (
           
  • => 50
               [1] => 48
               [2] => 51
               [3] => 54
               [4] => 62
           )

       [sort] => da
       [theme] => default
       [lang] => english
    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
       
  • => 1
       [user_id] => 1
       [1] => 1
       [user_group] => 1
       [2] => YES
       [user_active] => YES
       [3] => root
       [user_name] => root
       [4] => Klomp3
       [user_password] => ********
       [5] => 2004-05-11 15:32:15
       [user_lastvisit] => 2004-05-11 15:32:15
       [6] => 2004-05-10 21:02:38
       [user_regdate] => 2004-05-10 21:02:38
       [7] =>
       [user_lang] =>
       [8] =>
       [user_email] =>
       [9] =>
       [user_website] =>
       [10] =>
       [user_location] =>
       [11] =>
       [user_interests] =>
       [12] =>
       [user_occupation] =>
       [13] =>
       [user_actkey] =>
       [14] => 1
       [group_id] => 1
       [15] => Administrators
       [group_name] => Administrators
       [16] => 0
       [group_quota] => 0
       [17] => 1
       [has_admin_access] => 1
       [18] => 1
       [can_rate_pictures] => 1
       [19] => 1
       [can_send_ecards] => 1
       [20] => 1
       [can_post_comments] => 1
       [21] => 1
       [can_upload_pictures] => 1
       [22] => 1
       [can_create_albums] => 1
       [23] => 0
       [pub_upl_need_approval] => 0
       [24] => 0
       [priv_upl_need_approval] => 0
       [25] => 0
       [upload_form_config] => 0
       [26] => 0
       [custom_user_upload] => 0
       [27] => 5
       [num_file_upload] => 5
       [28] => 3
       [num_URI_upload] => 3
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content FROM cpg130_filetypes;
       [1] => SELECT * FROM cpg130_users, cpg130_usergroups WHERE user_group = group_id AND user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '*'
       [2] => DELETE FROM cpg130_banned WHERE expiry < 1084352271
       [3] => SELECT * FROM cpg130_banned WHERE ip_addr='194.171.252.100' OR ip_addr='unknown' OR user_id=1
    )

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

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.6 - OK
    ------------------
    mySQL version: 4.0.18
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.18
    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 | 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 | .: | .:
    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 | 8M | 8M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.196 seconds - 4 queries in 0.002 seconds - Album set :

vlimmere

Just so people can try this for themselves, I have added a test user (password: testing).

http://62.195.120.83/cpgweb/

I have the same results both within as outside of the firewall that I have at home, so I dismissed the possibility that the firewall is blocking traffic.

vlimmere

Ok. I am really stupid. I just realized that I have installed 1.3 instead of the stable 1.2.1. and therefore I am at least posting on the wrong board.

Not sure though whether my first post is a request for support or a 'real' bug that I encountered. I will leave it up to the mod to either move this thread to the correct group or close it.

Sorry  :-X