Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: File Batch Upload Works - URL Batch Upload Fails  (Read 4351 times)

0 Members and 1 Guest are viewing this topic.

w0kie

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
File Batch Upload Works - URL Batch Upload Fails
« 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.
Logged

w0kie

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: File Batch Upload Works - URL Batch Upload Fails
« Reply #1 on: January 21, 2008, 07:15:34 pm »

By "batch" I mean 10 at a time.
Logged

w0kie

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: File Batch Upload Works - URL Batch Upload Fails
« Reply #2 on: January 21, 2008, 07:26:13 pm »

Logged

w0kie

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: File Batch Upload Works - URL Batch Upload Fails
« Reply #3 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.
Logged

w0kie

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: File Batch Upload Works - URL Batch Upload Fails
« Reply #4 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
Logged

Nibbler

  • Guest
Re: File Batch Upload Works - URL Batch Upload Fails
« Reply #5 on: January 21, 2008, 09:06:30 pm »

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

w0kie

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: File Batch Upload Works - URL Batch Upload Fails
« Reply #6 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.
Logged

w0kie

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: File Batch Upload Works - URL Batch Upload Fails
« Reply #7 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"> )





Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: File Batch Upload Works - URL Batch Upload Fails
« Reply #8 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? ::)
Logged

w0kie

  • Coppermine newbie
  • Offline Offline
  • Posts: 19
URL upload script issue says host tech support guy
« Reply #9 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.

Logged

Nibbler

  • Guest
Re: File Batch Upload Works - URL Batch Upload Fails
« Reply #10 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?
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.