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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.