Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
06-24-2010, 05:12 AM #1
- Join Date
- Apr 2006
- Planet Earth
- Thanked 8 Times in 8 Posts
Script stops working after user log-in
User gets the log-in form, enters information, user OK, redirect to lets say account page. Until there is fine, after you click a link the page never loads and gets stuck on "Waiting for...". I have to restart the server to get it working again. Refresh the page and the page that I just clicked loads but the problem is there again after clicking another link it gets stuck. If the user never logs-in the script runs fine.
After log-in it only sets some cookies but when the pages redirects the cookies seem to be expired already (According to FireBug).
I check the logs and there is nothing there that indicate a problem with PHP or Apache.
The problem only occurs in PHP 5.3.x, but in PHP 5.2.9 the scripts runs perfect. Am testing this locally.
PHP: 5.3.0 and 5.3.1
Apache: 2.2.11 and 2.2.14
All running on Windows Vista 32bit.
Any help will be appreciated. Thanks.
I found the problem. Its a bug that occurs in PHP versions 5.3.0 and 5.3.1 when using the crypt() function. This is solved in version PHP 5.3.2.
Here is a link: http://bugs.php.net/bug.php?id=51666
Last edited by zactanaz; 06-25-2010 at 08:43 AM. Reason: Found the problem
06-24-2010, 08:23 AM #2
- Join Date
- Mar 2007
- Thanked 2,223 Times in 2,210 Posts
- Blog Entries
Please post all relevant codes.Any help will be appreciated. Thanks.
The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)