Issue with Upload by URL/URI Issue with Upload by URL/URI
 

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

Issue with Upload by URL/URI

Started by psylocke, August 28, 2008, 03:05:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

psylocke

I am having problems with uploading files by URL, It doesn't show any message, it only gives an error and no description, please view the attachment.

I contacted my server management and they said it's an issue with the script, not with the server, I have my url_fopen On.

My permissions are with chmod 777 on the userpics folder.

Here is some info:


allow_url_fopen   On   On

VERSION INFO :
------------------
PHP version: 5.2.6 - OK
------------------
mySQL version: 4.1.22-standard
------------------
Coppermine version: 1.4.18(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


==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.22
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
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 | On | On
safe_mode_exec_dir | 1 | 1
safe_mode_gid | Off | Off
safe_mode_include_dir | 1 | 1
safe_mode_exec_dir | 1 | 1
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On


Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 50 | 50
max_input_time | 70 | 70
upload_max_filesize | 20M | 20M
post_max_size | 16M | 16M
XBM Support    enabled

psylocke

I enabled the notices:

/upload.php

    * Notice line 1729: Undefined offset: 0
    * Notice line 1734: Undefined offset: 0
    * Notice line 1739: Undefined offset: 0
    * Notice line 1744: Undefined offset: 0
    * Notice line 1749: Undefined offset: 0
    * Notice line 1754: Undefined offset: 0
    * Notice line 1759: Undefined offset: 0
    * Notice line 1767: Undefined offset: 0
    * Notice line 1967: Undefined variable: escrow_array
    * Notice line 1968: Undefined variable: file_failure_array
    * Notice line 1970: Undefined variable: zip_failure_array

Nibbler

Do normal HTTP uploads work? Post a link to your gallery and a test user account.


Joachim Müller

http uploads work, see http://wonderfuljessica.com/gallery/displayimage.php?pos=-1738

Why use URI uploads  in the first place? You don't safe webspace using URI uploads - are you aware of that? You (as admin) should use FTP-upload plus batch-add instead.