I'm on drupal 6.19

I installed Ip login and set a couple of IP for my clients; its seems to go very well.

But in the Login IP page, Section: IP Login-enabled users, i read:

Users for which IP Login is enabled are listed below.
••• There are presently no users with IP login ranges set.

Why is it so as I have a dozen of IP clients actually?

Thank you

Comments

jim kirkpatrick’s picture

Hi, did you upgrade from 6.x-1.x? Did you run update.php? When run, IP Login should copy all the IPs from the profile field into the new table, as well as create said table.

alejandrito’s picture

No, I installed it "from scratch". I was running Ip auth module before. I made a cron, cleaned cache. Should I reinstall the formal version instead of the beta?

Thank you very much!

a.

jim kirkpatrick’s picture

Status: Active » Fixed

IP Login stores the addresses for users in it's own table which has no relationship any other module.

Hence, you'll need to edit each account you want IP login to work with and add the IP address/ranges in before the module will work.

alejandrito’s picture

You say
> you'll need to edit each account you want IP login to work with
I don't understand: where/when do I set that? I did it already it seems...
Do I have to go in the database?

Here is what I did uptil now:

• I completely uninstalled IP auth
• I installed IP login, and checked the rights page, visited the module page: it's enabled
I edited a dozen of user accounts with IP addresses in the user's module section
• I made a lot of tests (home, cafes, public library) Everything work A1, excellent!

But the only thing is the emptiness of the section "IP Login-enabled users". Please tell me what I did wrong, and where in the process I should make an intervention?

Thank you very much for the effort you give on my case. It is appreciated.

jim kirkpatrick’s picture

Status: Fixed » Active

Aha! Found the bug... There's no curly brackets around the {table names} in that query, and you must be using a database table prefix for your install, yes?

I'll be releasing a new DEV shortly...

jim kirkpatrick’s picture

Status: Active » Needs review

Committed to DEV... you can apply the diff at the linked page or wait a few hours for Drupal to re-package the D6 and D7 DEV packages.

Please confirm the fix works.

alejandrito’s picture

>table prefix for your install, yes?
I do.

Thank's; I'll come back to check... soon? :)

alejandrito’s picture

Sorry i'm not used to Dev:

Do I uninstall 6.x-2.0-beta2 to put the module 6.x-2.x-dev?

I am not a pro with Drupal... I read everywhere we shall not put a dev in a working site. True in this case?

Is the dev simply the same as 6.x-2.0-beta2 but with the { } correction? If it is so I would install it with confidence.

Thank you for telling me what should I do

a.

jim kirkpatrick’s picture

1. Download the 6.x-2.x-dev version.
2. Extract/unpack it over the top of the existing ip_login folder in sites/all/modules (or wherever it is for you)
3. Done!

It's the exactly the same code but with this and another very minor issue fixed, so go for it!

jim kirkpatrick’s picture

Status: Needs review » Closed (fixed)