Page 2 of 6

Posted: Sun Jun 11, 2006 2:55 am
by asinshesq
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?

Posted: Sun Jun 11, 2006 2:59 am
by Narc0sis
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.

Posted: Sun Jun 11, 2006 5:43 am
by whozyodaddy
Installed perfectly with EasyMOD. Brilliant work team!

Posted: Sun Jun 11, 2006 2:39 pm
by stickerboy
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 :)

Posted: Sun Jun 11, 2006 9:07 pm
by whozyodaddy
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.

Posted: Sun Jun 11, 2006 9:09 pm
by Dzonatas
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.

Posted: Mon Jun 12, 2006 2:19 am
by xDazedx
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);

Posted: Mon Jun 12, 2006 3:25 am
by asinshesq
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);

Posted: Mon Jun 12, 2006 4:46 am
by Mutos
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...

Posted: Mon Jun 12, 2006 1:21 pm
by martinc
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.

Posted: Mon Jun 12, 2006 3:28 pm
by stickerboy
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 ;)

Posted: Tue Jun 13, 2006 2:49 am
by CyanBlue
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... ;)

Posted: Tue Jun 13, 2006 4:20 am
by DK Avalanche
********i fixed it**********


EDIT

Posted: Tue Jun 13, 2006 4:50 pm
by stickerboy
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

Posted: Tue Jun 13, 2006 7:54 pm
by Tarj
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