Http upload process not working Http upload process not working
 

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

Http upload process not working

Started by gchancy, June 22, 2006, 04:35:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gchancy

I recently installed Coppermine 1.4.8. I am running the latest bridge to phpBB2.0.2.

When attempting to upload using the Opera browser, I get the following error:

"You tried to access the address http://www.ststephenoca.com/cpg148/db_input.php, which is currently unavailable. Please make sure that the Web address (URL) is correctly spelled and punctuated, then try reloading the page."

In Firefox, the browser simply hangs. I have set all necessary permissions to 777. Also, I have read and followed the debug instructions for file upload process. Debug is on, and the URL upload is disabled. Only one box is enabled for HTTP upload.

Site ID: www.ststephenoca.com/cpg148
User ID: nicholas (not an admin ID)
Password: mun1dek

Thank you.

Debug information is below:

USER:
------------------
Array
(
    [ID] => 2dcf2b07c893bc47d107bd37b1e117f4
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 2
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 5
        [user_name] => nicholas
        [groups] => Array
            (
               
  • => 2
            )

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

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg148_filetypes; (0.001s)
        [1] => select * from cpg148_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg148_bridge (0s)
        [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `ststepdb`.phpbb_users AS u, `ststepdb`.phpbb_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = 'c78774601f59bbee90989f0f2ec0a36c' AND u.user_id > 0 (0s)
        [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, ug.group_id AS group_id FROM `ststepdb`.phpbb_users AS u, `ststepdb`.phpbb_user_group AS ug WHERE u.user_id=ug.user_id AND u.user_id='5' (0s)
        [5] => 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 (2) (0s)
        [6] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 2 (0s)
        [7] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 5 (0s)
        [8] => DELETE FROM cpg148_banned WHERE expiry < '2006-06-22 07:32:42' (0s)
        [9] => SELECT * FROM cpg148_banned WHERE (ip_addr='65.33.94.66' OR ip_addr='65.33.94.66' OR user_id=5) AND brute_force=0 (0s)
        [10] => SELECT aid FROM cpg148_albums WHERE visibility != '0' AND visibility !='10005' AND visibility NOT IN (2) (0s)
        [11] => SELECT aid, title FROM cpg148_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (2)) ORDER BY title (0s)
        [12] => SELECT aid, title FROM cpg148_albums WHERE category='10005' ORDER BY title (0s)
        [13] => DELETE FROM cpg148_temp_data WHERE timestamp < 1150939962 (0s)
    )

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

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

    ==========================
    Page generated in 0.066 seconds - 14 queries in 0.001 seconds - Album set : ; Meta set: ;

Vargha

Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

gchancy

Any chance this could be my browsers doing this to me? I run a Mac using Mac OS X Tiger. I use Opera, Firefox, and Safari. I have noticed that Safari won't log me in using the Bridge, so I have been trying to use Firefox and Opera to work with the site. They will log me in, but I can't upload pics. Is any of this IE specific?

Vargha

it worked 4 me in IE and Firefox not sure bout the other browsers
do u have any firewall or something that blocks uploading
Haalaa Boro Ye Chayi Vasam Dorost Kon Ta Man Ye Fekri Be Halet Bokonam ;) Ye Hendooneye Shotoriham Biyar Bizahmat :)
Visit My Site www.Rangarang.co.nr
Check Out My Gallery
www.Rangarang.co.nr/buddies
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fimg157.imageshack.us%2Fimg157%2F838%2Frangarang4xn.jpg&hash=48b4c3087515cafe09fc6d3f7ee19dce86328d8e)

gchancy

I use the Mac OS X firewall, but I disabled it and am still not able to upload. Curious thing, I loaded pics to an FTP folder and then used the 'Batch' method. That didn't work either. I got the following notice when I did so:

Warning line 2922: cannot yet handle MBCS in html_entity_decode()!

Here is the full debug:


USER:
------------------
Array
(
    [ID] => 0c2955d61d68f9cc96910cea21add33f
    [am] => 1
    [lang] => english
    [liv] => Array
        (
           
  • => 4
            )

    )

    ==========================
    USER DATA:
    ------------------
    Array
    (
        [user_id] => 2
        [user_name] => gchancy
        [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; (0s)
        [1] => select * from cpg148_plugins order by priority asc; (0s)
        [2] => SELECT * FROM cpg148_bridge (0s)
        [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `ststepdb`.phpbb_users AS u, `ststepdb`.phpbb_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = '6a95b9abc13a7e4695d69e72c9bf5244' AND u.user_id > 0 (0s)
        [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, ug.group_id AS group_id FROM `ststepdb`.phpbb_users AS u, `ststepdb`.phpbb_user_group AS ug WHERE u.user_id=ug.user_id AND u.user_id='2' (0s)
        [5] => 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) (0s)
        [6] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 1 (0s)
        [7] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 2 (0.001s)
        [8] => DELETE FROM cpg148_banned WHERE expiry < '2006-06-22 08:32:19' (0s)
        [9] => SELECT * FROM cpg148_banned WHERE (ip_addr='65.33.94.66' OR ip_addr='65.33.94.66' OR user_id=2) AND brute_force=0 (0s)
        [10] => SELECT aid, title FROM cpg148_albums WHERE 1 (0s)
        [11] => SELECT COUNT(*) FROM cpg148_pictures WHERE approved = 'NO' (0s)
        [12] => SELECT filepath, filename FROM cpg148_pictures WHERE filepath LIKE 'FTP%' (0s)
        [13] => SELECT aid, title FROM cpg148_albums WHERE category = 0 (0s)
        [14] => SELECT DISTINCT a.aid as aid, a.title as title, c.name as cname FROM cpg148_albums as a, cpg148_categories as c WHERE a.category = c.cid AND a.category < '10000' (0s)
        [15] => SELECT aid, CONCAT('(', username, ') ', a.title) AS title
                                                            FROM cpg148_albums AS a
                                                            INNER JOIN `ststepdb`.phpbb_users AS u
                                                            ON category = (10000 + 2) AND user_id = 2 ORDER BY title (0s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [startdir] => FTP
    )

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

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.9 - OK
    ------------------
    mySQL version: 4.1.12
    ------------------
    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 1
    Active Links 2
    Client API version 4.1.12
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib/mysql -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/share/pear | .:/usr/share/pear
    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 | 60 | 60
    max_input_time | 60 | 60
    upload_max_filesize | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.083 seconds - 16 queries in 0.001 seconds - Album set : ; Meta set: ;




    Now - I would think that if my files were already on the server, then things would be smoother, but that isn't the case. I appreciate the help, do you have any other suggestions?

    Thanks.  :)

Joachim Müller

In the future, don't post debug_output unless a supporter requests it, as it clutters threrads and is only needed in particular cases. Turn notices display off, it's not needed at all.
There have been reports that coppermine works fine on Mac OS (can't tell for sure, as I don't own one). Make sure you test things with known-good files that are small both in file size and dimension.