log in problem


log in problem

Postby randomhero » Tue Nov 20, 2007 6:30 pm

Hi, I'm having some trouble........i keep getting logged out if i dont have that ?sid= thingy on the url. I dont know if this is the styles problem or not. just to confirm...

And it doesnt auto login, I'm using firefox and its set to remember me but doesnt auto login.

randomhero
 
Posts: 1
Joined: Tue Nov 20, 2007 6:26 pm
Blog: View Blog (0)

Re: log in problem

Postby Helter » Tue Nov 20, 2007 10:19 pm

This seems to be a random phpbb bug. Ive found references to several fixes for this, but they dont always work and sometimes it seems to fix itself. Ive found dozens of post with users experiencing the same issue. I have found a few things I missed in the overall_header. All minor and probably will make no difference, but try over-writting your current proVista/template/overall_header.html with this one and let me know if it makes any difference

Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}">
<head>

<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
<meta http-equiv="content-style-type" content="text/css" />
<meta http-equiv="content-language" content="{S_USER_LANG}" />
<meta http-equiv="imagetoolbar" content="no" />
<meta name="resource-type" content="document" />
<meta name="distribution" content="global" />
<meta name="copyright" content="2002-2006 phpBB Group" />
<meta name="keywords" content="" />
<meta name="de.scription" content="" />
{META}
<title>{SITENAME} &bull; <!-- IF S_IN_MCP -->{L_MCP} &bull; <!-- ELSEIF S_IN_UCP -->{L_UCP} &bull; <!-- ENDIF -->{PAGE_TITLE}</title>

<!--
   phpBB style name: proVista
   Based on style:   prosilver (this is the default phpBB3 style)
   Original author:  Tom Beddard ( http://www.subBlue.com/ )
   Modified by:  HelterSkelter 
   
   NOTE: This page was generated by phpBB, the free open-source bulletin board package.
         The phpBB Group is not responsible for the content of this page and forum. For more information
         about phpBB please visit http://www.phpbb.com
-->

<.script type="text/java.script">
// <![CDATA[
   var jump_page = '{LA_JUMP_PAGE}:';
   var on_page = '{ON_PAGE}';
   var per_page = '{PER_PAGE}';
   var base_url = '{A_BASE_URL}';
   var style_cookie = 'phpBBstyle';
   var onload_functions = new Array();
   var onunload_functions = new Array();

   <!-- IF S_USER_PM_POPUP -->
      if ({S_NEW_PM})
      {
         popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg');
      }
   <!-- ENDIF -->

   /**
   * Find a member
   */
   function find_username(url)
   {
      popup(url, 760, 570, '_usersearch');
      return false;
   }

   /**
   * New function for handling multiple calls to window.onload and window.unload by pentapenguin
   */
   window.onload = function()
   {
      for (i = 0; i <= onload_functions.length; i++)
      {
         eval(onload_functions[i]);
      }
   }

   window.onunload = function()
   {
      for (i = 0; i <= onunload_functions.length; i++)
      {
         eval(onunload_functions[i]);
      }
   }

// ]]>
</.script>
<.script type="text/java.script" src="{T_TEMPLATE_PATH}/styleswitcher.js"></.script>
<.script type="text/java.script" src="{T_TEMPLATE_PATH}/forum_fn.js"></.script>
<link rel="shortcut icon" href="./favicon.ico" />
<link href="{T_THEME_PATH}/print.css" rel="stylesheet" type="text/css" media="print" title="printonly" />
<link href="{T_STYLESHEET_LINK}" rel="stylesheet" type="text/css" media="screen, projection" />
<!--[if gte IE 5]><![if lt IE 7]><.script type="text/java.script" src="{T_THEME_PATH}/images/pngfix.js"></.script><![endif]><![endif]-->

<link href="{T_THEME_PATH}/normal.css" rel="stylesheet" type="text/css" title="A" />
<link href="{T_THEME_PATH}/medium.css" rel="alternate stylesheet" type="text/css" title="A+" />
<link href="{T_THEME_PATH}/large.css" rel="alternate stylesheet" type="text/css" title="A++" />

<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
   <link href="{T_THEME_PATH}/bidi.css" rel="stylesheet" type="text/css" media="screen, projection" />
<!-- ENDIF -->

</head>

<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
<!-- INCLUDE js.html -->
<div id="space"></div>
<div id="wrap">
   <a id="top" name="top" accesskey="t"></a>
    <div class="width">
      <div id="menubar">
      <ul>
         <li class="nav-tlc"><span></span></li>
        <!-- IF INTEGRAMOD_PORTAL -->
         <li class="nav-home"><span><a href="{U_PORTAL}"><strong>Home</strong></a></span></li>
        <!-- ENDIF -->
         <li class="nav-forum"><span><a href="{U_INDEX}"><strong>{L_INDEX}</strong></a></span></li>
         <li class="nav-faq"><span><a href="{U_FAQ}"><strong>{L_FAQ}</strong></a></span></li>
         <li class="nav-rules"><span><a href="rules.php"><strong>{L_RULES}</strong></a></span></li>
        <!-- IF S_USER_LOGGED_IN -->
         <li class="nav-members"><span><a href="{U_MEMBERLIST}"><strong>{L_MEMBERLIST}</strong></a></span></li>
           <!-- IF S_DISPLAY_PM -->
         <li class="nav-pm"><span><a href="{U_PRIVATEMSGS}"><strong>{PRIVATE_MESSAGE_INFO}</strong></a></span></li>
           <!-- ENDIF -->
        <!-- ENDIF -->
         <li class="nav-team"><span><a href="memberlist.php?mode=leaders"><strong>{L_THE_TEAM}</strong></a></span></li>

         <li class="nav-search">
            <form action="{U_SEARCH}" method="post" id="search">
            <fieldset>
               <input name="keywords" id="keywords" type="text" maxlength="128" title="{L_SEARCH_KEYWORDS}" class="inputbox search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
            </fieldset>
            </form>
            </li>

      </ul>             
      </div>

    </div>


        <div class="width">
         <div class="linkbgtop">
             <a id="menutl" href="#bottom"><img src="{T_THEME_PATH}/images/nav_top.gif" alt="Down" /></a>
                 <!-- IF not S_IS_BOT -->
                <a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="l">{L_LOGIN_LOGOUT}</a>&nbsp;<!-- ENDIF -->
            <!-- IF U_RESTORE_PERMISSIONS --> &nbsp;<a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a><!-- ENDIF -->
            <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> &nbsp;<span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->
            <!-- IF not S_IS_BOT -->
               <!-- IF S_USER_LOGGED_IN -->
                  <!-- IF S_DISPLAY_PM --> &nbsp;<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF -->
               <!-- ELSE --> &nbsp;<a href="{U_REGISTER}">{L_REGISTER}</a>
               <!-- ENDIF -->
            <!-- ENDIF -->
            <!-- IF not S_IS_BOT -->
               <!-- IF S_DISPLAY_MEMBERLIST -->&nbsp; &nbsp;<a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a><!-- ENDIF -->
               <!-- IF S_USER_LOGGED_IN -->&nbsp; &nbsp;<a href="{U_PROFILE}" title="{L_PROFILE}" accesskey="u">{L_PROFILE}</a><!-- ENDIF -->
            <!-- ENDIF -->
             <a id="menutr" href="#bottom"><img src="{T_THEME_PATH}/images/nav_top.gif" alt="Down" /></a>
         </div>
        </div>
           <div id="logo"><a href="{U_INDEX}"><img src="{T_IMAGESET_LANG_PATH}/logo/index.php" alt="" width="600" height="200" /></a></div>
            <!-- INCLUDE links.html -->
   <span class="links"></span>      




         <div id="info">
            <h2>{SITENAME}</h2>
            <p>{SITE_DESCRIPTION}</p>
            <p style="display: none;"><a href="#start_here">{L_SKIP}</a></p>
         </div>
         <p id="font">
            <a href="#" onclick="fontsizeup(); return false;" class="fontsize" title="{L_CHANGE_FONT_SIZE}">{L_CHANGE_FONT_SIZE}</a>
         </p>

         <!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
         <ul class="linklist leftside">
            <li>
                  <!-- IF S_DISPLAY_PM --> (<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a>)<!-- ENDIF --> &bull;
               <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a>
               <!-- IF U_RESTORE_PERMISSIONS --> &bull;
               <a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a>
               <!-- ENDIF -->
            </li>
         </ul>
         <!-- ENDIF -->




   <a name="start_here"></a>
   <div id="page-body">
     <div id="height">
       <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
      <div id="message" class="rules">
         <div class="inner"><span class="corners-top"><span></span></span>
            <strong>{L_INFORMATION}:</strong> {L_BOARD_DISABLED}
         <span class="corners-bottom"><span></span></span></div>
      </div>
      <!-- ENDIF -->

User avatar
Helter
Site Admin
 
Posts: 548
Joined: Tue Jul 19, 2005 1:29 pm
Location: Seattle Wa
Blog: View Blog (0)
Real Name: John Wagner

Re: log in problem

Postby mibblies » Wed Feb 20, 2008 2:37 am

Can anyone tell me if this fix works? As I'm getting the same problem. :(

Another suggestion I found was to upload the proSilver equivalent file. Although that would look a bit odd. :roll:

I don't want to change the style. What do you suggest?

Thanks

mibblies
 
Posts: 2
Joined: Wed Feb 20, 2008 2:26 am
Blog: View Blog (0)

Re: log in problem

Postby Helter » Wed Feb 20, 2008 7:06 am

this fix was for RC7. Does this problem exist using the default prosilver template?
also, check your cookie settings. 99% of all login problems are due to cookie settings

User avatar
Helter
Site Admin
 
Posts: 548
Joined: Tue Jul 19, 2005 1:29 pm
Location: Seattle Wa
Blog: View Blog (0)
Real Name: John Wagner

Re: log in problem

Postby mibblies » Thu Feb 21, 2008 12:46 am

Yes, unfortunately it does seem to happen with RC8. :( I cleared the cache (I did that before I posted my previous message), but it made no difference. I'm currently locked out of the ACP. Have you any suggestions?

mibblies
 
Posts: 2
Joined: Wed Feb 20, 2008 2:26 am
Blog: View Blog (0)

Re: log in problem

Postby Helter » Thu Feb 21, 2008 8:32 am

you need to upgrade from RC8 to Gold (3.0.0) Many bugs were fixed in the Gold version and any currently available template will have login troubles when you use it on an RC version forum. The upgrade process is quite simple compared to phpbb2.

User avatar
Helter
Site Admin
 
Posts: 548
Joined: Tue Jul 19, 2005 1:29 pm
Location: Seattle Wa
Blog: View Blog (0)
Real Name: John Wagner



Post a reply



Return to proVista

Who is online

Users browsing this forum: No registered users and 2 guests

cron