cito Posted December 2, 2016 Share Posted December 2, 2016 By mistake, I deleted by hand FTP, many attachments of tickets, without knowing that the WHMCS has a utility for this that is much more efficient (Utilities> System> System cleanup) since you can define from which date back you want delete. Now, when I want to use this tool, I throw the following error: Could not delete file: Filename invalid. Clearly, it checks in the database the attachments, before physically deleting them from the server. And when I did not find the files, because I deleted them before hand, throw the error. Can you think of how to fix it and be able to use the WHMCS tool again? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted December 5, 2016 Share Posted December 5, 2016 Hi Cito, I'd recommend restoring a backup of the attachments to get around this issue 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted December 6, 2016 Share Posted December 6, 2016 make a list of the attachments that are still there and do a mysql delete on the other records i.e. where field not in (LIST) on tblattachments 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.