Parse error ?

This is an archive of the phpBB 2.0.x support forum. Support for phpBB2 has now ended.
Forum rules
Following phpBB2's EoL, this forum is now archived for reference purposes only.
Please see the following announcement for more information: viewtopic.php?f=14&t=1385785
Locked
GilaMonster
Registered User
Posts: 83
Joined: Mon Jan 10, 2005 12:52 am
Location: CSC Scania, Iraq - Silver City, NM
Contact:

Parse error ?

Post by GilaMonster »

One of the message boards I have volunteered to help with...When I click on "Who is Online" at http://huntingfirearms.net/phpBB/ I get the following Parse error:

Parse error: syntax error, unexpected '.' in /home/huntingf/public_html/phpBB/viewonline.php on line 201

Here it is in a text file..
http://huntingfirearms.net/phpBB/viewonline.txt

Can someone tell me what the problems is and how I can figure out what line it is refering to please.. :?:
Thanks
User avatar
Lumpy Burgertushie
Registered User
Posts: 68177
Joined: Mon May 02, 2005 3:11 am
Contact:

Post by Lumpy Burgertushie »

in that file, on line 201 is a period that does not belong there:

Code: Select all

case PAGE_LINKS:
					$location = $lang['Links'];
					$location_url = "links.$phpEx";
					break;.
notice this:

Code: Select all

break;.
remove the period after the semicolon and you should be good.
'
robert
I'm baaaaaccckkkk. still doing work on donation basis. PM your needs.

Premium phpBB 3.3 Styles by PlanetStyles.net

If nobody is in the forest, does a tree really fall?
GilaMonster
Registered User
Posts: 83
Joined: Mon Jan 10, 2005 12:52 am
Location: CSC Scania, Iraq - Silver City, NM
Contact:

Post by GilaMonster »

Thanks so much for the speedy and ACCURACE reply.. Thanks did the trick! Image
Thanks a lot!
ImageImageImageImageImage
Locked

Return to “2.0.x Support Forum”