Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index.php Redirecting To Login.php


jbmtk

Recommended Posts

Posted

Title says it all, but primarily whenever I go to my site from google or a link to my site, index.php would redirect me to the login page. I copyed over the oringlal index.php to see if that would help, but still, I added the newsdesk and meta tag controller code in there and still no luck. It would still redirect me or any other user to login.php. I check the "who's online" and I could also see users on /login.php yet no new customers signed up. I am guessin this is may be a bug in mysql or somehting, but this just recently started happending. Here is my site: spintermods.com please take a look and see what my problem is

 

this is the full URL that I/users get redirect to. http://www.splintermods.com/login.php?osCs...28270483aff93af

 

 

thanks in advance to those pros out there :\ ;)

Posted
Title says it all, but primarily whenever I go to my site from google or a link to my site, index.php would redirect me to the login page. I copyed over the oringlal index.php to see if that would help, but still, I added the newsdesk and meta tag controller code in there and still no luck. It would still redirect me or any other user to login.php. I check the "who's online" and I could also see users on /login.php yet no new customers signed up. I am guessin this is may be a bug in mysql or somehting, but this just recently started happending. Here is my site: spintermods.com please take a look and see what my problem is

 

this is the full URL that I/users get redirect to. http://www.splintermods.com/login.php?osCs...28270483aff93af

thanks in advance to those pros out there :\ ;)

 

Is the the link linking to your site also having the osCid=**? If so try changing the link into http://www.splintermods.com/index.php without the ?osCid= after it!

 

Grtz,

 

Arjan Gelderblom

I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.

-- Stephen Hawking

Posted
Is the the link linking to your site also having the osCid=**? If so try changing the link into http://www.splintermods.com/index.php without the ?osCid= after it!

 

Grtz,

 

Arjan Gelderblom

 

YES, it has the osCid= and then a lot of digits...almost looking like a cookie or guest ID. Isn't there any other way that I could force index.php from stop redirecting to login though w/out putting up address with /index.php?

Posted
YES, it has the osCid= and then a lot of digits...almost looking like a cookie or guest ID. Isn't there any other way that I could force index.php from stop redirecting to login though w/out putting up address with /index.php?

 

It could be done... The code for this can be found in includes/application_top.php! But then when the login session expires the shop wil not redirect the user to the login page again... This could be troublesome!

 

Grtz,

 

Bloged

 

P.s. That group digits is your session ID

I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.

-- Stephen Hawking

Posted
It could be done... The code for this can be found in includes/application_top.php! But then when the login session expires the shop wil not redirect the user to the login page again... This could be troublesome!

 

Grtz,

 

Bloged

 

P.s. That group digits is your session ID

 

 

i have noticed that whenever i click a few pages, it would show up this oscsid # and then go to login.php. I also noticed on "whos online" admin thing, that amost %60 of the users are first directed to login.php , which i dont want to happen

Posted
i have noticed that whenever i click a few pages, it would show up this oscsid # and then go to login.php. I also noticed on "whos online" admin thing, that amost %60 of the users are first directed to login.php , which i dont want to happen

 

It seems that your sessions expire really fast... The problem could be that your sessions aren't stored or something like that!

 

Try, if it isn't set already, setting in both your configure files the sessions store method to MySQL like this:

define('STORE_SESSIONS', 'mysql');

 

Grtz,

 

Arjan Gelderblom

I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image.

-- Stephen Hawking

Posted
It seems that your sessions expire really fast... The problem could be that your sessions aren't stored or something like that!

 

Try, if it isn't set already, setting in both your configure files the sessions store method to MySQL like this:

define('STORE_SESSIONS', 'mysql');

 

Grtz,

 

Arjan Gelderblom

 

 

hey, I think that worked! It was not orignaly in my includes/configure.php. If I find out later that it didn't fix it, I will just force cookie use....its not that big of a deal. Thanks for your help!

Archived

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

×
×
  • Create New...