File Batch Upload Works - URL Batch Upload Fails File Batch Upload Works - URL Batch Upload Fails
 

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

File Batch Upload Works - URL Batch Upload Fails

Started by w0kie, January 21, 2008, 07:13:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

w0kie

I can file batch upload pictures to my new host using the latest Coppermine perfectly.  When I enter picture property URL's from my older version Coppermine on a Gocrappy host the batch and even single upload fails.  Same pictures.

w0kie



w0kie

My host said he just fixed it but all that actually changed on my end is that the url php error message disappeared (now blank) but the url upload to Coppermine still failed.  Regular Coppermine jpg uploads work perfectly.

w0kie

Here's what host support says:

Is it possible that the urlimport feature has a bug? There is nothing in the server error logs, nor php error logs which suggest this is system related. When I enabled debug and notices in your Coppermine instance, and attempted the upload this is what was displayed:

Notice line 1733: Undefined offset: 0
Notice line 1738: Undefined offset: 0
Notice line 1743: Undefined offset: 0
Notice line 1748: Undefined offset: 0
Notice line 1753: Undefined offset: 0
Notice line 1758: Undefined offset: 0
Notice line 1763: Undefined offset: 0
Notice line 1771: Undefined offset: 0
Notice line 1971: Undefined variable: escrow_array
Notice line 1972: Undefined variable: file_failure_array
Notice line 1974: Undefined variable: zip_failure_array

Can you ask the developers of Coppermine to debug that output? Wish I could be more help, but I believe the issue to be with coppermine on this one.

Thanks,
Joe

and

Configuration
PHP Core
Directive Local Value Master Value
allow_call_time_pass_reference On On
allow_url_fopen On On

Nibbler

Post more details - a link to your gallery + test user account.

w0kie

Since it's a new install I'm going to zap it and start over from ground zero.  Thanks for listening.

w0kie

Installed virgin Coppermine.  Set up perfectly.  Added one category and one album.  Verified that allow_url_fopen = On (Local Value) & On (Master Value)

Attemped upload of url from old Coppermine on different host.

Upload failed.  No description of error.

Also noted that virgin Coppermine has the following problem in its XHTML test at the bottom of the main screen:

Validation Output: 1 Error
Line 3, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml.

(Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> )






Joachim Müller

You should learn to read what supporters say and do as they suggest. Nibbler told you what you need to do:
Quote from: Nibbler on January 21, 2008, 09:06:30 PM
Post more details - a link to your gallery + test user account.
You have failed to do so. What kind of answer do you expect? ::)

w0kie

My host is attempting to help me resolve the fact that I can't upload url links on a plain vanilla Coppermine install.  This is what he says:

With debug on I now receive these notices:

Notices (BEFORE UPLOAD ATTEMPT)
/upload.php
Notice line 269: Undefined offset: 2
Notice line 275: Undefined offset: 3
Notice line 275: Undefined offset: 4

(ON UPLOAD ATTEMPT)
/upload.php
Notice line 1733: Undefined offset: 0
Notice line 1738: Undefined offset: 0
Notice line 1743: Undefined offset: 0
Notice line 1748: Undefined offset: 0
Notice line 1753: Undefined offset: 0
Notice line 1758: Undefined offset: 0
Notice line 1763: Undefined offset: 0
Notice line 1771: Undefined offset: 0
Notice line 1971: Undefined variable: escrow_array
Notice line 1972: Undefined variable: file_failure_array
Notice line 1974: Undefined variable: zip_failure_array

This is a script issue that is consuming our time. Please let me know what Coppermine tells you is needed, other than opening security holes in the system.


Nibbler

Merged with your already open thread. Why don't you do as suggested and post a link and test account instead of posting useless info nobody asked for?