![]() |
|
#1
|
|||
|
|||
Parse ErrorHi... Please ignore the two prior threads of mine... no one responded and I finally got it to work on my own.
Now I face an error with creating a shoutbox... Here's the error (it is on my PhpBB 2.x Forums homepage index.php) http://www.vigilantweather.com/board/index.php is the URL Error Message: Parse error: parse error, unexpected '=', expecting ')' in /home/vigilant/public_html/board/index.php on line 277 Here is a sample of line 277 & surrounding areas in index.php --- Hint: Line 277 begins with ' FORUM_LOCKED_IMG And now to the code: PHP Code:
Does anyone know how to fix this? If so, please post here ASAP... My board is suffering from errors during times of promotion which spells out trouble! Help appreciated... thanks |
|
#2
|
||||
|
||||
Re: Parse ErrorUnless there is something very strange happening before this code, you will have problems with...
PHP Code:
Now, not having phpBB I am guessing but this looks like your run of the mill language file for text substitution. One file with a long list of key=>value pairs. The close parenthesis above is making a mess of things, as well as the L_FORUM part. Try this, change the FORUM_LOCKED_IMG line to something like PHP Code:
Did the error go away? I'm not sure that is the $$lang item you want but maybe it will get things moving along? HTH, Mark __________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work." --Thomas Alva Edison "Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs |
|
#3
|
|||
|
|||
Re: Parse ErrorNo it is still there... both deliver the same, original error.
|
|
#4
|
||||
|
||||
Re: Parse ErrorI'm such an idiot. That's what I get for not trying it out first.
The problem is the whitespace between the = and the >. Make them all look like => and see if it solves your problem. I bet it does, since I was able to replicate your exact error on my board. Mark EDIT: Hmmm, looks like you are back up. One more thing. Check out your menu items in the footer of your main pages. They are all the same on each particular page (but different on each main site page). __________________
"Opportunity is missed by most people because it comes dressed in overalls and looks like work." --Thomas Alva Edison "Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety." --Benjamin Franklin "A happy person is not a person in a certain set of circumstances, but rather a person with a certain set of attitudes." --Hugh Downs |
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Tutorial] GUI programming with FLTK | dsmith | FLTK Forum | 10 | 03-Oct-2005 15:41 |
| Winsock error when compiling FLTK 2.0 Projects | mauriciorossi | FLTK Forum | 3 | 16-Aug-2005 10:18 |
| Help with syntax errors | PeteGallo | C Programming Language | 7 | 08-Aug-2005 20:30 |
| What is "Ambigious symbol" ??*( a compilation error) | small_ticket | CPP / C++ Forum | 2 | 07-Jan-2005 21:10 |
| Can enum have same name as class? | crystalattice | CPP / C++ Forum | 3 | 08-Dec-2004 16:43 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The