 | Parse error |  |
Posted: 07/16/2007 4:43 PM |
|
|
|
|
|
| Seagull |
| Posts |
110 |
| Word Cnt. |
24,559 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Mar 21, 2007
Local time: 9:03 AM
Location: Northern Ireland
|

|
|
|
|
 |
Parse error: syntax error, unexpected T_STRING in /home/punited/public_html/forum/viewforum.php on line 207
My friends forum has this error when clicking on every section.
I dont have a clue what it is to help him |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Parse error |  |
Posted: 07/16/2007 5:06 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:03 AM
Location: St Pete, FL
|

|
|
|
|
 |
Post a text link to the viewforum.php file and I will be happy to take a look at it for your friend...
Creating text Links for phpBB files
First create a duplicate of the phpBB file on your PC, then rename the file by adding .txt to the end of the file name. Next upload the file to a location on your FTP Server accessible to the public and provide a link back here for us to analyze it...
The path to your file could look something like this now:
| Code:
|
|
http://yourdomain.com/downloads_folder/viewforum.txt
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Parse error |  |
Posted: 07/16/2007 5:20 PM |
|
|
|
|
|
| Seagull |
| Posts |
110 |
| Word Cnt. |
24,559 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Mar 21, 2007
Local time: 9:03 AM
Location: Northern Ireland
|

|
|
|
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Parse error |  |
Posted: 07/16/2007 10:46 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:03 AM
Location: St Pete, FL
|

|
|
|
|
 |
This is how you fix that problem:
OPEN
viewforum.php
FIND
| Code:
|
|
$row['username'] . '</a>';' . $row['username'] . '</a>';
|
REPLACE WITH
| Code:
|
|
$row['username'] . '</a>';
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Parse error |  |
Posted: 07/17/2007 8:05 AM |
|
|
|
|
|
| Seagull |
| Posts |
110 |
| Word Cnt. |
24,559 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Mar 21, 2007
Local time: 9:03 AM
Location: Northern Ireland
|

|
|
|
|
 |
Im getting a new error
An Error Occurred
DEBUG MODE
SQL Error : 1146 Table 'punited_phpb1.COLOR_GROUPS_TABLE' doesn't exist
SELECT * FROM COLOR_GROUPS_TABLE WHERE hidden = 0 ORDER BY order_num ASC
Line : 227
File : functions_color_groups.php |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Parse error |  |
Posted: 07/17/2007 8:48 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:03 AM
Location: St Pete, FL
|

|
|
|
|
 |
Either the includes/constant.php file didn't get included or the modification to add the new constant COLOR_GROUPS_TABLE to the includes/constant.php file wasn't completed. Probably the COLOR GROUPS MOD was installed but the following code wasn't added to the includes/constant.php file...
| Code:
|
#
#-----[ AFTER, ADD ]------------------------------------------
#
define('COLOR_GROUPS_TABLE', $table_prefix.'color_groups');
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Parse error |  |
Posted: 07/17/2007 8:58 AM |
|
|
|
|
|
| Seagull |
| Posts |
110 |
| Word Cnt. |
24,559 |
| BDay |
N/A |
| Sign |
N/A |
| Sex |
 |
|
|
|
Joined: Mar 21, 2007
Local time: 9:03 AM
Location: Northern Ireland
|

|
|
|
|
 |
It worked. Thanks very much
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Parse error |  |
Posted: 07/17/2007 5:40 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 10:03 AM
Location: St Pete, FL
|

|
|
|
|
 |
I had a sneaking feeling that it would work. Congratulations Crowndefender!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|