I keep getting an error message about not being able to redirect when I try and link to the site.
Finally breaking down and asking for help. This problem has been going on for some time now.
I keep getting an error message about not being able to redirect when I try and link to the site.
Finally breaking down and asking for help. This problem has been going on for some time now.
It must be an issue with your browser, both my son and I can access SciFi stories OK by either a direct entry of the URL of going by the link on the SoL homepage.
I suggest you clear your cookies and stored pages to see if that fixes the issue for you. Otherwise try another browser, if you can.
I keep getting an error message about not being able to redirect when I try and link to the site.
That's a corrupted cookie problem. The site keeps trying to replace it and your browser refuses leading to an infinite loop problem.
As Ernest suggested, you should clear the site's cookies from your browser manually and that will fix the problem.
Request:
GET https://storiesonline.net/home.php
Cookie: some corrupt cookie
Response:
HTTP/1.1 307 Temporary Redirect
Location: [...]/sol-secure/user/clean_up.php
Request:
GET [...]/sol-secure/user/clean_up.php
Cookie: same corrupt cookie
Response:
HTTP/1.1 307 Temporary Redirect
Location: [...]/sol-secure/user/clean_up.php
Loop on /sol-secure/user/clean_up.php
That page does a 307 temporary redirect to iself but doesn't unset (set expiry date in the past) any cookie. So it keep looping until the browser detect it and gives up (19 redirect in case of firefox).
That page does a 307 temporary redirect to iself but doesn't unset (set expiry date in the past) any cookie. So it keep looping until the browser detect it and gives up (19 redirect in case of firefox).
I found the looping bug. clean_up.php wasn't even getting the chance to execute.
I think I got it fixed once and for all.
I tried to corrupt my cookie but was not successful.
Still no cleanup of the 'bad' cookie, but no more loop and login is maintained.
There is something odd going on (I absolutly do not understand it) as my login is maintained even if I corrupt all my sol cookies ('solcore', 'a', 'cookie', 'sa_pref').
Only bug I found is that if I remove 'solcore' and leave only a random but plausible 'a' and 'cookie' the server timeout the request (That's bad for the server...)
I tried to corrupt my cookie but was not successful.
Still no cleanup of the 'bad' cookie, but no more loop and login is maintained.
By definition a corrupted cookie cannot be removed as the server can only ask the browser to remove a cookie. When it's corrupted, then it's a browser problem and the site can't do anything. The problem that I could fix is the looping and that's resolved.
There is something odd going on (I absolutly do not understand it) as my login is maintained even if I corrupt all my sol cookies ('solcore', 'a', 'cookie', 'sa_pref').
If you remained logged in that means you haven't corrupted enough. I've built redundancy to work around potential corruptions.
Only bug I found is that if I remove 'solcore' and leave only a random but plausible 'a' and 'cookie' the server timeout the request (That's bad for the server...)
Removing the solcore one (PHP_SESSION) shouldn't cause a timeout. Did it happen consistently and multiple times?
I can still reproduce the loop problem, the http "delete cookie code" is present in the header, but it is incorect (lack domain which was specified on set) I'll continue that with pm.