ACP login after update to 3.0.7

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Ideas Centre
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
andrius757
Registered User
Posts: 117
Joined: Wed Dec 02, 2009 10:05 pm

ACP login after update to 3.0.7

Post by andrius757 »

After update to 3.0.7, after loging into acp admins are redirected not into acp, but into index.php(forum root). Where can be the problem?
Last edited by Pit$Bull on Sat Sep 25, 2010 8:16 pm, edited 1 time in total.
Reason: Topic icon changed
User avatar
Erik Frèrejean
Former Team Member
Posts: 9899
Joined: Tue Oct 09, 2007 9:09 am
Location: The Netherlands, 3.0.x Support Forum
Name: Erik Frèrejean
Contact:

Re: ACP login after update to 3.0.7

Post by Erik Frèrejean »

This is a known issue with 3.0.7 and there isn't a bug fix for it yet.
http://www.phpbb.com/bugs/phpbb3/58345
Support Toolkit | Support Request Template | Knowledge Base | phpBB 3.0.x documentation
I don't give support via PM or IM! (all unsolicited pms will be trashed!)
buckshot101
Registered User
Posts: 26
Joined: Fri Oct 27, 2006 5:47 pm

Re: ACP login after update to 3.0.7

Post by buckshot101 »

I too had this issue....You need to download the patch files and makes the changes to your custom style template. You will notice the {S_LOGIN_REDIRECT} change and need to make sure template style pages have the correct coding.

Once I made the changes. I logged into ACP and Purged the data and everything was back to working right.

http://www.phpbb.com/downloads/olympus.php?update=1

Example of changed coding........(this is just a snippet of changed file coding that needs to be done)
#
#-----[ OPEN ]---------------------------------------------
#
styles/subsilver2/template/index_body.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 78
</tr>
<tr>
<td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" />&nbsp; <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" />&nbsp; <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF -->&nbsp; <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td>
</tr>
</table>

#
#-----[ AFTER, ADD ]---------------------------------------------
#
{S_LOGIN_REDIRECT}

#
#-----[ OPEN ]---------------------------------------------
#
styles/subsilver2/template/login_body.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 75
<tr>
<td class="cat" <!-- IF not S_ADMIN_AUTH or S_CONFIRM_CODE -->colspan="2"<!-- ENDIF --> align="center">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="btnmain" value="{L_LOGIN}" tabindex="5" /></td>
</tr>
</table>
{S_FORM_TOKEN}

#
#-----[ AFTER, ADD ]---------------------------------------------
#
{S_LOGIN_REDIRECT}
5minutes
Registered User
Posts: 15
Joined: Thu Mar 24, 2005 12:58 pm

Re: ACP login after update to 3.0.7

Post by 5minutes »

I tried the above and am still experiencing the problem. When in the ACP, it occasionally kicks the admin users out, back to the login screen.
andrius757
Registered User
Posts: 117
Joined: Wed Dec 02, 2009 10:05 pm

Re: ACP login after update to 3.0.7

Post by andrius757 »

5minutes wrote:I tried the above and am still experiencing the problem. When in the ACP, it occasionally kicks the admin users out, back to the login screen.
To login screen? I had an issue where admins were kicked to index page, but nod acp index. After making changes on template files(after purging cache and refreshing template, themes, imageset) the problem is gone.
5minutes
Registered User
Posts: 15
Joined: Thu Mar 24, 2005 12:58 pm

Re: ACP login after update to 3.0.7

Post by 5minutes »

'scuse me. Not login screen. Index.

And it's happening under Subsilver as well as my pretty template. I've got another thread started on this, so I'll carry this over there.
5minutes
Registered User
Posts: 15
Joined: Thu Mar 24, 2005 12:58 pm

Re: ACP login after update to 3.0.7

Post by 5minutes »

And yeah - I've changed the template. This one's a 3.0.6 (I added in the line indicated by that one fix into the index_body.html and login_body.html) and it's "guaranteed"... I'd leave it in Prosilver, but I've got a guy over me who's not happy with the look and feel during the fix.
duncon
Registered User
Posts: 2
Joined: Wed Dec 24, 2008 3:16 pm

Re: ACP login after update to 3.0.7

Post by duncon »

did update my styles as decribed with no success - still get redirected to the inxex.php

but also checked subsilver style where the {S_LOGIN_REDIRECT} is implemented already (not by me)

anyonme has a solution?

duncon
User avatar
HGN
Former Team Member
Posts: 4706
Joined: Wed Dec 03, 2008 1:53 pm
Location: The Netherlands
Name: Alfred
Contact:

Re: ACP login after update to 3.0.7

Post by HGN »

The default styles prosilver and subsilver2 are updated with the update package (or by doing the full upload). All custom styles have to be modified by hand or the 3.0.7 version of the style has to be uploaded to the board.
GameraFan
Registered User
Posts: 20
Joined: Mon Jan 30, 2006 9:41 pm

Re: ACP login after update to 3.0.7

Post by GameraFan »

Thanks for the fix. The incorrect redirect was annoying.
User avatar
Kristas360
Registered User
Posts: 264
Joined: Wed Aug 09, 2006 12:51 pm

Re: ACP login after update to 3.0.7

Post by Kristas360 »

I'm unclear on exactly which template file you edit with the above coding. Which one is it?
~ Krista in Canada
User avatar
HGN
Former Team Member
Posts: 4706
Joined: Wed Dec 03, 2008 1:53 pm
Location: The Netherlands
Name: Alfred
Contact:

Re: ACP login after update to 3.0.7

Post by HGN »

Templates to be changed:
  • styles/<stylename>/template/index_body.html
  • styles/<stylename>/template/login_body.html
  • styles/<stylename>/template/login_forum.html
The previous post shows changes for subsilver2 (and subsilver2 based styles). Below are the changes for prosilver (and prosilver based styles).

Code: Select all

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/index_body.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 22
			<label for="password">{L_PASSWORD}:</label>&nbsp;<input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
			<!-- IF S_AUTOLOGIN_ENABLED -->
				| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
			<!-- ENDIF -->
			<input type="submit" name="login" value="{L_LOGIN}" class="button2" />

#
#-----[ AFTER, ADD ]---------------------------------------------
#
			{S_LOGIN_REDIRECT}

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/login_body.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 34

		<dl>
			<dt>&nbsp;</dt>
			<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd>
		</dl>

#
#-----[ AFTER, ADD ]---------------------------------------------
#
		{S_LOGIN_REDIRECT}

#
#-----[ OPEN ]--------------------------------------------- 
#
styles/prosilver/template/login_forum.html

#
#-----[ FIND ]---------------------------------------------
# Around Line 22
	</dl>
	<dl class="fields2">
		<dt>&nbsp;</dt>
		<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" id="login" class="button1" value="{L_LOGIN}" tabindex="2" /></dd>
	</dl>

#
#-----[ AFTER, ADD ]---------------------------------------------
#
	{S_LOGIN_REDIRECT}
Note that these are just some of the changes required to make your style compatible with the phpbb version. Check the codechanges package in the downloadsection or the stickies in the Styles Support & Discussion forum for all changes.
User avatar
Kristas360
Registered User
Posts: 264
Joined: Wed Aug 09, 2006 12:51 pm

Re: ACP login after update to 3.0.7

Post by Kristas360 »

Thank you so much. I'll give that a try.
~ Krista in Canada
User avatar
Kristas360
Registered User
Posts: 264
Joined: Wed Aug 09, 2006 12:51 pm

Re: ACP login after update to 3.0.7

Post by Kristas360 »

Hello again folks,

I tried the fix above for the subsilver, but it hasn't fixed the problem yet. I have only edited . . .

index_body
login_body

. . . based on the instructions above.

However, HGN says you also have to edit "login_forum" and I don't see instructions on what code to edit on that file in subsilver. Am I missing a step?
~ Krista in Canada
Dudez009
Registered User
Posts: 47
Joined: Sun Dec 20, 2009 8:57 pm

Re: ACP login after update to 3.0.7

Post by Dudez009 »

What version is your theme running? What's the theme?
Locked

Return to “[3.0.x] Support Forum”