[Tool] phpBB 2.0.20 to phpBB 2.0.21 Changes

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
9
53%
Very Good
2
12%
Good
5
29%
Fair
0
No votes
Poor
1
6%
 
Total votes: 17

asinshesq
Registered User
Posts: 6266
Joined: Sun Feb 22, 2004 9:34 pm
Location: NYC
Name: Alan

Post by asinshesq » Sun Jun 11, 2006 2:55 am

Narc0sis wrote:
asinshesq wrote:
Narc0sis wrote:amazing, after i update and try to post i get a blank page of nothing.

after i revert to the old files, same thing.

sheesh what is going on with this update?


The update works fine...you made a mistake in how you installed it. If you didn't use easymod, consider saving yourself (and people giving support) trouble in the future by using easymod.

You say you've still got a white screen when you revert back to your original files....you need to look in your php error log and tell us what error message you are getting in order for anyone to help.


never had to use easymod ever, i prefer doing it manually. I really haven't encountered problems like this before and i've been updating the same way since before 2.0.0 became final.

Heres what the error_log says

[10-Jun-2006 19:21:56] PHP Fatal error: Call to undefined function: dss_rand() in /home/deviant/public_html/phpBB2/includes/bbcode.php on line 276

this is odd because this file wasn't even changed.


Sorry, I just noticed your post count and I assume you know your way around (though I still swear byy easymod personally).

Dss-rand() was added recently (maybe in 2.0.20?). Any chance you skipped 2.0.20?

Narc0sis
Registered User
Posts: 662
Joined: Tue Apr 09, 2002 12:59 am
Contact:

Post by Narc0sis » Sun Jun 11, 2006 2:59 am

crap i think i overwrote the wrong files. no wonder.

i'll check it closer and get back to you.

-edit, yep that was it. The last update and this update share the same files as ones being edited which caused the confusion. Thanks for the help.

whozyodaddy
Registered User
Posts: 186
Joined: Sat May 08, 2004 4:26 am

Post by whozyodaddy » Sun Jun 11, 2006 5:43 am

Installed perfectly with EasyMOD. Brilliant work team!

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy » Sun Jun 11, 2006 2:39 pm

Manually installed it - about 10-15 minutes, but I wasn't really counting.
Still checking for breakages, but my (heavily) modded forum seems ok so far.
Good work guys :)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

whozyodaddy
Registered User
Posts: 186
Joined: Sat May 08, 2004 4:26 am

Post by whozyodaddy » Sun Jun 11, 2006 9:07 pm

I seem to have run into an issue. When trying to post replies larger than two or so sentences, I run into a "403 Forbidden" error saying "You don't have permission to access /posting.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Ok, the weirdest thing ever happened to me. I tested out stuff and I can post any length of text I want. It's just that when I want to post a certain paragraph that I wrote, in ANY topic or reply, i get that error. I copy and paste the paragraph I want to put and even type it out, no matter what PHPBB WONT LET ME POST THAT CERTAIN PARAGRAPH! This is the weirdest thing that has ever happened to me involving phpbb.

If I were to so much as take out one letter or change one word, I would be able to post the paragraph.

Please help.
Last edited by whozyodaddy on Sun Jun 11, 2006 10:35 pm, edited 1 time in total.

Dzonatas
Registered User
Posts: 5
Joined: Fri Jun 09, 2006 1:00 am

Post by Dzonatas » Sun Jun 11, 2006 9:09 pm

asinshesq wrote: Sounds like you ldidnt copy the install folder under your root phpbb2 folder (that's where it needs to be). Copy it there and then browse to it with your browser.


Somehow, the direction for it to be in that folder was missed. This is the first update mod I've installed. I put it in the directoy along with all other mods.

Perhaps, what you told me could be detected and suggested if the same error occurs. Intead of the reference to the INSTALL.HTML file, print a line that simply reads "Please, make sure the install/ directory is located under the root phpbb2 folder and try again!" It would be very helpful.

Luckily, I installed my mods to a test version before the live version.

xDazedx
Registered User
Posts: 362
Joined: Sat Aug 21, 2004 11:42 pm
Contact:

Post by xDazedx » Mon Jun 12, 2006 2:19 am

Has anyone had the quote issue happen after their upgrade?

1. in a thread hit quote
2. reply to post
3. click submit

Quotes no longer appear. The code looks like the below.

Code: Select all

[quote=\"user\"] text text text .[/quote] 
fixed:
for some reason using easymod I had the below. I removed the last one and all is well!

Code: Select all

		$message = addslashes($message);
		$message = str_replace('"', '\"', $message);
		$message = str_replace('"', '\\"', $message);

asinshesq
Registered User
Posts: 6266
Joined: Sun Feb 22, 2004 9:34 pm
Location: NYC
Name: Alan

Post by asinshesq » Mon Jun 12, 2006 3:25 am

xDazedx wrote: Has anyone had the quote issue happen after their upgrade?

1. in a thread hit quote
2. reply to post
3. click submit

Quotes no longer appear. The code looks like the below.

Code: Select all

[quote=\"user\"] text text text .[/quote] 
fixed:
for some reason using easymod I had the below. I removed the last one and all is well!

Code: Select all

		$message = addslashes($message);
		$message = str_replace('"', '\"', $message);
		$message = str_replace('"', '\\"', $message);


You need to get rid of that last $message line. The final line in that part should read:

Code: Select all

$message = str_replace('"', '\"', $message);
Last edited by asinshesq on Mon Jun 12, 2006 11:19 am, edited 1 time in total.

User avatar
Mutos
Registered User
Posts: 10
Joined: Fri Aug 16, 2002 8:12 am
Location: France
Contact:

Post by Mutos » Mon Jun 12, 2006 4:46 am

Hi all,


Thanks for the MOD, it installed perfectly with easyMOD on my first forum, it was the first time I install something with EM, turns a nightmare into a breeze !

Now up to the second forum, which has a photos album installed...
Benoît 'Mutos' ROBIN
Hoshikaze 2250 Project
Science-Fiction Universe
http://hoshikaze.net

martinc
Registered User
Posts: 4
Joined: Fri Mar 11, 2005 4:20 pm

Post by martinc » Mon Jun 12, 2006 1:21 pm

Please help.

The mod installed fine without any errors but now when I access my forum I get the follow error;

Fatal error: Call to undefined function: phpbb_ltrim() in /Library/WebServer/Documents/forum/includes/functions.php on line 331

Help!

Thanks.

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy » Mon Jun 12, 2006 3:28 pm

martinc wrote: Please help.

The mod installed fine without any errors but now when I access my forum I get the follow error;

Fatal error: Call to undefined function: phpbb_ltrim() in /Library/WebServer/Documents/forum/includes/functions.php on line 331

Help!

Thanks.

Looks liks you missed a few edits. Go back over the instructions and make sure you applied them correctly ;)
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

CyanBlue
Registered User
Posts: 409
Joined: Mon Jul 28, 2003 9:55 am

Post by CyanBlue » Tue Jun 13, 2006 2:49 am

Thanks for the great MOD... ;)

Just out of curiosity... ;)
I had problem with the login.php with EM, so I had to do this portion manually... The downloaded file says this...

Code: Select all

# 
#-----[ OPEN ]--------------------------------------------- 
# 
login.php

#
#-----[ FIND ]---------------------------------------------
# Line 116
					
					$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : '';
					$redirect = str_replace('?', '&', $redirect);

					if (strstr(urldecode($redirect), "\n") || strstr(urldecode($redirect), "\r"))
					{
						message_die(GENERAL_ERROR, 'Tried to redirect to potentially insecure url.');
					}

					$template->assign_vars(array(
						'META' => "<meta http-equiv=\"refresh\" content=\"3;url=login.$phpEx?redirect=$redirect\">")
					);

					$message = $lang['Error_login'] . '<br /><br />' . sprintf($lang['Click_return_login'], "<a href=\"login.$phpEx?redirect=$redirect\">", '</a>') . '<br /><br />' .  sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');

					message_die(GENERAL_MESSAGE, $message);
				}

#
#-----[ REPLACE WITH ]---------------------------------------------
#
				}

				$redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : '';
				$redirect = str_replace('?', '&', $redirect);

				if (strstr(urldecode($redirect), "\n") || strstr(urldecode($redirect), "\r"))
				{
					message_die(GENERAL_ERROR, 'Tried to redirect to potentially insecure url.');
				}

				$template->assign_vars(array(
					'META' => "<meta http-equiv=\"refresh\" content=\"3;url=login.$phpEx?redirect=$redirect\">")
				);

				$message = $lang['Error_login'] . '<br /><br />' . sprintf($lang['Click_return_login'], "<a href=\"login.$phpEx?redirect=$redirect\">", '</a>') . '<br /><br />' .  sprintf($lang['Click_return_index'], '<a href="' . append_sid("index.$phpEx") . '">', '</a>');

				message_die(GENERAL_MESSAGE, $message);
That did not work when I manually edited the login.php file...
What I needed to do was to comment out the very first line in the REPLACE WITH section to match the number of { and } in that code...
Maybe it was just me cuz I have lots of MODs applied to the forum, but I thought that I'd mention it anyways... ;)

DK Avalanche
Registered User
Posts: 158
Joined: Fri Oct 31, 2003 10:06 pm
Contact:

Post by DK Avalanche » Tue Jun 13, 2006 4:20 am

********i fixed it**********


EDIT
Quote by UncleHusker "okay... maybe you can could explain this like i'm a 2 year old (because iam VERY slow at this! lol) "

User avatar
stickerboy
Former Team Member
Posts: 7349
Joined: Mon Mar 29, 2004 2:27 pm
Location: Airdrie, UK (127.0.0.1)
Name: Kenny Cameron
Contact:

Post by stickerboy » Tue Jun 13, 2006 4:50 pm

CyanBlue wrote: Thanks for the great MOD... ;)

Just out of curiosity... ;)
I had problem with the login.php with EM, so I had to do this portion manually...

*snip*


Yeah, found that too. If you have the Olympus style login MOD, things can get a bit confusing :P
I'm a web-designing code-decrypting tech-support musician
|| Twitter || Flickr || phpBB Snippets ||
Formerly known as cherokee red

Tarj
Registered User
Posts: 72
Joined: Sun Nov 20, 2005 9:17 pm
Location: Vermont, USA

Post by Tarj » Tue Jun 13, 2006 7:54 pm

Timtam1234 wrote: Yes it can.


I uploaded the text file to my phpBB2/mods/ folder and EM easymod does not see it. What could I be doing wrong? I've used easymod to install many other mods.

EDIT
Never mind - it's been a while. It's got to be placed in phpBB2/admin/mods/

- Bryan

Post Reply

Return to “[2.0.x] MOD Database Releases”