Page 1 of 1

how to implement in 3.0.6

Posted: 13. December 2009 22:44
by exhale
Your Portal Version:
Your phpBB Type: Standard phpBB3
MODs installed: Yes
Your knowledge: Basic Knowledge
Boardlink: http://www.hessenfeierei.de

What have you done before the problem was there?
i deleted all my phpBB server files, backupped the things i wanted to keep and then uploaded clean 3.0.6 phpbb files, after that, i uploaded all the portal files to the root dir and started editing

What have you already tryed to solve the problem?
deleted, copied and pasted around (:

Description and Message
files to edit: session.php

Code: Select all

		if (!empty($_GET['style']) && $auth->acl_get('a_styles'))
should be replaced with

Code: Select all

		if (!empty($_GET['style']))
but my session.php looks like this at this place:

Code: Select all

		if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))
what to do?[/i]

Re: how to implement in 3.0.6

Posted: 13. December 2009 23:16
by Marc
For now, just do the same thing.

Re: how to implement in 3.0.6

Posted: 13. December 2009 23:26
by exhale
Parse error: syntax error, unexpected T_BOOLEAN_AND in /usr/export/www/vhosts/funnetwork/hosting/hessenfeierei/phpBB3/includes/session.php on line 1574

Re: how to implement in 3.0.6

Posted: 14. December 2009 07:38
by Marc
I meant replace the whole line.
Find:

Code: Select all

if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))
Replace with:

Code: Select all

if (!empty($_GET['style']))