Author Topic: 1.7.1 Users unable to log into correct account  (Read 11188 times)

0 Members and 1 Guest are viewing this topic.

Offline blitzy

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://www.cs-media.org
1.7.1 Users unable to log into correct account
« on: April 02, 2005, 03:22:52 AM »
I was notified by several of my forum members that when they entered their username and password to log in, the account that shows up is not theirs but someone else's. Also, they are able to access this other user's account information, including passwords, etc.

I just installed a fresh version of 1.7.1 and the problem is still there. The only mods that I have added are: [Mod] More Statistics for your visitors, [MOD] Ban v1.6, and [MOD] Batch Copy/Move/Edit Images v3.7.1. Other than that, I've just edited the design template for CSS and such.

Also, this is just a minor problem compared to the one above, but I cannot figure out how to change the border links around my image thumbnails to be just black instead of the default blue (new) and maroon (visited). In my CSS I declared:

Code: [Select]
body {
         color: #3A3A3A;
         font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
         font-size: 12px; margin: 0px;
         background-image: url('images/back2.gif');
         
scrollbar-face-color: #DFE2DB;
scrollbar-shadow-color: #F4F5F2;
scrollbar-highlight-color: #ECF0E7;
scrollbar-3dlight-color: #F4F5F2;
scrollbar-darkshadow-color: #CDCECC;
scrollbar-track-color: #F4F5F2;
scrollbar-arrow-color: #F4F5F2;
}

a {
         color: #353535;
         text-decoration: none;
}

a:hover {
         color: #FA3605;
         text-decoration: none;
}

a:visited {
         color: #464646;
         text-decoration: none;
}

hr {
         height: 1px;
         color: #4B4B4B;
}

ul, li, p, td {
         font-size: 11px;
}

.tablehead {
         background-color: #e8e8e8;
         color: #4B4B4B;
         border-bottom: 1px solid #2D2D2D;
}

.tablebottom {
         background-color: #2E2E2E;
         padding: 5px;
         color: #C0C0C0;
         border-bottom: 1px solid #000000;
         border-top: 1px solid #777777;
}

.tablebottom a, .tablebottom a:visited {
         color: #EFEFEF; text-decoration: none;
}

.tablebottom a:hover {
         color: #FF8040;
         text-decoration: none;
}

.bordercolor {
         background-color: #C0C0C0;
}

.tablebgcolor {
         background-color: #EFEFEF;
}

.navbar {
         background-color: #2E2E2E;
         color: #C0C0C0;
         padding: 5px;
         border-bottom: 1px solid #777777;
         border-top: 1px solid #777777;
}

.navbar a {
         color: #EFEFEF;
}

.navbar a:visited {
         color: #EFEFEF;
}

.navbar a:hover {
         color: #FF8040;
}

.row1 {
         background-color: #E9E9E9;
         color: #4B4B4B;
         padding: 2px;
}

.row2 {
         background-color: #E0E0E0;
         color: #4B4B4B;
         padding: 2px;
}

.head1 {
         background-color: #9F9F9F;
         color: #FFFFFF;
         font-size: 11px;
         font-weight: bold;
}

.head1:hover {
         background-color: #9F9F9F;
         color: #FFFFFF;
         font-size: 11px;
         font-weight: bold;
}

.head2 {
         background-color: #838383;
         color: #ffffff;
         font-size: 11px;
         font-weight: bold;
         border-bottom: 1px solid #434343;
         padding: 2px;
         background-image: url('images/cat_ic.gif');
         background-repeat: no-repeat;
         background-position: left;
         padding-left: 17px; }

.title {
         font-family: Arial,Helvetica,sans-serif;
         font-size: 15px;
         font-weight: bold;
         color: #D22006;
}

.clickstream {
         font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
         font-size: 11px;
}

.smalltext {
         font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
         font-size: 10px;
         font-weight: normal;
}

.marktext {
         color: #FF0000;
         background-color: #ffffff;
}

.new {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          font-size: 11px;
          color: #FF0000;
}

form {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          font-size: 11px;
}

.logininput {
          background-color: #F5F5F5;
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          color: #646464;
          font-size: 11px;
          width: 160px;
          border: 1px inset #F5F5F5;
          padding: 2px;
          margin-left: 4px;
}

.searchinput {
          background-color: #FFFFFF;
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          color: #0f5475;
          font-size: 11px;
          WIDTH: 130px;
}

.textarea {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          color: #0f5475;
          font-size: 11px;
          width: 230px;
}

.input {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          color: #0f5475;
          font-size: 11px;
          width: 230px;
}

.select {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          color: #0f5475;
          font-size: 11px;
}

.setperpageselect {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          color: #0f5475;
          font-size: 11px;
}

.categoryselect {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          color: #0f5475;
          font-size: 11px;
}

.dropdownmarker {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          background-color: #EEEEEE;
          color: #136c99;
          font-size: 11px;
}

.button {
          font-family: Tahoma,Verdana,Arial, Helvetica, sans-serif;
          background-color: #F3F2F2;
          color: #555;
          border: 1px border: 1px #000000;;
          font-size: 10px;
          font-weight: bold;
}

.catbgcolor {
          background-color: #EFEFEF;
}

.maincat {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          font-size: 11px;
          font-weight: bold;
}

.subcat {
          font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif;
          font-size: 10px;
          font-weight: bold;
}

.imagerow1 {
          color: #4B4B4B;
          padding: 7px;
}

.imagerow2 {
          background-color: #EFEFEF;
          color: #4B4B4B;
}

.commentrow1 { background-color: #e1e1e1; color: #4B4B4B; }

.commentrow2 { background-color: #efefef; color: #4B4B4B; }

.commentspacerrow { background-color: #d1d1d1; color: #4B4B4B; }

.commenttextarea { font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif; color: #0f5475; font-size: 11px; width: 270px; }

.commentinput { font-family: Tahoma,Verdana,Arial,Helvetica,sans-serif; color: #0f5475; font-size: 11px; width: 270px; }

.pic {
             filter: progid:DXImageTransform.Microsoft.Shadow(color=#000000,direction=135, strength=1)    progid:DXImageTransform.Microsoft.Alpha(opacity=100);
             border: 0;
}

.okvir {
             width: 760px;
}

.left {
             background-color: #CFCFCF;
}

.thumb {
             border: 1px dotted #000000;
             cursor: hand;
             height: 200px;
             background-color: #F5F5F5;
}

.thumb2 {
             border: 1px solid #000000;
             background-color: #E0E0E0;
             height: 200px;
}

#categories a {
             display: block;
             padding-left: 7px;
             padding-top: 1px;
             padding-bottom: 1px;
             color: #172033;
             padding-right: 3px;
             border: 1px solid #CFCFCF;
}

#categories a:hover {
             background-color: #E2E2E2;
             color: #C02105;
             text-decoration: none;
             border: 1px solid #9A9A9A;
}

.main {
             border-bottom: 1px solid #000000;
             border-top: 1px solid #000000;
}

.box_back {
           color: #4B4B4B; padding: 2px;
}


Please help because I really don't know what's the problem.  :cry:

Forgot to post my gallery links:   :oops:
NEW: http://www.cs-media.org/gallery2  ----> new installation
OLD: http://www.cs-media.org/gallery ---> LOTS of problems here

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: 1.7.1 Users unable to log into correct account
« Reply #1 on: April 02, 2005, 10:56:34 AM »
Can you create a user with one this happens and send me the login data by PM?
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline blitzy

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://www.cs-media.org
Re: 1.7.1 Users unable to log into correct account
« Reply #2 on: April 04, 2005, 02:14:04 AM »
Can you create a user with one this happens and send me the login data by PM?
Sorry for the late reply.  :oops: I'm not sure if this is an isolated event that happens or if others have experienced it. But, the person that notified me of the problem just told me that she isn't having any other problems since I altered a line of coding in functions.php that I found in 'BUG FIXES'.

Also, the same user told me that she has MSN so she was using the MSN browser when the errors occurred. When she used the IE browser, she did not have any problems. Is this a problem with the MSN broswer, then?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Re: 1.7.1 Users unable to log into correct account
« Reply #3 on: April 04, 2005, 09:54:10 AM »
Can you tell me what you altered in functions.php?
Don't think that the MSN browser is the reason. Or maybe she switched the user and got cached pages. Or does she get the profile from an completely different/unknown user?
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline blitzy

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://www.cs-media.org
Re: 1.7.1 Users unable to log into correct account
« Reply #4 on: April 08, 2005, 12:53:25 AM »
Can you tell me what you altered in functions.php?
Don't think that the MSN browser is the reason. Or maybe she switched the user and got cached pages. Or does she get the profile from an completely different/unknown user?

I altered:
Quote
function check_local_thumb($remote_thumb_file) {
  return !is_remote($local_thumb_file) && strpos($local_thumb_file, '/') !== false && preg_match("#\.[gif|jpg|jpeg|png]+$#i", $local_thumb_file) ? 1 : 0;
}

To this:
Quote
function check_local_thumb($local_thumb_file) {
  return !is_remote($local_thumb_file) && strpos($local_thumb_file, '/') !== false && preg_match("#\.[gif|jpg|jpeg|png]+$#i", $local_thumb_file) ? 1 : 0;
}

The user saw the profile of a complete different/unknown user. She didn't recognize any of the information that was shown. So, it's definitely not something that was cached on her HD.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 1.7.1 Users unable to log into correct account
« Reply #5 on: April 08, 2005, 12:58:45 AM »
it sounds to me as the issue when someone gets a link with sessionid attached to it, and that session is still active....

about the thumbnail border: do u have anyting inside <body> tag?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline blitzy

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://www.cs-media.org
Re: 1.7.1 Users unable to log into correct account
« Reply #6 on: April 08, 2005, 01:12:09 AM »
it sounds to me as the issue when someone gets a link with sessionid attached to it, and that session is still active....
Is there something I can do about that?

Quote
about the thumbnail border: do u have anyting inside <body> tag?
Sorry, but I'm a bit clueless on this.  :oops: You mean the body in the style.css or the home.html, etc. pages?

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 1.7.1 Users unable to log into correct account
« Reply #7 on: April 08, 2005, 01:21:50 AM »
I was talking about header.html template.

about the session issue I mentioned - so far only few people reported this and the reason why this happening is still unknown (atleast to me)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline blitzy

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://www.cs-media.org
Re: 1.7.1 Users unable to log into correct account
« Reply #8 on: April 08, 2005, 01:31:56 AM »
This is my header.html template file. There's nothing inside the body tag....at least not that I know of  :oops:

Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>>> {site_name} | Part of CS-Media.ORG << </title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<META HTTP-EQUIV="imagetoolbar" CONTENT="no">
<link rel="stylesheet" href="{template_url}/style.css" />
<script language="javascript" type="text/javascript">
<!--
  function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
 
  function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by CS-Media.ORG");
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert("© Copyright by CS-Media.ORG");
      return false;
    }
    return true;
  }
  document.onmousedown=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown=right;
// -->
</script>
</head>
<body>

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 1.7.1 Users unable to log into correct account
« Reply #9 on: April 08, 2005, 01:53:20 AM »
I dont know if this will help, but try add in your style.css:
Code: [Select]
img {
  border-color: black;
}
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline blitzy

  • Newbie
  • *
  • Posts: 32
    • View Profile
    • http://www.cs-media.org
Re: 1.7.1 Users unable to log into correct account
« Reply #10 on: April 08, 2005, 01:56:02 AM »
V@no, you're a GENUIS! Thank you! *mmwah*  :D