News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

blank page after login and after logoff

Started by Frozt, October 22, 2008, 09:11:52 AM

Previous topic - Next topic

Frozt

SMF version: 2.0 Beta 4
forum is in a subdomain
language of the forum: spanish_es-utf8


I have a blank page after login and after logoff


and with i explorer appear an error when I login as admin saying that an error happen, and that I have to see the configuration of cookies

I have to do a refresh of browser for see the forum



I put a index.html file in all directory of the forum, but not in the root, could be that one of that cause that appear a blank page?
but I see the code and not appear anything of the code of the index.html file that I upload.

Frozt

I search more about this error in the forum and find more info but I cant solve it

when I use Firefox after login or logoff appear a blank page, I have to refresh the browser one time for see the forum again, and Im login then

when I use the iexplorer this is the url that appear after login as admin:

..com/login2/?sa=check

(I use Pretty URLs mod)


and appear a error menssage:

Quote¡Un error ha ocurrido!
No pudiste ingresar. Por favor revisa la configuración de tus cookies.

say that "happen an error!
You cant login. Please see the cookies configuration.


But Im login,

and I can go to the administration too, and without need to enter the admin pass again


About the cookies in admin I have this configuration:

(the forum is 2.0 Beta 4, and is in a subdomain forum.domain.com)

- Enable local storage of cookies --> checked (in a post say that this resolved this but not work for me)
- Use subdomain independent cookies --> unchecked
- Enable compressed output - yes
- Use database driven sessions - yes
- Allow browsers to go back to cached pages - yes



In  errors logs appear this:

Type of error: Undefined 
....com/index.php?pretty;action=admin&area=logs;sesc 
8: Undefined index: maintain_common
Archivo: .../Sources/Admin.php
Línea: 450 


Type of error: Undefined 
...com/index.php?pretty;action=admin 
8: Undefined index: maintain_common
Archivo: .../Sources/Admin.php
Línea: 450


Type of error: Undefined 
...com/index.php?pretty;action=login2&sa=check 
8: Undefined index: member
Archivo: .../Sources/LogInOut.php

Línea: 126 


in that file /Sources/LogInOut.php appear this:

if ($_GET['member'] != $user_info['id'])

// Double check the cookie...
elseif (isset($_GET['sa']) && $_GET['sa'] == 'check')
{
// Strike! You're outta there!
if ($_GET['member'] != $user_info['id'])  <---- line 126
fatal_lang_error('login_cookie_error', false);


and in line 120 appear member too:

redirectexit('action=login2;sa=check;member=' . $user_info['id'], $context['server']['needs_login_fix']);

I saw in others post that someone have a different code in that line




I see a solution in the next link, but I dont know if I have to do that for solve the blank page after login:

http://www.simplemachines.org/community/index.php?topic=235539.0





greyknight17

Change to the following instead:

- Enable local storage of cookies --> Unchecked
- Use subdomain independent cookies --> Checked

Frozt

Quote from: greyknight17 on October 23, 2008, 02:42:37 PM
Change to the following instead:

- Enable local storage of cookies --> Unchecked
- Use subdomain independent cookies --> Checked

thanks for the repply
I try that

with internet explorer when I login I have this error:

Error:
QuoteSession verification failed. Please try logging out and back in again, and then try again.

but Im log on, I can post and all work well, is only that message of error that appear.

could be this a problem with configuration of internet explorer, or something that I have bad in one file or in the configuration of the forum?


when I logoff with internet explorer work well, I logoff and redirect to the main of the forum

But one odd thing is that when I login in the forum as admin and then I click in admin menu to access the administration not ask me again for the admin pass, with Firefox yes, but when I use internet explorer not asking me again for access the admin section



With Firefox after insert the login info appear an blank page, I have to refresh the browser and appear a warning asking me to resend the info, I accept it and then I login on, but if I not accept Im not log on. I dont know if this could be something of configuration in Firefox with redirection or the error that appear in ie when login.

when I logoff with Firefox appear again the blank page, and I dont can logoff until refresh the browser


I searched in the forum about this problem but the solutions that I found not help me

greyknight17

Are you using any redirect script on your site?

Did you try removing those index.html files (what are they for anyway) and also uninstall Pretty URLs mod to see if it helps?

Frozt

Quote from: greyknight17 on October 24, 2008, 07:10:26 PM
Are you using any redirect script on your site?

not

the redirection problem appear to me when I use Firefox, when I use ie only say that about a problem with cookies

I have a local installation and work well, but that happen in the online version

with Firefox I have to refresh the browser one time for login
and with ie say that there are a problem with my configuration of cookies but Im log on

greyknight17

Did you try removing the cookie and temp files from your Internet Explorer browser to see if it helps?

Depending on whether you were already logged in or not (and for how long), the admin panel may or may not prompt you for the password again. If you just logged in, it should not prompt you for the password again.

What version of Internet Explorer are you using? Can you provide us a test login to try it out with along with your site address?

Advertisement: