Page 1 of 1

What can I do about this?

PostPosted: Tue Sep 26, 2006 3:06 pm
Author: Hagenees
[code]Fatal error]

What can I do about this? I get this message when I try to login. So I can't login which means I can't even enter my ACP.

I've tried replacing it with the common.php file from 2.0.19 and 2.0.20, but neither work... however, the common.php file from 2.0.17 DOES work. Will I encounter any problems if I run it with the 2.0.17 common.php file or is there a way to change the 2.0.21 file so it works alright?

Probably something simple this, but I = n00b <img>

Thnx for the help

Re: What can I do about this?

PostPosted: Tue Sep 26, 2006 4:23 pm
Author: computerz
"Hagenees";p="15882" wrote:[code]Fatal error]

What can I do about this? I get this message when I try to login. So I can't login which means I can't even enter my ACP.

I've tried replacing it with the common.php file from 2.0.19 and 2.0.20, but neither work... however, the common.php file from 2.0.17 DOES work. Will I encounter any problems if I run it with the 2.0.17 common.php file or is there a way to change the 2.0.21 file so it works alright?

Probably something simple this, but I = n00b <img>

Thnx for the help


Does your common.php have this
#======================================================================= |
#==== Start: == phpBB Security ========================================= |
#==== v1.0.3 =========================================================== |
#====
include_once($phpbb_root_path .'includes/phpbb_security.'. $phpEx);
$ps_check = phpBBSecurity_Blocks();
if ($ps_check)
phpBBSecurity_Ban(phpBBSecurity_IP(), $board_config['phpBBSecurity_auto_ban'], $ps_check);
phpBBSecurity_MaxSessions($board_config['phpBBSecurity_allowed_sessions']);
phpBBSecurity_Guests();
#====
#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |
#==== End: ==== phpBB Security ========================================= |
#======================================================================= |


?

If not, what code edit did you make to the file and why?

Re: What can I do about this?

PostPosted: Wed Sep 27, 2006 6:57 am
Author: Hagenees
Yes it has got that in the common.php file... it comes straight out of the download without any changes made, so it shouldn't be any different :grin:

Re: What can I do about this?

PostPosted: Mon Oct 09, 2006 8:14 am
Author: mRvMan
Howdy, all...

After upgrading from 2.0.17 to latest version (2.0.21) using the established upgrade path I, too, received this error - I compared the security section as described, here, with previous versions of the common.php file and found only one difference:
Code: Select all
#======================================================================= |#==== Start], $ps_check);phpBBSecurity_MaxSessions($board_config['phpBBSecurity_allowed_sessions']);phpBBSecurity_Guests();#====#==== Author: aUsTiN [austin@phpbb-amod.com] [http://phpbb-tweaks.com] = |#==== End: ==== phpBB Security ========================================= |#=======================================================================

This line: phpBBSecurity_Guests();

If I comment/rem it out my board functions normally - if I leave it active I get the same error message as Hagenees.

Would someone clarify whether or not this needs to be left in (active) or if can remain remmed out? If it is to be left active, what else should I/we who are experiencing this error do additionally?

Note: I run my board "as-created" by Imod/KisMod and don't hack or add additional mods, etc. with the minor exception of editing graphic files.

Thanks in advance for any assistance!

Re: What can I do about this?

PostPosted: Mon Oct 09, 2006 8:45 am
Author: Dragonsys
when upgrading from 2.0.17, you really need to apply the phpBB Security update BEFORE installing any of the phpBB updates. The phpBB Updates have some of the code for Security v1.0.3, and if you have not upgraded to that version, then you will get errors on your boards.

Don't forget to run the ps_upgrade.php either.