forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: msanderc 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 (http://web.ics.purdue.edu/~breakers/gallery)
-
Update your gallery.
Do normal HTTP uploads work?
http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_trouble
-
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.
-
i'll debug in a min...
-
USER:
------------------
Array
(
[ID] => f356e23a6bef98b86eba846e67b79790
[am] => 1
[lang] => english
[theme] => rainy_day
[liv] => Array
(
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 2
[user_name] => mrsander7x
[groups] => Array
(
)
[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
(
- => http://www.bboy.org/forums/attachments/word-up/16354d1158330144-design-bboy-org-wallpaper-bboyorg.jpg
)
[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: ;
-
Nobody asked for the debug_output! Do exactly as suggested in the upload troubleshooting section of the docs.
-
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