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
uploads don't go into categories, but into albums
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?
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!
can't replicate, sorry. Not sure what to suggest.
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"?
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 )
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)
hmm.. not enough to see, can you check if some albums are in there twice or make a dump of the albums table?
Hi, I did check and there isn't any duplicate entries there.
Is there another area which these albums show up in the database??
Anyone else?
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.
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 :)
interesting... ;)