| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Logging IP numbers | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#31
|
|||||||
|
|||||||
![]() Thanks B00MER
![]()
__________________
Emerson █ Total Server Solutions LLC- Quality X-Cart Hosting █ Recommended X-Cart Hosting Provider - US and UK servers █ Does your host backup your site? We do EVERY HOUR!!! █ Shared Hosting | Managed Cloud | Dedicated Servers |
|||||||
#32
|
|||||||
|
|||||||
![]() Thanks boomer, but it's still not working.
I tried adding it where you wrote and it didn't work. I tried removing the old mod and leave only this one and it still didn't work. The field in the sql is still empty. Help please, Dan. |
|||||||
#33
|
|||||||||
|
|||||||||
![]() Quote:
If you'd like for me to install the mod for you for a small fee please feel free to PM me. If you've restored the original db_query() in func.php and added this new line above the line I specified all should be well. Thanks. |
|||||||||
#34
|
|||||||
|
|||||||
![]() Odd, ours stopped working with 3.5.8 as well even though I updated every line by hand from the diff file for func.php.
For some odd reason, the IP logging mysteriously came back right after I updated our database to handle the room required for recording the IP address, http x forwarded for address, and http client IP address. ![]() Try changing the IP field in the orders table to a larger size. Ours is VARCHAR 128.
__________________
X-Cart Pro 4.5.5 Platinum X-Payments 1.0.6 PHP 5.3.14 MySQL 5.1.68 Apache 2.2.23 |
|||||||
#35
|
|||||||
|
|||||||
![]() Once again, Boomer, I thank you for your curtesy and will to help.
NuAlpha, I thank you too (I tried your version of the logging and it didn't work as well). I'm not a newbie in php (though I'm not VERY advanced) - I'm modifying things all the time, so I believe I installed the mod correctly. Here's the code I added: Code:
and the second part: Code:
Is it correct? Thanks, Dan. |
|||||||
#36
|
|||||||
|
|||||||
![]() AHHHHH!! I see your problem!
![]() You are using "$_SERVER[REMOTE_ADDR]" which 3.5.8 no longer supports. You need to use "$HTTP_SERVER_VARS[REMOTE_ADDR]" instead. ![]()
__________________
X-Cart Pro 4.5.5 Platinum X-Payments 1.0.6 PHP 5.3.14 MySQL 5.1.68 Apache 2.2.23 |
|||||||
#37
|
|||||||
|
|||||||
![]() I tried it before, and now tried it again - it's not working.
Any other ideas maybe? Appreciate it, Dan. |
|||||||
#38
|
|||||||||
|
|||||||||
![]() Remove the previous code from the below query, I removed the IP insert since you are doing it after:
Code:
|
|||||||||
#39
|
|||||||
|
|||||||
![]() Quote:
Crap! My brain is still burnt out today...5am to 10pm nonstop is hard. ![]() Ahh well, at least I have coffee! Before coffee -> =P~ After coffee -> ![]()
__________________
X-Cart Pro 4.5.5 Platinum X-Payments 1.0.6 PHP 5.3.14 MySQL 5.1.68 Apache 2.2.23 |
|||||||
#40
|
|||||||
|
|||||||
![]() Boomer, I'm sorry I'm wasting u'r time and I REALLY appreciate the help, but the damn thing is not working.
I tried what you wrote (that's why I asked you before if I should use both mods) and it didn't work either. Is there anything else that could cause the problem? is there something I can do to debug this error, like trying to post another variable that will log the IP? Or try another variable that relates to the server and make sure it transfers the information correctly? Maybe something in the config.php? I would really like to solve this. Thanks again, Dan. |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|