You could instead use the Hercules FluxCP to make it work from the get-go. You can find it here: https://github.com/HerculesWS/FluxCP
I cant use Hercules fluxcp,because i'm using them and some add ons
i don't know how to convert rathena fluxcp to Hercules fluxcp ,i just want to solve this problem
The modifications to the add-ons might prove more useful & easier than reworking your issue.
Error 500 doesn't say much, enable debugging and show the whole error.
Fatal error: Class 'Flux_Security' not found in public_html/modules/itemshop/add.php on line 62
this error