View Single Post
  #12  
Old 04-08-2008, 01:24 PM
 
virtual@croatia virtual@croatia is offline
 

Advanced Member
  
Join Date: May 2007
Posts: 92
 

Default Re: Determine the customer country from the IP address

Quote:
Originally Posted by POSDepot
I tried the update .. it installs properly but I am getting errors when I enable it.
I am trying to use this together with your currency module.

---------------------------------------------------------------------------------------------------------------------------------

INVALID SQL: 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SET currency='USD' WHERE ip=''' at line 1
SQL QUERY FAILURE:UPDATE SET currency='USD' WHERE ip=''
Warning: Cannot modify header information - headers already sent by (output started at /home/pointofs/public_html/include/func/func.db.php:195) in /home/pointofs/public_html/include/get_language.php on line 155

------------------------------------------------------------------------------------------------------------------------

Thanks
Randy

Really sorry, I should have tested it better. It's fixed now, just download this module again, unpack it, uninstall and install again. Unfortunately, the table ip_range will be empty after that, so you have to repeat filling data into the table.
Please, download Multicurrency modul as well, cause I've changed one file there either. No need to reinstall, just download and unpack it.

Best regard,
virtual@croatia
__________________
Check what you can do with x-cart 4.1.9:
www.smee.com

Modules I made:
IP_Ranges
Multy_Currency
Order_Dates

Modules I use:
Fancycategory
Magnifier
Survey
AOM
Reply With Quote