Post by straightlight » Sun Oct 01, 2017 3:23 am

There were Opencart users reporting issues in the past about adding IP addresses in the fraud extension which the settings were not properly saved on the database. To fix this, uninstall your Fraud IP extension module and for safety procautions, put your site under maintenance. Then, go:

in your admin/controller/extension/fraud/ip.php file,

In your admin/view/template/extension/fraud/ip.twig file,

find:

Code: Select all

<input class="form-control" id="input-ip" placeholder="{{ entry_ip }}" type="text" value=""/>
replace with:

Code: Select all

<input class="form-control" id="input-ip" placeholder="{{ entry_ip }}" type="text" name="fraud_ip_ip" value=""/>
- Reinstall the module
- Reconfigure the module
- Go back to the module to see if the settings are definitely saved.
- Disable site maintenance on your site.

This should resolved the problem.
Last edited by straightlight on Fri Oct 06, 2017 1:29 am, edited 2 times in total.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sun Oct 01, 2017 3:33 am

In addition, since it seem the IP is not supposed to be showed on the form, it should be used for troubleshooting purposes knowing if the last entered IP address can be displayed on the form after adding it.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Fri Oct 06, 2017 1:29 am

Post edited above.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 43 guests