4images Forum & Community
4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: MRJEE on October 10, 2005, 08:46:16 AM
-
Hello
When i create some categories (12). Script creates a code for (cat_id = from 1 up to 12. When i delete all categories, script create "cat_id" for new category with the 13 number.
How i can create new categiry with the first number?
Iam clear cache, but this not help.
Where script saved latest "cat_id" number?
Sorry, my english very bad.
-
Hi,
I did not finde it and so I use phpmyadmin to change such things directly in the database.
But observe that you also have to change the names of the image folders in data/media and data/thumbnails. :wink:
-
I have a similar problem.
I have a main and some subcategories. I deleted one subcategory and now have the problem that the following ones are counted as if it would exist.
Like
catid1 - main
catid2 --- sub1
catid3 --- sub2 ->deleted this one and added sub3 afterwards
The list now is:
catid1 - main
catid2 --- sub1
catid4 --- sub2
catid5--- sub3
etc.
I have searched here but couldn't find an answer.
I cleared the cache and I went to phpmyadmin, removing the entries.
However the id counting continues unchanged.
Is there a way to reset this (so if I start the add categories all over it starts counting with 1) or do I have to remove the whole gallery?
Found it.
For all who are looking for the solution.
1. delete the category/ies
2. go to phpmyadmin, chose, cat-id, operations, change number in auth-increment
the next cat you create should start with the number you specified.
(terms might be a bit different, I am writing it as I remember).
-
thanks Gwydion
Your tip worked :D