An Error Has Occurred! Hacking attempt...

Status
Not open for further replies.

AZOVGY

New Member
Messages
42
Reaction score
0
Points
0
I'm trying to setup SMFShop on my SMF forum and it is all working apart from getting the following error

An Error Has Occurred! Hacking attempt...

It happens whenever I try to send credits to other members. In my CPanel logs I have an error too

ALERT - script tried to increase memory_limit to 134217728 bytes which is above the allowed value (attacker '82.29.79.45', file '/home/ovgyclan/public_html/Sources/Subs-Package.php', line 1837)

Could somebody tell me if this is an error with my forum or if it is related to the memory limit on Intermediate PHP (if there is one). Do I need an upgrade or is there something I can do to my forum? line 1837 it refers to looks like

if (!empty($modSettings['package_disable_cache']) || ini_set('memory_limit', '128M') !== false || strpos(strtolower(PHP_OS), 'win') !== false)

I did try increasing the memory limit on this line but with no luck. Any help would be greatly appreciated, thanks.
 
Last edited:

takuhii

New Member
Messages
344
Reaction score
0
Points
0
I'm trying to setup SMFShop on my SMF forum and it is all working apart from getting the following error

An Error Has Occurred! Hacking attempt...

It happens whenever I try to send credits to other members. In my CPanel logs I have an error too

ALERT - script tried to increase memory_limit to 134217728 bytes which is above the allowed value (attacker '82.29.79.45', file '/home/ovgyclan/public_html/Sources/Subs-Package.php', line 1837)

Could somebody tell me if this is an error with my forum or if it is related to the memory limit on Intermediate PHP (if there is one). Do I need an upgrade or is there something I can do to my forum? line 1837 it refers to looks like

if (!empty($modSettings['package_disable_cache']) || ini_set('memory_limit', '128M') !== false || strpos(strtolower(PHP_OS), 'win') !== false)

I did try increasing the memory limit on this line but with no luck. Any help would be greatly appreciated, thanks.
Sounds as though the operation fo sending credits is being interpretted as an attack. I would ask the Admins nicely to increase your memory limit... You may be able to force it up, but this tends to be configured from the PHP.ini. You MAY need to upgrade to the next "level" of PHP
 

Slothie

New Member
Messages
1,429
Reaction score
0
Points
0
You're not allowed to change the memory limit under suhosin.
 

AZOVGY

New Member
Messages
42
Reaction score
0
Points
0
What, if anything, can I do to solve this. I have posted on the SMFShop creators forum for any help from him, just awaiting a response.
Edit:
I have applied for advanced php, is that all I can do? Is the problem definately the memory limit on intermediate or should I be looking at other ways around this incase my application is rejected?
 
Last edited:

Xemnas

New Member
Messages
812
Reaction score
0
Points
0
I think with paid hosting the memory limit is higher, and PHP is also more relaxed.
 

AZOVGY

New Member
Messages
42
Reaction score
0
Points
0
Are PHP upgrade applications on hold whilst servers are fixed? Just wondering as I haven't yet received a response from my application. No problem if they are I would just like to know that my application did actually get recieved.
 
Last edited:
Status
Not open for further replies.
Top