Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Restart category  (Read 3178 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.025 seconds with 20 queries.