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: Issue with Upload by URL/URI  (Read 2563 times)

0 Members and 1 Guest are viewing this topic.

psylocke

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Issue with Upload by URL/URI
« on: August 28, 2008, 03:05:34 am »

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
Logged

psylocke

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Issue with Upload by URL/URI
« Reply #1 on: August 28, 2008, 03:38:29 am »

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
Logged

Nibbler

  • Guest
Re: Issue with Upload by URL/URI
« Reply #2 on: August 28, 2008, 03:49:38 am »

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

psylocke

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Issue with Upload by URL/URI
« Reply #3 on: August 28, 2008, 03:51:30 am »

Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Issue with Upload by URL/URI
« Reply #4 on: August 28, 2008, 12:57:27 pm »

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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.