Forcing albmgr to start numbering the albums at 1. Forcing albmgr to start numbering the albums at 1.
 

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

Forcing albmgr to start numbering the albums at 1.

Started by foubrac, October 08, 2007, 09:43:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

foubrac

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?

Nibbler

Reset the auto increment on the albums table (aid) using phpmyadmin.

foubrac

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.