Problem with login.php

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
Quizmaster
Posts: 35
Joined: Fri 27. May 2005, 11:45

Problem with login.php

Post by Quizmaster »

When I try to login on my page I get this result:
Notice: Undefined index: usr_vars in /home/virtual/site120/fst/var/www/html/login.php on line 147

Notice: unserialize(): Argument is not an string in /home/virtual/site120/fst/var/www/html/login.php on line 147

Warning: Cannot modify header information - headers already sent by (output started at /home/virtual/site120/fst/var/www/html/login.php:147) in /home/virtual/site120/fst/var/www/html/login.php on line 169
That's it. When I delete line 147 in login.php the problem is solved:

Code: Select all

$_SESSION['wcs_user_var']		= unserialize($row["usr_vars"]);
Can anyone help me with this problem? Thanks ! :wink:

Ps. I'm using the patched version 1.5.
User avatar
flip-flop
Moderator
Posts: 8178
Joined: Sat 21. May 2005, 21:25
Location: HAMM (Germany)
Contact:

Post by flip-flop »

Hi Quizmaster,

we haven´t a version 1.5. :shock:
Currently we are testing 1.2.8pre.

regards Knut
>> HowTo | DOCU | FAQ | TEMPLATES/DOCS << ( SITE )
Post Reply