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
-
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.
-
By "batch" I mean 10 at a time.
-
Never mind. I found my answer.
http://forum.coppermine-gallery.net/index.php?topic=48663.0
-
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.
-
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
-
Post more details - a link to your gallery + test user account.
-
Since it's a new install I'm going to zap it and start over from ground zero. Thanks for listening.
-
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"> )
-
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? ::)
-
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.
-
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?