Projects ⇒ Bugs ⇒ #996: User unsuspend them self ⇒ CPG Dragonfly™ CMS
Bug #996 User unsuspend them self
Project: Dragonfly 9.0.3 -> 9.3 Category: Cookie / Session
Submitted: Sunday, October 21, 2007 (20:20:27) Modified: Tuesday, January 22, 2008 (15:00:28)
Status: Bogus Assigned to:
PHP Version: Irrelevant HTTPD Server: Apache 2.2

View/Vote Add Comment

by: NanoCaiordo
Description:
------------
http://dragonflycms.org/Forums/viewtopic/t=12548.html

Try the following patch

Index: cpg_member.php =================================================================== RCS file: /cvs/html/includes/classes/cpg_member.php,v retrieving revision 9.41 diff -u -r9.41 cpg_member.php --- cpg_member.php 23 Apr 2007 10:15:42 -0000 9.41 +++ cpg_member.php 21 Oct 2007 20:15:30 -0000 @@ -75,6 +75,10 @@ } $member = $db->sql_fetchrow($result, SQL_ASSOC); $db->sql_freeresult($result); + if ($member['user_level'] < 1) { + session_destroy(); + url_redirect(); + } if ($member['user_id'] > 1 && ($member['user_password'] != $pwd || $member['user_password'] == '' || intval($member['user_level']) < 1)) { $this->setmemcookie(); $member = $db->sql_ufetchrow('SELECT * FROM '.$user_prefix.'_users WHERE user_id=1', SQL_ASSOC);

Upon bug confirmation fix it will be pushed in cvs.
by: NanoCaiordo
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
by: NanoCaiordo
Thank you for taking the time to report a problem with Dragonfly 9.0.3 -> 9.1.
Unfortunately you are not using a current version of Dragonfly 9.0.3 -> 9.1 --
the problem might already be fixed. Please download a new version of Dragonfly 9.0.3 -> 9.1 from the
Downloads section.

If you are able to reproduce the bug with one of the latest
versions of Dragonfly 9.0.3 -> 9.1, please change the Dragonfly 9.0.3 -> 9.1 version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of Dragonfly 9.0.3 -> 9.1.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español