Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Uploading and album does not exist  (Read 5646 times)

0 Members and 1 Guest are viewing this topic.

Bullmax

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Uploading and album does not exist
« on: April 27, 2006, 06:47:51 pm »

When a pic is uploaded, it says "The selected album/file does not exist !".
"File: /home/xxxxx/public_html/photoalbum/include/functions.inc.php - Line: 1308"

The pic gets uploaded anyway to the correct album.


I also noticed when on the main page, when I click on the properties on each catagory, there is duplicate entries for just the albums I made.  All the other ones like a users album is not duplicated.  See this pic.
Is this why it can't find the album?  Why has it duplicated?

(Login info removed and photo)
Version: CPG 1.4.5
« Last Edit: May 13, 2006, 05:31:37 pm by TranzNDance »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading and album does not exist
« Reply #1 on: April 28, 2006, 06:48:14 pm »

uploads don't go into categories, but into albums
Logged

Bullmax

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Uploading and album does not exist
« Reply #2 on: April 28, 2006, 06:56:22 pm »

Ok let me rephrase it then:

The albums duplicate on my main page.
This is when I click the properties button on each album.

So any idea of why I have this problem?
Logged

Bullmax

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Uploading and album does not exist
« Reply #3 on: April 30, 2006, 06:16:02 pm »

Can anyone help?  My users keep uploading duplicate pictures because they don't think their pic is uploading due to the error they get.

Thanks to anyone that can help!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Uploading and album does not exist
« Reply #4 on: April 30, 2006, 06:17:33 pm »

can't replicate, sorry. Not sure what to suggest.
Logged

Bullmax

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Uploading and album does not exist
« Reply #5 on: April 30, 2006, 06:21:13 pm »

can't replicate, sorry. Not sure what to suggest.

Hi and thanks for the response.
What do you mean by "can't replicate"?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Uploading and album does not exist
« Reply #6 on: April 30, 2006, 07:47:05 pm »

means he tried to reproduce that error but wasn't able to

if you have phpmyadmin installed... can you make a screenshot of your albums table contents (select your CPG database on the dropdown, then click the albums table below and now 'Browse' in the top navigation )

Bullmax

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Uploading and album does not exist
« Reply #7 on: April 30, 2006, 09:15:12 pm »

Here is a pic of the contents for the albums table.  There is 2 pages of it which consits of members albums as well.  There is no duplicate albums there:

(pic removed)
« Last Edit: May 13, 2006, 12:43:01 pm by Bullmax »
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Uploading and album does not exist
« Reply #8 on: April 30, 2006, 09:23:05 pm »

hmm.. not enough to see, can you check if some albums are in there twice or make a dump of the albums table?

Bullmax

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Uploading and album does not exist
« Reply #9 on: April 30, 2006, 10:15:39 pm »

Hi, I did check and there isn't any duplicate entries there.

Is there another area which these albums show up in the database??
« Last Edit: May 03, 2006, 12:54:57 am by Bullmax »
Logged

Bullmax

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Uploading and album does not exist
« Reply #10 on: May 03, 2006, 12:55:43 am »

Anyone else?
Logged

Bullmax

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Uploading and album does not exist
« Reply #11 on: May 08, 2006, 04:23:07 pm »

Since my members files upload anyway dispite the error, I have changed the error message in lang/english to read "Your file has successfully uploaded!".

This will prevent them from posting the same picture twice but it is not a fix, so hopefully someone else can resolve this issue.
Logged

Bullmax

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 49
Re: Uploading and album does not exist
« Reply #12 on: May 13, 2006, 02:31:10 am »

Please add solved to post.

I recently changed my forums and photo album to a different database.
I kept the old database just incase I needed it.
When anyone uploaded a pic, it was still being stored in the old database.

My config file was still pointing to the old database, therefore was still working but giving me that error.
After uploading all the tables from the old database, then changing config to point to new database, all works well.

It also eliminated the duplicate albums.

Thanks for everyone who tried to help out.
I am so happy now  :)
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Uploading and album does not exist
« Reply #13 on: May 13, 2006, 09:35:28 am »

interesting...  ;)
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.