Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help!! 127.0.0.1 IP address taking over my site!


ashleylr

Recommended Posts

Hi, I'm hoping someone can help me here as I am not sure what is going on with my site. In my whos_online page, I have the following:

 

Currently there are 151 visitors online

Duplicate IPs:116

Bots: 2

Me!: 0

Real Customers: 33

 

 

116 of the duplicate IP addresses are from 127.0.0.1. I have seen online that this is supposed to be "me", but I am positive I don't have 116 sessions open. All of them are on different pages as well. Any ideas as to what is going on here?

 

Thanks for your help!

Ashley

Link to comment
Share on other sites

127.0.0.1 is the ip address for 'localhost' - or, in other words, your domain.

 

But it's not quite as simple as that if you're on a shared server and you have Use Cache enabled and store sessions in files rather than in the database - because if your host uses a shared 'tmp' folder then you could have crossover from other sites on the same server.

 

So, you need to:

 

Set 'Use Cache' to false in your osC admin panel under the Configuration menu.

 

Then make the last line of both configure.php files read 'mysql' where indicated - storing sessions in your database and not in files.

 

Give it 24 minutes (session time out limit) and see if the number of sessions drops off drastically. If not contact your hosting company - something is wrong.

 

Vger

Link to comment
Share on other sites

127.0.0.1 is the ip address for 'localhost' - or, in other words, your domain.

 

But it's not quite as simple as that if you're on a shared server and you have Use Cache enabled and store sessions in files rather than in the database - because if your host uses a shared 'tmp' folder then you could have crossover from other sites on the same server.

 

So, you need to:

 

Set 'Use Cache' to false in your osC admin panel under the Configuration menu.

 

Then make the last line of both configure.php files read 'mysql' where indicated - storing sessions in your database and not in files.

 

Give it 24 minutes (session time out limit) and see if the number of sessions drops off drastically.  If not contact your hosting company - something is wrong.

 

Vger

 

 

I have read somewhere that I should have caching set to true (I think in the whos_online contribution)... will this mess anything up by turning it to false? By the way, this doesn't happen all the time, only every couple of days or so. does that make sense?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...