Welcome, Guest. Please Login or Register.
November 24, 2017, 11:50:36 AM
Home Help Search Login Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  FAQ  |  Topic: Why can I not stay logged in? « previous next »
Pages: 1 ... 6 7 [8] 9 Reply Ignore Print
Author Topic: Why can I not stay logged in?  (Read 155691 times)
Seoman_rus
Noobie
*
Posts: 12


I'm a llama!


Re:Why can I not stay logged in?
« Reply #105 on: May 28, 2003, 08:20:04 AM »
Reply with quote

I can not solve the same problem. I use IE and Opera, I see my cookies, everything is fine. I have a fine version of php. I tried everything to solve that. I can register, I can log in, but when i go to the next page, forum does not recognize mycookies and sets me to guest!
Could you help me? Forgot to tell: YaBB up to 1.5.1 worked fine for me. The url of my forum is http://seoman.d2.ru?board=;
Forum is integrated into the site but i did not change much. HELP!
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth


WWW
Re:Why can I not stay logged in?
« Reply #106 on: May 28, 2003, 09:43:54 AM »
Reply with quote

I can not solve the same problem. I use IE and Opera, I see my cookies, everything is fine. I have a fine version of php. I tried everything to solve that. I can register, I can log in, but when i go to the next page, forum does not recognize mycookies and sets me to guest!
Could you help me? Forgot to tell: YaBB up to 1.5.1 worked fine for me. The url of my forum is http://seoman.d2.ru?board=;
Forum is integrated into the site but i did not change much. HELP!

Registered into your board and was also logged out. Can you post a link to your phpinfo?
« Last Edit: May 28, 2003, 09:45:41 AM by andrea » Logged

Seoman_rus
Noobie
*
Posts: 12


I'm a llama!


Re:Why can I not stay logged in?
« Reply #107 on: May 29, 2003, 09:41:26 AM »
Reply with quote

http://seoman.d2.ru/info.php - Here my phpinfo() lies...
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth


WWW
Re:Why can I not stay logged in?
« Reply #108 on: May 29, 2003, 10:25:39 AM »
Reply with quote

http://seoman.d2.ru/info.php - Here my phpinfo() lies...

Thats the reason: PHP Version 4.0.6
Logged

Seoman_rus
Noobie
*
Posts: 12


I'm a llama!


Re:Why can I not stay logged in?
« Reply #109 on: May 29, 2003, 10:51:04 AM »
Reply with quote

Ok. Administrator of my server does not want to install the latest version of php so I will have to reinstall YaBBSE 1.5.1..... :-X
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth


WWW
Re:Why can I not stay logged in?
« Reply #110 on: May 29, 2003, 10:54:33 AM »
Reply with quote

Ok. Administrator of my server does not want to install the latest version of php so I will have to reinstall YaBBSE 1.5.1..... :-X

Dont reinstall 1.5.1 (for security reasons) there is somewhere floating a mod around how you can get the login working with old php version. Just use the search function...
Logged

Seoman_rus
Noobie
*
Posts: 12


I'm a llama!


Re:Why can I not stay logged in?
« Reply #111 on: May 29, 2003, 11:08:10 AM »
Reply with quote

I already know about getpackage.php... I was hacked throw it. So I know what to delete ;)
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth


WWW
Re:Why can I not stay logged in?
« Reply #112 on: May 29, 2003, 11:15:15 AM »
Reply with quote

I already know about getpackage.php... I was hacked throw it. So I know what to delete ;)

Thats not sufficient. Dont believe you can add all security fixes manually. Stay on 1.5.3 which is strongly recommended and look for that login fix.
Logged

Seoman_rus
Noobie
*
Posts: 12


I'm a llama!


Re:Why can I not stay logged in?
« Reply #113 on: May 29, 2003, 11:41:06 AM »
Reply with quote

I do not belive that i can fix it but i can remove unnessesary files ;)
Ok, if i will will find anything to fix login then I will reinstall it again. Thanx
Logged
andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth


WWW
Re:Why can I not stay logged in?
« Reply #114 on: May 29, 2003, 11:48:05 AM »
Reply with quote

Better move to another host when you cannot fix the login than to downgrade. Your responsibility, you were told to stay on 1.5.3.

Lets end that discussion in this thread here. This is a FAQ thread, open a support request in the other help or in the installer help forum, somebody will help you to find that login mod code.

Edit: This code should fix the login problem for YaBB SE 1.5.3 on PHP 4.0.6:

jo,

dazu stand mal was bei den engländern oben :)
ich bilde mir ein das es die funktion load_cookie betrifft, war irgentwas einzutragen, ich weiß aber nichmehr genau was, drum poste ich mal die ganze fnkt. her, wie sie bei mir läuft:
Code: [Select]
function LoadCookie()
{
  global $password, $username, $cookiename, $HTTP_COOKIE_VARS;

  if (isset($HTTP_COOKIE_VARS[$cookiename]))
  {
      list($username, $password) = @unserialize(stripslashes($HTTP_COOKIE_VARS[$cookiename]));
      $username = ($username != "") ? $username : 'Guest';
  }
        else
        {
                $password = '';
                $username = 'Guest';
        }
}

gruß pitti


You have to replace the function LoadCookie by the above code.
« Last Edit: May 29, 2003, 12:22:09 PM by andrea » Logged

andrea
Global Moderator
YaBB God
*****
Posts: 4400


Peace on Earth


WWW
Re:Why can I not stay logged in?
« Reply #115 on: May 29, 2003, 12:22:42 PM »
Reply with quote

Modified my previous reply, added a description for the login fix for old php versions (should work until YaBB SE 1.5.3 for PHP 4.0.6).
« Last Edit: May 29, 2003, 12:23:56 PM by andrea » Logged

Seoman_rus
Noobie
*
Posts: 12


I'm a llama!


Re:Why can I not stay logged in?
« Reply #116 on: June 02, 2003, 11:07:27 AM »
Reply with quote

At last! Thank you very much! Could you ask administrators to use your version for old php?
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830



WWW
Re:Why can I not stay logged in?
« Reply #117 on: June 02, 2003, 06:52:09 PM »
Reply with quote

Dagblast it!

I swear I fixed that circa build 42....

-[Unknown]
Logged
kage2
Noobie
*
Posts: 2


I'm a llama!


Re:Why can I not stay logged in?
« Reply #118 on: June 19, 2003, 01:15:26 PM »
Reply with quote

hey ive read thru this whole topic and found nothing that fixes my problem... I can login over my lan with admin ... and i can login from the web with admin but when people login with other accounts (wich it creats perfectly) it jsut boots them out ive changed cookie names and all that stuff ... runnign newest version of php mysql and yabbse ... this is a windows2000 server, server .. :P neway i donno what else to do .. but ill keep workign on it

http://www.aof.t2u.com/yabbse/
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830



WWW
Re:Why can I not stay logged in?
« Reply #119 on: June 19, 2003, 03:06:39 PM »
Reply with quote

hey ive read thru this whole topic and found nothing that fixes my problem... I can login over my lan with admin ... and i can login from the web with admin but when people login with other accounts (wich it creats perfectly) it jsut boots them out ive changed cookie names and all that stuff ... runnign newest version of php mysql and yabbse ... this is a windows2000 server, server .. :P neway i donno what else to do .. but ill keep workign on it

http://www.aof.t2u.com/yabbse/

Please do not use frames accross domains.

-[Unknown]
Logged
Pages: 1 ... 6 7 [8] 9 Reply Ignore Print 
YaBB SE Community  |  English User Help  |  FAQ  |  Topic: Why can I not stay logged in? « previous next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.0.12 | SMF © 2016, Simple Machines
Valid XHTML 1.0! Valid CSS!
Page created in 0.044 seconds with 19 queries.