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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
rdoylelmt
Forum Newbie
Posts: 1
Joined: Mon Aug 26, 2002 3:40 pm
Location: Atlanta, GA
Contact:

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

Post 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
User avatar
Xelmepa
Forum Commoner
Posts: 41
Joined: Sat Aug 24, 2002 3:02 pm
Location: Athens, Greece
Contact:

Post 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 :)
User avatar
Takuma
Forum Regular
Posts: 931
Joined: Sun Aug 04, 2002 10:24 am
Location: UK
Contact:

Post 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.
Post Reply