forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: foubrac on October 08, 2007, 09:43:10 pm

Title: Forcing albmgr to start numbering the albums at 1.
Post by: foubrac on October 08, 2007, 09:43:10 pm
Hi,

I've looked a bit on the forum and cannot get the anwser I'm looking for.

I just upgraded to 1.4.13 and, I did it again!!! I didn't use the "Update database". I know that I'm giving myself more trouble, but, my mistake, again!

Anyway, I have a "Splash page" (www.joelducharme.ca) that links to the different albums that I had before. Obviously, the link point to the album numbers. My problem is that when I create my albums, the album manager doesn't start from scratch, therefore, my links don't work anymore.

Is there a way to reinitialise the numbering of the albums?
Title: Re: Forcing albmgr to start numbering the albums at 1.
Post by: Nibbler on October 08, 2007, 09:45:35 pm
Reset the auto increment on the albums table (aid) using phpmyadmin.
Title: Re: Forcing albmgr to start numbering the albums at 1.
Post by: foubrac on October 08, 2007, 10:03:39 pm
Thanks for the extremely rapid response!

I knew it would be an easy fix, but, php is a language I still don't understand.

Had to figure out how to ge the phpmyadmin but when I did, I found the function.

Thanks again.