Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

IP change, now I cant login admin Rate Topic   - - - - -

 
  • russ1106
  • Member
  • Members
  • Join Date: 09-Oct 07
  • 54 posts

Posted 23 July 2010 - 02:13 AM #1

I had my cart setup so only my IP could access my admin area, however I had internet problems and for some reason my IP address got changed. It was an IP I had for along time.

So I cant access my admin anymore. How can I fix this so I can access my admin and fix the IP access.

 
  • timst
  • Member
  • Members
  • Join Date: 13-Feb 09
  • 110 posts

Posted 23 July 2010 - 04:25 AM #2

If you can get to the database via phpmyadmin or whatever your control panel uses, look for the table cscart_access_restriction - There should be an entry in there with the type "aas" - if you just remove that record or change the status to D instead of A, you should be able to get to your admin panel.
V 4.2.2

 
  • russ1106
  • Member
  • Members
  • Join Date: 09-Oct 07
  • 54 posts

Posted 23 July 2010 - 01:08 PM #3

Hi tim,

So I did access the database and the table / setting you said. I tried switching to "D" that did not work, so I deleted the line and that did not work.

I still can't access my admin because of the IP block.

Is there another area this is kept. I should also mention my admin is on a https server if that makes a difference.

 
  • raltri
  • Junior Member
  • Members
  • Join Date: 30-Aug 09
  • 16 posts

Posted 23 July 2010 - 01:48 PM #4

Hi Russ,

Try editing the table cscart_addons.
Here you will find access_restricions, set this one to status 'D'

Kind regards,

Raltri
Windows 2008 / IIS 7.0 / PHP 5.2.11 / CS-Cart 2.0.10

 
  • russ1106
  • Member
  • Members
  • Join Date: 09-Oct 07
  • 54 posts

Posted 23 July 2010 - 04:49 PM #5

I appreciate your guys suggestions but they do not seem to be working. I did as you said also.

on that addons one I did change it to "D" but no luck.

The options are set as;

'a:9:{s:23:"admin_reverse_ip_access";s:1:"Y";s:27:"unsuccessful_attempts_login";s:1:"Y";s:28:"number_unsuccessful_attempts";s:1:"5";s:15:"login_intervals";s:2:"60";s:10:"time_block";s:2:"24";s:36:"unsuccessful_attempts_login_customer";s:1:"N";s:37:"number_unsuccessful_attempts_customer";s:1:"5";s:24:"login_intervals_customer";s:2:"60";s:19:"time_block_customer";s:2:"24";}

AND the table line looks like;

access_restrictions D options as listed above.

 
  • russ1106
  • Member
  • Members
  • Join Date: 09-Oct 07
  • 54 posts

Posted 23 July 2010 - 10:35 PM #6

Please, anyone able to help me with this? I submitted a ticket to CS-Cart but they taking their time responding as well and this is critical.

Thanks.

 
  • russ1106
  • Member
  • Members
  • Join Date: 09-Oct 07
  • 54 posts

Posted 23 July 2010 - 10:46 PM #7

I took the first suggestion and deleted that line in database.

I searched database for my old IP address and it only found it in a log, no where else.

I tried recreating the first line with my new IP.

I cleared my cookies.

I still cant access my admin page. I get You are not allowed to access this area.

I am banging my head off the desk now.

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4701 posts

Posted 24 July 2010 - 12:53 PM #8

acces your store from another PC with different ip and remove the ip block in admin

JOhn
edit
Sorry I should have read your post properly I see you set it for just your ip.
Apologies
The PHP thing worked for me when I did this. Im not sure if it needs the cache clearing from browser and cart (shouldnt as its database) but ???
John

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • russ1106
  • Member
  • Members
  • Join Date: 09-Oct 07
  • 54 posts

Posted 24 July 2010 - 06:55 PM #9

I cleared it from browser, but whats the command to clear it from cart again from address bar. Havent tried it, but I thought there was a way to do it.

CS Support looking into the problem now as well, because now my admin page and store are blank pages.

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4701 posts

Posted 24 July 2010 - 07:28 PM #10

www.yourstore.com/index.php?cc

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2