Known issues in 3.2.6

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Locked
User avatar
kinerity
Community Team Member
Community Team Member
Posts: 2200
Joined: Mon Sep 01, 2014 1:00 am
Location: sudo rm -rf /
Name: Kailey Truscott
Contact:

Known issues in 3.2.6

Post by kinerity » Thu May 02, 2019 12:20 am

UPDATE: The information in this topic is now outdated. If you're still experiencing any of these issues, please update your board to phpBB 3.2.7, this will resolve the issues.

In the initial release phase we've noticed a few issues that can prevent users from fully utilizing their boards:
Kailey Truscott - Community Team

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 3942
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Known issues in 3.2.6

Post by HiFiKabin » Fri May 03, 2019 10:52 am

If you find the git code (above) confusing, here’s an OPEN>FIND list of all the edits you need to do. DO NOT use Word, Wordpad, Dreamweaver or any such program as they WILL corrupt the files, use a simple text editor like notepad++ which is free and will not cause any problems with the code.

Don't forget to backup your boards files before starting, just in case you make an error.


## OPEN ##

includes/functions.php

FIND (around line 2670)

Code: Select all

		$template->assign_vars(array(
		'FORUM_NAME'			=> isset($forum_data['forum_name']) ? $forum_data['forum_name'] : '',
		'S_LOGIN_ACTION'		=> build_url(array('f')),
		'S_HIDDEN_FIELDS'		=> build_hidden_fields(array('f' => $forum_data['forum_id'])))
	);
ADD BEFORE (on a new line)

Code: Select all

	// Add form token for login box
	add_form_key('login', '_LOGIN');

## OPEN ##

includes/ucp/ucp_pm_viewfolder.php

FIND (around line 141)

Code: Select all

					if (($var != 'friend' && $var != 'foe' && $row['pm_' . $var])
REPLACE WITH

Code: Select all

					if (($var !== 'friend' && $var !== 'foe' && $row[($var === 'message_reported') ? $var : "pm_{$var}"])
FIND (around line 143)

Code: Select all

						(($var == 'friend' || $var == 'foe') && isset(${$var}[$row['author_id']]) && ${$var}[$row['author_id']]))
REPLACE WITH

Code: Select all

						(($var === 'friend' || $var === 'foe') && isset(${$var}[$row['author_id']]) && ${$var}[$row['author_id']]))
## OPEN ##

includes/mcp/mcp_main.php

FIND (around line 277)

Code: Select all

	global $user, $db, $request, $phpbb_log;
REPLACE WITH

Code: Select all

	global $user, $db, $request, $phpbb_log, $phpbb_dispatcher;
## OPEN ##

styles/prosilver/template/login_forum.html

FIND (around line 27)

Code: Select all

			{S_LOGIN_REDIRECT}
ADD AFTER (on a new line)

Code: Select all

			{S_FORM_TOKEN_LOGIN}
## OPEN ##

styles/prosilver/template/viewforum_body.html

FIND (around line 116)

Code: Select all

			{S_LOGIN_REDIRECT}
ADD AFTER (on a new line)

Code: Select all

			{S_FORM_TOKEN_LOGIN}
## OPEN ##

viewforum.php

FIND (around line 200)

Code: Select all

	$template->assign_vars(array(
		'S_NO_READ_ACCESS'		=> true,
	));
ADD BEFORE (on a new line)

Code: Select all

	// Add form token for login box
	add_form_key('login', '_LOGIN');


SAVE<UPLOAD>PURGE CACHE


NOTE If you do not use prosilver as your default style, you may have to edit up to four additional files. Open your default style and see if it contains any or all of the following, If any are present, edit them according to the instructions below otherwise the error will persist.

## OPEN ##

styles/{style_name}/template/index_body.html

FIND

Code: Select all

			{S_LOGIN_REDIRECT}
ADD AFTER (on a new line)

Code: Select all

			{S_FORM_TOKEN_LOGIN}
## OPEN ##

styles/{style_name}/template/login_body.html

FIND

Code: Select all

			{S_LOGIN_REDIRECT}
ADD AFTER (on a new line)

Code: Select all

			{S_FORM_TOKEN_LOGIN}
## OPEN ##

styles/{style_name}/template/login_forum.html

FIND

Code: Select all

			{S_LOGIN_REDIRECT}
ADD AFTER (on a new line)

Code: Select all

			{S_FORM_TOKEN_LOGIN}
## OPEN ##

styles/{style_name/template/viewforum_body.html

FIND

Code: Select all

			{S_LOGIN_REDIRECT}
ADD AFTER (on a new line)

Code: Select all

			{S_FORM_TOKEN_LOGIN}
SAVE>UPLOAD>PURGE CACHE
Last edited by HiFiKabin on Fri May 03, 2019 11:23 am, edited 1 time in total.

Locked

Return to “[3.2.x] Support Forum”