Page 1 of 1

user.php does not allow login... what is wrong with the code

Posted: Mon Aug 26, 2002 3:40 pm
by rdoylelmt
Just a beginner with PHP... recently uploaded a CMS (phpWebsite) and users are unable to login.

It does allow registration, and will send a password to the user's email, and the user can enter the sent password and change it, but in the end... the user is unable to login (as evidenced by guest status in the side block)... after trying to login only a blank page appears.

My website is on a host server:

Operating system Linux
Kernel version: 2.4.9-34
Apache version 1.3.26 (Unix)
PERL version 5.006001
PHP version 4.2.2
MySQL version 3.23.45

I have saved the user.php as an html page which is viewable at http://www.amtaga.org/user.htm .

I have read the support forums available at phpWebsite and have been unable to resolve this, and my basic PHP book (PHP and MySQL fo Dummies) does not offer this degree of troubleshooting.

So I am seeking assistance here and am hoping that someone who knows PHP 4.2.2 can spot the trouble and offer a solution.

Thank you in advance and the one who would help find a solution, should know that this 900 member volunteer state organization's members will be empowered to having a secure area on the web as a result of your selfless kindness!

Thank you,
Robb Doyle
rdoylelmt@yahoo.com

Posted: Tue Aug 27, 2002 4:47 am
by Xelmepa
Didn't look at it very good, but the problem is probably that the script was written before PHP 4.2.2

A default configuration option changed in this version, and it made a lot of programs not to work corectly... Either wait for a new version, or if you know php, read the sticky topic about it and do it yourself :)

Posted: Tue Aug 27, 2002 3:33 pm
by Takuma
Xelmepa wrote:Didn't look at it very good, but the problem is probably that the script was written before PHP 4.2.2

A default configuration option changed in this version, and it made a lot of programs not to work corectly... Either wait for a new version, or if you know php, read the sticky topic about it and do it yourself :)
Yeah DIY is the best I think. Just change variable name etc.