News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Hack Attempt error

Started by blunted, October 17, 2016, 07:02:12 PM

Previous topic - Next topic

blunted

I had a mod made for pms and I CONSTANTLY get this error

Where can I look to fix?

vbgamer45

Sounds like an issue with SQL make sur eno ; no sub select in queries.
If you need to. You need to disable query check.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

blunted

can you explain a lil better can i do a search for that?
How do i do the second thing and is their a risk?

vbgamer45

Call this before query
global $modSettings;
$modSettings['disableQueryCheck'] = true;

Then set to false after query
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Arantor

Or, you know, fixing the code rather than turning off the security checks.

Advertisement: