IP range limit

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 42
Joined: Mon Mar 19, 2007 3:06 am

IP range limit

Postby anna_marini » Thu Jun 07, 2007 8:32 am

Hi all,
I have to enable a very large number of IP addresses: is it possible to increase the 'IP range' field limit, which is 255 by default, by modifying the type of field for 'IP range'in the subscriptions table?


Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby asmecher » Thu Jun 07, 2007 9:26 am

Hi Anna,

This will be done in the next release (OJS 2.2); in the meantime, you can make this change on your local machine using the following MySQL queries:

Code: Select all

DROP INDEX subscription_ip_range ON subscriptions;
ALTER TABLE subscriptions MODIFY COLUMN ip_range TEXT;
Alec Smecher
Public Knowledge Project Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada

Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 2 guests