We can definitely help you with that. In the future if you need support, just send an email to support AT atomicorp DOT com. Thats the fastest way to get help, the forums are not the fastest way to get help.
OK, so if modsecurity isnt logging anything then either:
1) The modsecurity rules aren't the cause, something else is causing this such as modsecurity being compiled incorrectly, the way its configured, some addon to modsecurity, etc.
2) There is a rule causing this, but modsecurity isnt configured correctly and isnt logging everything its doing
3) Something else is going on with apache that modsecurity is just amplifying, for example you may have a limit on the amount of memory apache can use and you are hitting that limit. When you disable modsecurity apache uses less memory and the script runs correctly (cpanel for example may limit apache memory footprint, and I have definitely seen memory issues cause all sorts of random problems before).
It looks like you have tried disabling modsecurity and you seem to see your script working when its disabled. So, modsecurity may have something to do with this. So, first can you confirm that you are using a modsecurity build provided by us? And if so, what version and how did you install it?
Second, can you confirm that your custom modsecurity setup is configured exactly as described on this webpage:https://www.atomicorp.com/wiki/index.ph ... rity_Rules
I've definitely seen cpanel configurations that don't log things correctly, so if you are using the cpanel config don't assume its good to go - it usually isnt. Also, if you have other rules loaded they may be configured to not log (rules can be configured to notlog, our rules dont do that but some third party rules do).
Also, do you have any third party rules configured or any other addons that work with modsecurity, such as CSX? If do, disable any third party addons. Also, what version of modsecurity do you have installed?
And finally, do you see any errors in apaches logs or your servers logs that might indicate a memory issue, segfault, other error, etc.?