forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: w0kie on January 21, 2008, 07:13:41 pm

Title: File Batch Upload Works - URL Batch Upload Fails
Post by: w0kie on January 21, 2008, 07:13:41 pm
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.
Title: Re: File Batch Upload Works - URL Batch Upload Fails
Post by: w0kie on January 21, 2008, 07:15:34 pm
By "batch" I mean 10 at a time.
Title: Re: File Batch Upload Works - URL Batch Upload Fails
Post by: w0kie on January 21, 2008, 07:26:13 pm
Never mind.  I found my answer.

http://forum.coppermine-gallery.net/index.php?topic=48663.0
Title: Re: File Batch Upload Works - URL Batch Upload Fails
Post by: w0kie on January 21, 2008, 08:11:09 pm
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.
Title: Re: File Batch Upload Works - URL Batch Upload Fails
Post by: w0kie on January 21, 2008, 08:46:36 pm
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
Title: Re: File Batch Upload Works - URL Batch Upload Fails
Post by: Nibbler on January 21, 2008, 09:06:30 pm
Post more details - a link to your gallery + test user account.
Title: Re: File Batch Upload Works - URL Batch Upload Fails
Post by: w0kie on January 21, 2008, 10:53:00 pm
Since it's a new install I'm going to zap it and start over from ground zero.  Thanks for listening.
Title: Re: File Batch Upload Works - URL Batch Upload Fails
Post by: w0kie on January 22, 2008, 04:29:02 am
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"> )





Title: Re: File Batch Upload Works - URL Batch Upload Fails
Post by: Joachim Müller on January 22, 2008, 08:17:25 am
You should learn to read what supporters say and do as they suggest. Nibbler told you what you need to do:
Post more details - a link to your gallery + test user account.
You have failed to do so. What kind of answer do you expect? ::)
Title: URL upload script issue says host tech support guy
Post by: w0kie on January 28, 2008, 08:19:44 pm
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.

Title: Re: File Batch Upload Works - URL Batch Upload Fails
Post by: Nibbler on January 28, 2008, 09:03:25 pm
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?