I have created a new mod of file archive for my osticket.
In this file archive, the file id, file name and download links are read from mysql table and it is downloadable.
But on the other side, I have a file manager section on staff portal where some staff (based on their role) they are allowed to upload files.
The problem is, when I upload a file, upon load button I am getting "Valid CSRF Token Required" error.
There was a post regarding this problem by "PETER" which he mentioned that its due to expiration of "CSRF TOKEN" and a page refresh/re-login will fix it, but in my case the problem still persists despite of trying the mentioned solutions by "PETER".
anybody who has had the same problem, please share you solutions with me.