Advanced search  

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]

Pages: [1]   Go Down

Author Topic: URI Upload Error  (Read 4198 times)

0 Members and 1 Guest are viewing this topic.

msanderc

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
URI Upload Error
« on: August 30, 2007, 04:18:01 am »

I'm having trouble uploading urls (i'm hoping to allow YouTube uploading) but I keep getting an error:

Coppermine v.1.4.10

Error:
0 uploads were successful.

Error Report
The following uploads encountered errors:
URI/URL Uploads:
File Name/URL                       Error Message
1. http://keusta.net/blog/images/graffiti/bboy/freestyle-ivry-mdc-bboy.jpg

permissions are fine, file_uploads on, url_fopen on. Not sure what else it can be.

http://web.ics.purdue.edu/~breakers/gallery
Logged

Nibbler

  • Guest
Re: URI Upload Error
« Reply #1 on: August 30, 2007, 03:14:42 pm »

Update your gallery.

Do normal HTTP uploads work?

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
Logged

msanderc

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: URI Upload Error
« Reply #2 on: August 30, 2007, 07:49:06 pm »

Updated gallery to 1.4.12 and still getting the same error

What do you mean by normal HTTP uploads? If you mean uploading files from the computer, then yes. If you mean normal images from the web, look at the file in my first post again. That's where i'm having the problem.
Logged

msanderc

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: URI Upload Error
« Reply #3 on: August 30, 2007, 07:49:59 pm »

i'll debug in a min...
Logged

msanderc

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: URI Upload Error
« Reply #4 on: August 30, 2007, 07:55:52 pm »

USER:
------------------
Array
(
    [ID] => f356e23a6bef98b86eba846e67b79790
    [am] => 1
    [lang] => english
    [theme] => rainy_day
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => mrsander7x
    [groups] => Array
        (
           
  • => 1

        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 2
    [ufc_min] => 2
    [custom_user_upload] => 0
    [num_file_upload] => 0
    [num_URI_upload] => 1
    [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] => 2
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content, player FROM gallery_filetypes; (0.001s)
  • [1] => select * from gallery_plugins order by priority asc; (0s)
        [2] => SELECT * FROM gallery_bridge (0s)
        [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `breakers`.forum_users AS u, `breakers`.forum_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = 'e9a4671a14d0008b9f84109e73562781' 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 `breakers`.forum_users AS u, `breakers`.forum_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 gallery_usergroups WHERE group_id in (1) (0s)
        [6] => SELECT group_name FROM  gallery_usergroups WHERE group_id= 1 (0s)
        [7] => SELECT user_favpics FROM gallery_favpics WHERE user_id = 2 (0.001s)
        [8] => DELETE FROM gallery_banned WHERE expiry < '2007-08-30 13:53:58' (0.001s)
        [9] => SELECT * FROM gallery_banned WHERE (ip_addr='128.211.207.63' OR ip_addr='128.211.207.63' OR user_id=2) AND brute_force=0 (0s)
        [10] => SELECT aid, title FROM gallery_albums WHERE category < 10000 ORDER BY title (0s)
        [11] => SELECT aid, title FROM gallery_albums WHERE category='10002' ORDER BY title (0s)
        [12] => SELECT COUNT(*) FROM gallery_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
       
[URI_array] => Array
        (
           
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.3 - OK
------------------
mySQL version: 5.0.45-log
------------------
Coppermine version: 1.4.12(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 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
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support: 1

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.45
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/opt/mysql/include/mysql
MYSQL_LIBS -L/opt/mysql/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
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 | .:/opt/php-5.2.3/lib/php | .:/opt/php-5.2.3/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 | -1 | -1
upload_max_filesize | 512M | 512M
post_max_size | 16M | 16M
==========================
Page generated in 0.863 seconds - 13 queries in 0.003 seconds - Album set : ; Meta set: ;
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: URI Upload Error
« Reply #5 on: September 04, 2007, 10:10:36 am »

Nobody asked for the debug_output! Do exactly as suggested in the upload troubleshooting section of the docs.
Logged

msanderc

  • Coppermine newbie
  • Offline Offline
  • Posts: 12
Re: URI Upload Error
« Reply #6 on: September 04, 2007, 03:00:29 pm »

wow, i feel like a complete idiot. Sorry about that... getting ahead of myself i guess.

website: http://web.ics.purdue.edu/~breakers/gallery
username: breakers
password: purdue
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.