News:

Wondering if this will always be free?  See why free is better.

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 - Grow your forum with 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 - Grow your forum with 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.
Holder of controversial views, all of which my own.


Advertisement: