Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Restart category  (Read 3179 times)

0 Members and 1 Guest are viewing this topic.

Wladimir

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • Art of Wladimir
Restart category
« on: August 29, 2006, 09:06:56 pm »

How can I restart cat number, because when I delete cat and make another one, it countinue counting, doens't restart!

Please help!

Thanks!
« Last Edit: August 29, 2006, 11:48:29 pm by GauGau »
Logged

Nibbler

  • Guest
Re: Restart category
« Reply #1 on: August 29, 2006, 10:54:16 pm »

You can't.
Logged

Wladimir

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • Art of Wladimir
Re: Restart category
« Reply #2 on: August 29, 2006, 11:29:32 pm »

OMG, do I need to upload coppermin again?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Restart category
« Reply #3 on: August 29, 2006, 11:38:31 pm »

you can truncate the xxx_categories table
but after that you should run this query:
Code: [Select]
INSERT INTO XXX_categories (cid, name, description) VALUES (1, 'User galleries', 'This category contains albums that belong to Coppermine users.');
also you need to change the XXX under code to your prefix
in this way you will lose all of your categories , so first take a backup of your xxx_categories
Logged
‍I don't answer to PM with support question
Please post your issue to related board

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Restart category
« Reply #4 on: August 29, 2006, 11:40:52 pm »

It's just a number, nobody of your users cares what category number a category has. They don't care for the URL. Just leave things as they are. I can see absolutely no reason for a fresh install just for the sake of keeping category numbers neat.
Logged

Wladimir

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 28
    • Art of Wladimir
Re: Restart category
« Reply #5 on: August 29, 2006, 11:44:17 pm »

It's just a number, nobody of your users cares what category number a category has. They don't care for the URL. Just leave things as they are. I can see absolutely no reason for a fresh install just for the sake of keeping category numbers neat.
ok, thanks anyway!
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.