| ||||||||||||
![]() |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
(#1)
|
(#2)
|
| Operations Manager Posts: 5,443 Join Date: Jan 2006 Location: United Kingdom |
06-01-2008, 03:45 PM
Hi Eugene, Under Admin CP -> Settings > Tickets, turn the following setting to "Sequential", as below. ![]() -------------------------------------------------------------------
|
| | |
(#3)
|
| Senior Member Posts: 5,752 Join Date: Jun 2005 Location: Cumbria, UK |
06-01-2008, 03:48 PM
I don't think that is what he means Jamie. I think he is after having ticket ids like 000001015 which would be possible by modifying the templates a little wherever the ticket id is displayed. Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#4)
|
| Community Moderator Posts: 886 Join Date: May 2005 Location: Henderson, Nevada |
06-01-2008, 04:26 PM
I think what he means is for example he has it at Sequential already and so it started at like 0000000001 but after time obviously has gotten up to say 000100038 I think now he wants to reset it back down too 0000000001 but I would see problems with this as it would then have issues with the very first tickets that where originally with that Ticket ID even if those old Tickets have been deleted. Digital Mayhem, Inc. AIM: Steve.Lawrence@Digital-Mayhem.com MSN: Steve.Lawrence@Digital-Mayhem.com GTALK: Steve.Lawrence@Digital-Mayhem.com YAHOO: DigitalMayhem_Steve SKYPE: DigitalMayhem_Steve I'm Important Posting & You |
| | |
(#5)
|
| Senior Member Posts: 5,752 Join Date: Jun 2005 Location: Cumbria, UK |
06-01-2008, 04:49 PM
Well if he has deleted the existing tickets, he could then just modify the MySQL incrementation value for that field using phpMyAdmin. Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#6)
|
(#7)
|
| Operations Manager Posts: 5,443 Join Date: Jan 2006 Location: United Kingdom |
06-01-2008, 08:26 PM
Hi Zheka, No - you certainly should not as this would cause the system to break. MySQL remembers the 'last value' of it's last auto_increment. To flush this, you need to run the following query; MySQL: Reset Auto Increament Number Quote:
Code: TRUNCATE TABLE TABLENAME If you are wanting to start afresh, I would strongly recommend starting with a new install so that you can be sure housekeeping is clean and in good order ![]() -------------------------------------------------------------------
| |
| | |
(#8)
|
| Senior Member Posts: 5,752 Join Date: Jun 2005 Location: Cumbria, UK |
06-01-2008, 08:39 PM
Didn't realise there was a MySQL query to automatically find what it now should be. Thanks for sharing that Jamie. Icon Headquarters - Its Elixir - Web2Messenger |
| | |
(#9)
|
(#10)
|
![]() |
| Tags |
| ticket, zeroing |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Free Create links in ticket emails that auto login and go to the ticket | khoffman | Modifications & Addon Releases | 42 | 29-11-2008 12:54 AM |
| New Build: 3.10.02 STABLE | Ryan Lederman | News and Announcements | 0 | 05-03-2007 09:53 PM |
| connection problem | inteltechs | InstaAlert | 5 | 27-04-2006 01:23 AM |
| eSupport v2.2 RC1 Available in Members Area | Varun Shoor | Technical Chat | 1 | 17-05-2004 02:28 PM |