Home :: Forums :: Register :: Sign In :: Links :: Downloads :: Shop
You are not signed in. Please sign in. If you have not registered, please click here.

Memberlist.php...Parse error on line 88....

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb   More...
#1Wed Jun 08, 2005 2:23 pm   Memberlist.php...Parse error on line 88....
xxl_martin_lxx
CZ Active Member
xxl_martin_lxx has been a member for over 7 year's 7 Year Member
uk.gif
Age: 20
Fav. Sports Team: Aldershot Town FC (English Conference)
Website: www.ultraway.net
Status: Offline
Joined: Aug 09, 2004
0.07 posts per day
Posts: 207
Points: 9,481
   
hey all

Parse error: parse error, unexpected T_VARIABLE, expecting '(' in /home/martin2/public_html/nuke/modules/Members_List/index.php on line 88

I've got a cashmod installed recently and ever since i've been trying to resurrect a problem i've just noticed since i installed the cashmod in which it is the memberlist..
[ Register or login to view links on this board. ] forums > memberlist (i think u may need to sign up)

and i cant find the problem or what the heck it means as im a n00b to this stuff!

Thanks for your time



Back to top Reply with quote
#2Sun Jun 12, 2005 4:03 pm   re: Memberlist.php...Parse error on line 88....
nicruisin
CZ Active Member
nicruisin has been a member for over 8 year's 8 Year Member
uk.gif
Age: 32
Website: www.nicruisin.com
Status: Offline
Joined: Feb 06, 2004
0.04 posts per day
Posts: 119
Points: 6,632
   
What does the line say?




_________________
Image

[ Register or login to view links on this board.] [color=red]Cars, babes and cruisin' from the maddest palce of them all... Northern Ireland!
Back to top Reply with quote
#3Sun Jun 12, 2005 11:14 pm   
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 7 year's 7 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 34
Fav. Sports Team: Da Bears.
Website: www.GuitarVoice.com
Status: Offline
Joined: Jul 01, 2004
0.10 posts per day
Posts: 289
Points: 15,094
  MSN Messenger 
unexpected T_VARIABLE errors are typically something weird like not having enough braces to end your functions or maybe even a space where you shouldn't have one...

like ? > instead of ?>

I would check what is going on in the file just before line 88...see if there are any functions there or perhaps you're missing a semi-colon.

Good luck!




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#4Mon Jun 13, 2005 10:20 am   
xxl_martin_lxx
CZ Active Member
xxl_martin_lxx has been a member for over 7 year's 7 Year Member
uk.gif
Age: 20
Fav. Sports Team: Aldershot Town FC (English Conference)
Website: www.ultraway.net
Status: Offline
Joined: Aug 09, 2004
0.07 posts per day
Posts: 207
Points: 9,481
   
Right this error is what i get when i goto my forums and click memberlist......

Parse error: parse error, unexpected T_VARIABLE, expecting '(' in /home/martin2/public_html/nuke/modules/Members_List/index.php on line 88


(I will edit this in a sec. once i've found line 88(and possibly other lines around it))

EDIT**: ooh btw im not actually quite sure which is line 88 but i know its one of these first ones....i always lose count around 79 LOL sorry
//
// Memberlist sorting
//
( $mode_types_text = array $lang['Sort_Joined'], $lang['Sort_Username'], $lang['Sort_Location'], $lang['Sort_Posts'], $lang['Sort_Email'], $lang['Sort_Website'], $lang['Sort_Top_Ten']);
( $mode_types = array('joined', 'username', 'location', 'posts', 'email', 'website', 'topten');

$cm_memberlist->droplists($mode_types_text $mode_types);
$s elect_sort_mode = '<select name="mode">';
for($i = 0; $i < count($mode_types_text); $i++)
{
$selected = ( $mode == $mode_types[$i] ) ? ' selected="selected"' : '';
$select_sort_mode .= '<option value="' . $mode_types[$i] . '"' . $selected . '>' . $mode_types_text[$i] . '</option>';
}
$select_sort_mode .= '</select>';


this is start of it to bout line 100 perhaps its in the first part i think you'll find icon_smile.gif

Thank You


Back to top Reply with quote
#5Tue Jun 14, 2005 10:21 am   
xxl_martin_lxx
CZ Active Member
xxl_martin_lxx has been a member for over 7 year's 7 Year Member
uk.gif
Age: 20
Fav. Sports Team: Aldershot Town FC (English Conference)
Website: www.ultraway.net
Status: Offline
Joined: Aug 09, 2004
0.07 posts per day
Posts: 207
Points: 9,481
   
hmm... wierd....i keep starting from the top and the line 88 appears to be "// Memberlist sorting" so i really duno icon_sad.gif

any help is appreciated!!



Back to top Reply with quote
#6Tue Jun 14, 2005 11:35 am   
jcb
CZ Active Member
 Codezwiz Site Donator
jcb has been a member for over 8 year's 8 Year Member
uk.gif
Occupation: Soldier
Age: 36
Fav. Sports Team: England
Status: Offline
Joined: Oct 20, 2003
0.04 posts per day
Posts: 135
Points: 7,618
   
Hi m8,

Zip up the file and attach it here, we can then take a look. icon_biggrin.gif




_________________
PHP Super NooB
Back to top Reply with quote
#7Tue Jun 14, 2005 2:34 pm   re: Memberlist.php...Parse error on line 88....
xxl_martin_lxx
CZ Active Member
xxl_martin_lxx has been a member for over 7 year's 7 Year Member
uk.gif
Age: 20
Fav. Sports Team: Aldershot Town FC (English Conference)
Website: www.ultraway.net
Status: Offline
Joined: Aug 09, 2004
0.07 posts per day
Posts: 207
Points: 9,481
   
here is memberlist.php



Attached Files
memberlist.php.zip (4.45 KB, Downloaded: 5236 Time(s))


Back to top Reply with quote
#8Tue Jun 14, 2005 2:41 pm   re: Memberlist.php...Parse error on line 88....
jcb
CZ Active Member
 Codezwiz Site Donator
jcb has been a member for over 8 year's 8 Year Member
uk.gif
Occupation: Soldier
Age: 36
Fav. Sports Team: England
Status: Offline
Joined: Oct 20, 2003
0.04 posts per day
Posts: 135
Points: 7,618
   
Try this and see if it works ok.



Attached Files
index.rar (4.37 KB, Downloaded: 5235 Time(s))



_________________
PHP Super NooB
Back to top Reply with quote
#9Tue Jun 14, 2005 6:17 pm   
mjhufford
CZ Active Member
 Codezwiz Site Donator
mjhufford has been a member for over 7 year's 7 Year Member
usa.gif arkansas.gif
Occupation: IT Industry
Age: 34
Fav. Sports Team: Da Bears.
Website: www.GuitarVoice.com
Status: Offline
Joined: Jul 01, 2004
0.10 posts per day
Posts: 289
Points: 15,094
  MSN Messenger 
The problem is actually on line 81. If you see a problem on line 88 and it's commented out...always look before that. It's have trouble executing code.

You have an else statement that looks like it is missing a brace.

Add a { after the else statement on line 81 and see if that helps.

Also, I'm not sure what your open paran on line 84 is doing...what's that for? Perhaps it can be deleted.




_________________
"The pursuit of easy things makes men weak."
-David O. McKay
Back to top Reply with quote
#10Wed Jun 15, 2005 10:34 am   
xxl_martin_lxx
CZ Active Member
xxl_martin_lxx has been a member for over 7 year's 7 Year Member
uk.gif
Age: 20
Fav. Sports Team: Aldershot Town FC (English Conference)
Website: www.ultraway.net
Status: Offline
Joined: Aug 09, 2004
0.07 posts per day
Posts: 207
Points: 9,481
   


Originally posted by mjhufford @ Wed Jun 15, 2005 9:17 am:

The problem is actually on line 81. If you see a problem on line 88 and it's commented out...always look before that. It's have trouble executing code.

You have an else statement that looks like it is missing a brace.

Add a { after the else statement on line 81 and see if that helps.

Also, I'm not sure what your open paran on line 84 is doing...what's that for? Perhaps it can be deleted.



You have an else statement that looks like it is missing a brace.

What is an "else statement"?


Add a { after the else statement on line 81 and see if that helps.

I know where line 81 is, but i duno what the else statement is?

Please get back to me...

I have downloaded that file just gonna replace it with what i've got now...



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb   More...
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum