Closed (fixed)
Project:
IP2Nation API
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Sep 2008 at 06:19 UTC
Updated:
5 Nov 2008 at 06:21 UTC
Hi!
The following error is generated immediately after enabling the module, which suggests the table isn't being created correctly to begin with.
user warning: Table 'drupal5.ip2nationCountries' doesn't exist query: SELECT c.code, c.country FROM ip2nationCountries c INNER JOIN ip2nation i ON c.code = i.country WHERE i.ip < INET_ATON('::1') ORDER BY i.ip DESC LIMIT 0,1 in /Applications/MAMP/htdocs/drupal5/includes/database.mysql.inc on line 172.
Would you please fix this?
Comments
Comment #1
suryantoThank you for your report. I will check it in this weekend.
Comment #2
olio commentedHi,
I had a quick look at the install file and realized that the code of the install file ist commented out. Suryanto: Is there a reason for this ? I removed the comment tags and installed without errors.
Only PHPMyAdmin shows me a notice that in the table 'ip2nationCountries', the index types INDEX und PRIMARY shouldn't be set at the same time for the column `code`.
Thanks.
Comment #3
suryantoHi Olio,
Sorry, I accidentally commented out the installation file. I have already fixed it.
Thank you.
Comment #4
suryantoComment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.