Uploading and album does not exist Uploading and album does not exist
 

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]

Main Menu

Uploading and album does not exist

Started by Bullmax, April 27, 2006, 06:47:51 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Bullmax

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

Joachim Müller

uploads don't go into categories, but into albums

Bullmax

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?

Bullmax

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!

Joachim Müller

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

Bullmax

Quote from: GauGau on April 30, 2006, 06:17:33 PM
can't replicate, sorry. Not sure what to suggest.

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

Stramm

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

#7
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)

Stramm

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

Bullmax

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

Is there another area which these albums show up in the database??

Bullmax


Bullmax

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.

Bullmax

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  :)

Stramm