Letractively / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

IP logging #591

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
ZP exchange log should contain the IP address used for hash calculations.

At the moment it's hard to tell what IP was used.

Also, we had a note about it somewhere. It needs to go into FAQ.
Can you post details on how to check and how to fix the problem if a site using 
an internal IP?
Does it need to be hardcoded?
Where?

We had a note about it, but I can't find it.

Original issue reported on code.google.com by ad...@zetaprints.com on 16 Jun 2011 at 9:31

GoogleCodeExporter commented 9 years ago
Logging IP address was added.

Diff: http://code.google.com/p/magento-w2p/source/detail?r=1731

User needs to hardcode real outside IP address if it's not equal to server's 
one by uncommenting and editing following line in 
http://magento-w2p.googlecode.com/svn/trunk/lib/ZetaPrints/zetaprints-api.php 
file

//$ip = 'a.b.c.d';

Original comment by Anatoly....@gmail.com on 28 Jun 2011 at 4:06

GoogleCodeExporter commented 9 years ago
Please, test it with 1.9.1.0alpha9 release.

Open any product page and then check logs for 
"Zetaprints_generate_user_password_hash: Server IP:". It should end with IP 
address.

Original comment by Anatoly....@gmail.com on 28 Jun 2011 at 5:31

GoogleCodeExporter commented 9 years ago
Tested on /mageimage/ and /magedev/
web_to_print_store_incl_theme   1.9.1.0alpha9 (alpha)

Hope this is what I'm looking for (ip.png).

Original comment by agur...@gmail.com on 29 Jun 2011 at 8:59

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ad...@zetaprints.com on 30 Jun 2011 at 1:31