Hi.
I just upgraded to 2.4.2 and seem to have lost my custom fields. Could someone tell me what file that lives in so I can restore them from backup please?
custom fields lost after upgrade
Moderator: mkoch227
Re: custom fields lost after upgrade
If you follow upgrade instructions from the docs *precisely* you will not loose any settings.
Now that the damage is done, switching settings file may lead to other problems.
You can try to manually do it like this:
1. open the OLD hesk_settings.inc.php file
2. copy everything from to
3. download the NEW (2.4.2) hesk_settings.inc.php file from the server
4. find the same code as above, delete it and paste code from the old hesk_settings.inc.php file
5. save, upload and test
If that doesn't work you will need to delete the help desk (including database), restore backup and do the upgrade again. This time follow instructions step-by-step!
Now that the damage is done, switching settings file may lead to other problems.
You can try to manually do it like this:
1. open the OLD hesk_settings.inc.php file
2. copy everything from
Code: Select all
$hesk_settings['custom_fields']=array (
Code: Select all
#############################
# DO NOT EDIT BELOW #
#############################
4. find the same code as above, delete it and paste code from the old hesk_settings.inc.php file
5. save, upload and test
If that doesn't work you will need to delete the help desk (including database), restore backup and do the upgrade again. This time follow instructions step-by-step!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: custom fields lost after upgrade
Sorry. I didn't ask the right question at all.
I had originally added a bunch of sub categories but since it had been a while I mistakenly thought I had added them as custom fields -which isn't the case. What I had actually done was edited the index.php file to include hardcoded "fake" subcategories. Now that I remember I think I can recover fairly easily.
Thanks
I had originally added a bunch of sub categories but since it had been a while I mistakenly thought I had added them as custom fields -which isn't the case. What I had actually done was edited the index.php file to include hardcoded "fake" subcategories. Now that I remember I think I can recover fairly easily.
Thanks
Re: custom fields lost after upgrade
If you make custom changed to HESK files I would recommend that you document changes - write down exactly what you changed and where.
This will make applying customizations to future versions much easier.
This will make applying customizations to future versions much easier.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools