Thread
:
Logging IP numbers
View Single Post
#
15
09-25-2003, 12:49 PM
B00MER
X-Guru
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
Re: Invalid SQL: Unknown column IP
Quote:
Originally Posted by
mcopeland
Upon applying code available here to Log IP Addresses, the following MySQL error appears briefly, then takes me to PayPal payment pages:
http://www.casestudy.buyhiphop.com/xcart_error.gif
Anyone know cause/fix for this?
Thanks,
M. Copeland
login to the admin->Patch/Upgrade and apply this SQL:
Code:
ALTER TABLE `xcart_orders` ADD `ip` VARCHAR( 64 ) NOT NULL ;
Should do the trick
__________________
Cart-Lab
- 100+ Social Bookmarks for X-Cart.
B00MER
View Public Profile
Send a private message to B00MER
Visit B00MER's homepage!
Find all posts by B00MER