coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: jzt451 on February 28, 2005, 04:47:32 PM

Title: Batch Problem
Post by: jzt451 on February 28, 2005, 04:47:32 PM
I created a album but when I go to batch uploaad & select the album. It says no album selected.

I get one of these for each picture: Notice: Undefined variable: fullimagesize in /home/morphing/public_html/cpg132/searchnew.php on line 136 or 137

Notice: Undefined index: db in /home/morphing/public_html/cpg132/include/media.functions.inc.php on line 51

Notice: Undefined index: db in /home/morphing/public_html/cpg132/include/media.functions.inc.php on line 54

Notice: Undefined index: url_prefix in /home/morphing/public_html/cpg132/include/functions.inc.php on line 1225

Notice: Undefined index: in /home/morphing/public_html/cpg132/include/functions.inc.php on line 1225

Here is my debug info:  USER:
------------------
Array
(
    [ID] => bd27bdb76150ef480234c3478b465a21
    [am] => 1
    [liv] => Array
        (
           
Title: Re: Batch Problem
Post by: Joachim Müller on February 28, 2005, 05:42:39 PM
Quote from: jzt451 on February 28, 2005, 04:47:32 PM
I created a album but when I go to batch uploaad & select the album. It says no album selected.
Well, why don't you do as the error message suggests and choose an album from the dropdown list before you continue? You have to create at least one album your uploads can go to before that of course, as described in the documentation. The notices can safely be ignored if they don't mean anything to you, or (even better) be switched off in coppermine config. The debug info is irrelevant in this case as well - only post it if a supporter requests you to do so.

Joachim
Title: Re: Batch Problem
Post by: jzt451 on February 28, 2005, 05:59:58 PM
I do choose a album but it says I didn't.
Title: Re: Batch Problem
Post by: Joachim Müller on February 28, 2005, 06:23:45 PM
please post a link to your site, and a test user account (non-admin) with upload privileges.

Joachim
Title: Re: Batch Problem
Post by: jzt451 on February 28, 2005, 06:36:13 PM
http://morphinggrid.com/ user: test  pass: test

It only does it in match.
Title: Re: Batch Problem
Post by: Joachim Müller on February 28, 2005, 06:48:12 PM
I logged in with the login data you provided and tried to create an album. I got the error message
QuoteWhile executing query "INSERT INTO cpg132_albums (category, title, uploads, pos) VALUES ('10002', 'New album', 'NO',  '1')" on 0

mySQL error: Duplicate entry '0' for key 1
- this leads to the conclusion that there's something fishy with your database. See the posting http://forum.coppermine-gallery.net/index.php?topic=4391.0 and report if this fixes issues for you.

Joachim
Title: Re: Batch Problem
Post by: jzt451 on February 28, 2005, 07:36:39 PM
That worked Thank You.  But how did it get changed?
Title: Re: Batch Problem
Post by: Joachim Müller on March 01, 2005, 08:18:17 AM
hm, I have no idea - did you upgrade from a very old version of coppermine, or did you create a fresh install using the cpg1.3.2 package? Of course you can never rule out that it was something that you accidentally did. Another option might be your host doing maintenance works on the mySQL side and breaking things there (happens more often than you would think). I wouldn't investigate too much about the "why" (this is something I have given up long ago), I'd just smile and leave it as is. After all, you seem to just have started your coppermine gallery (300+ pics with 1000+ views), so you probably haven't lost many visitors...

Joachim
Title: Re: Batch Problem
Post by: jzt451 on March 02, 2005, 05:38:39 AM
You were right it was my host. How did you figure out how many view I've had?
Title: Re: Batch Problem
Post by: Nibbler on March 02, 2005, 01:26:05 PM
It says so on your page - "314 files in 6 albums with 0 comments viewed 1727 times" :)