phpBB 3.0.8 Release Candidate 1 published

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
User avatar
MattF
Extension Customisations
Extension Customisations
Posts: 675
Joined: Mon Mar 08, 2010 9:18 am

Re: phpBB 3.0.8 Release Candidate 1 published

Post by MattF »

Hi guys and thanks for the RC!

I performed the automatic update on a vanilla install of 3.0.7-PL1, and then I diff-compared that with a vanilla install of 3.0.8-RC1 and found about 8 files that had differences.

In all cases the differences were due to areas where the automatic updater introduced new lines of code but did not indent the code following it, such as if a new IF conditional was added, the old code inside that conditional is not indented and so we end up with an updated board that:
1) Does not follow the coding guidelines
2) May cause issues down the road with MOD installations and future phpBB updates as the code is not what would be expected.

For example, in the file common.php at line 128
An auto-updated board results in:

Code: Select all

if (file_exists($phpbb_root_path . 'config.' . $phpEx))
{
require($phpbb_root_path . 'config.' . $phpEx);
} 
A fresh 3.0.8-RC1 install looks like:

Code: Select all

if (file_exists($phpbb_root_path . 'config.' . $phpEx))
{
    require($phpbb_root_path . 'config.' . $phpEx);
} 
So are you guys aware of this? I reported to bug tracker anyway :geek:
http://tracker.phpbb.com/browse/PHPBB3-9902
Last edited by MattF on Sun Nov 14, 2010 6:33 pm, edited 3 times in total.
Has an irascible disposition.

vit9696
Registered User
Posts: 7
Joined: Sun Nov 14, 2010 3:21 pm

Re: phpBB 3.0.8 Release Candidate 1 published

Post by vit9696 »

Hello it is so that there are my errors - not the phpbb's Oh maybe I have done something wrong?
http://besplsoft.pp.ru/Bespl
Here is one of the test boards....
Maybe You need the list of mods?

I did an update with the automatic installer.....

User avatar
sleevedbiker
Registered User
Posts: 1
Joined: Sun Nov 14, 2010 6:17 pm

Re: phpBB 3.0.8 Release Candidate 1 published

Post by sleevedbiker »

the only problem i am having with this update is the arcade isnt working properly now. tells all 10,000+ members they need to have flash 8.0 or higher... and all my testers have 10.0, and we are all still getting this message. everything else works perfect though from what i can tell and the feedback i am getting.... http://sonsofanarchyforever.com/forum

vit9696
Registered User
Posts: 7
Joined: Sun Nov 14, 2010 3:21 pm

Re: phpBB 3.0.8 Release Candidate 1 published

Post by vit9696 »

Hello - I "fixed" it the problem was in forum cash, browser cash, some settings and of cource - cookies - now it is all right and I'm happy :). IMHO the problem was in my "not straight hands" as usual :lol:. Thx - waiting for a release....

User avatar
3Di
Registered User
Posts: 951
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Contact:

Re: phpBB 3.0.8 Release Candidate 1 published

Post by 3Di »

Into the root of the packacge (3.0.8 RC1) there is a file I have never seen before: web.config

here's the code

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
	<system.webServer>
		<security>
			<requestFiltering>
				<hiddenSegments>
					<add segment="cache" />
					<add segment="files" />
					<add segment="store" />­
					<add segment="config.php" />
					<add segment="common.php" />
				</hiddenSegments>
			</requestFiltering>
		</security>
	</system.webServer>
	<location path="images/avatars">
		<system.webServer>
			<security>
				<requestFiltering>
					<hiddenSegments>
						<add segment="upload" />
					</hiddenSegments>
				</requestFiltering>
			</security>
		</system.webServer>
	</location>
</configuration>
what's supposed to do and/or why is there?

danke
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
Noxwizard
Support Team Leader
Support Team Leader
Posts: 137
Joined: Sun Dec 18, 2005 5:44 pm
Location: Texas
Contact:

Re: phpBB 3.0.8 Release Candidate 1 published

Post by Noxwizard »

It's the IIS equivalent of the .htaccess file.

User avatar
3Di
Registered User
Posts: 951
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Contact:

Re: phpBB 3.0.8 Release Candidate 1 published

Post by 3Di »

okay, thx. :lol:

and why we now have it there?
Last edited by 3Di on Thu Nov 18, 2010 1:23 am, edited 1 time in total.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 557
Joined: Thu Sep 07, 2006 11:22 am
Location: Karlsruhe, Germany
Contact:

Re: phpBB 3.0.8 Release Candidate 1 published

Post by bantu »

3Di wrote:okay, thx.

and why we now have it there?
For the same reason the .htaccess it there. For example to make sure that config.php cannot be downloaded when there is no PHP interpreter.

User avatar
3Di
Registered User
Posts: 951
Joined: Tue Nov 01, 2005 9:50 pm
Location: Milano 🇮🇹 Frankfurt 🇩🇪
Contact:

Re: phpBB 3.0.8 Release Candidate 1 published

Post by 3Di »

bantu wrote:
3Di wrote:okay, thx.

and why we now have it there?
For the same reason the .htaccess it there. For example to make sure that config.php cannot be downloaded when there is no PHP interpreter.
i do not recall of any .htaccess into the root path though.
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Want to compensate me for my interest? Donate
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades

User avatar
bantu
3.0 Release Manager
3.0 Release Manager
Posts: 557
Joined: Thu Sep 07, 2006 11:22 am
Location: Karlsruhe, Germany
Contact:

Re: phpBB 3.0.8 Release Candidate 1 published

Post by bantu »

3Di wrote:
bantu wrote:
3Di wrote:okay, thx.

and why we now have it there?
For the same reason the .htaccess it there. For example to make sure that config.php cannot be downloaded when there is no PHP interpreter.
i do not recall of any .htaccess into the root path though.
There is one and it's been there since 2005-01-13. :) https://github.com/phpbb/phpbb3/blame/d ... /.htaccess

Post Reply