Help - Search - Members - Calendar
Full Version: phpBB Forum Problem
Hostony Board > General Support > General Support
pel
Sent the emails below to "support@hostony.com" on 1st and 10th February. Todate, I heard nothing from you guys. I must say that your support is really extremely poor. sad.gif

Are you able to help or not, or do I have to deal directly with phpBB?

Thanks.



----- Original Message -----
To: "Support" <support@hostony.com>
Sent: Thursday, 10 February 2005 8:47 PM
Subject: Re: Forum Error


> Resending...


----- Original Message -----
To: "Support" <support@hostony.com>
Sent: Tuesday, 01 February 2005 11:16 PM
Subject: Forum Error


> Hi,
>
> There is a problem with my phpBB forum on Sengkang.com:
> Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting
> ']' in /home/sengkang/public_html/forum/viewtopic.php on line 487
>
> Are you able to help?
>
> Thanks,
Alexandre
I think you should upgrade your phpBB forum.
Give me please the link to this forum.
Thank you beforehand. smile.gif
pel
Thanks Alex for replying so soon (relatively speaking... seems that I should communication via this forum in future).

As requested:
http://www.sengkang.com/forum/

It was working well for VERY long, until recently. Not sure what is the cause...
Alexandre
I see no errors here:
forum

Give me please the link where you got the error.
Thank you.
wink.gif
peteT
QUOTE(Alexandre @ Feb 15 2005, 10:07 PM)
I see no errors here:
forum

Give me please the link where you got the error.
Thank you.
wink.gif
*


dig a little deeper. rolleyes.gif

You see that every topic gives the same error...
go here and click on any message

http://www.sengkang.com/forum/viewforum.php?f=1

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ']' in /home/sengkang/public_html/forum/viewtopic.php on line 487
bgp1
I see it. Have you added any mods at any time or modified the board at any point in time? Have you recently tried to upgrade the board? It looks like its probably just a missing semicolon or tick mark. Why don't you open that file in some text editor and give us that line of code along with a few lines above and below it. Post that, then we can probably see the error.
Alexandre
I have fixed the bug a few seconds ago smile.gif smile.gif
It's really working now
http://www.sengkang.com/forum/viewtopic.php

Thank you bgp1 wink.gif
pel
Thanks.

Perhaps you could share with us what exactly happened, and what did you do to fix it.
Alexandre
This security hole is easy to fix:

Open viewtopic.php in any text editor. Find the following section of code:
Code:

QUOTE
//
// Was a highlight request part of the URI?
//
$highlight_match = $highlight = '';
if (isset($HTTP_GET_VARS['highlight']))
{
  // Split words and phrases
  $words = explode(' ', trim(htmlspecialchars(urldecode($HTTP_GET_VARS['highlight']))));

  for($i = 0; $i < sizeof($words); $i++)
  {


and replace with:
Code:

QUOTE
//
// Was a highlight request part of the URI?
//
$highlight_match = $highlight = '';
if (isset($HTTP_GET_VARS['highlight']))
{
  // Split words and phrases
  $words = explode(' ', trim(htmlspecialchars($HTTP_GET_VARS['highlight'])));

  for($i = 0; $i < sizeof($words); $i++)
  {

smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here