SuccessWithWarning The IP Address provided is invalid. Last 2 digits XX.

Started by capewellmj, August 25, 2014, 19:16:51 PM

Previous topic - Next topic

capewellmj

Hello

I just updated my Virtuemart to the latest version from 2.6.6 to 2.6.8.

Suddenly now whenever a customer purchases from us they get this message:

Result   SuccessWithWarning
Reason   10747: The IP Address provided is invalid.

I now log in to view the orders and I notice the last 2 digits of the IP address of customers is XX.

What happened with this update? I also updated Akeeba backup at the same time, could it be that.

Using VM 2.6.8 and Joomla 2.5.24.

Thanks,

Martin

Milbo

ah nasty. The reason is the data protection law in germany. It is not allowed to store the last two digits, except you have a special reason for that. Therefore I added this, because it is very likely also in other countries similar, at least in Europe. Furthermore I see it as a good thing, therefore I added it.

But I was not too lazy to add a switch, which can be enabled by using the virtuemart.cfg file and the tool (update config by file). You must reconfigure your vm config then. In vm3 this is solved more elegant, always storing the config reads the file first. But so long you must use the tool.

Just add in your virtuemart.cfg file
maskIP=0
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

capewellmj

Okay, well that explains it. I implemented changes and now it works!

So to clarify to others.

Go to /administrator/components/com_virtuemart/virtuemart.cfg and add in a line that says maskIP=0 (it doesn't already have a line that says maskIP so you have to add that line).
Then log into your backend. Tools > Renew VirtueMart configuration by file and then click to have it upload the new settings.

Thanks for your help!

Martin

capewellmj

One other thing to note. Doing this will reset all your virtuemart configuration settings. So make sure you have a backup of your site open so you can copy over all your settings.

seaman

Hello,

Can you plz help me for VM3,

I copy the line in  /administrator/components/com_virtuemart/virtuemart.cfg but i cannot find the "Renew VirtueMart configuration".

Is it change in VM3 (run with Joomla 3);

Thank you,

P Seaman

GJC Web Design

As I understand it u just save your config in the admin ...  or?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

capewellmj

When Max first helped me with this issue. There was an option under tools and migration that said "Renew VirtueMart configuration by file". I don't see it anymore with VM3. Do you have the same IP issue I had?

jenkinhill

seaman has replied to a 2 year old thread.
The button was in VM2.x - for VM3 simply edit the file and save the configuration.  http://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum