PDA

View Full Version : Please Help w/ This PHP Error - I Cant Seem To Figure Out The Problem,


E
05-18-2003, 07:35 PM
Parse error: parse error, unexpected $ in /home/fiendwor/public_html/forum/admin/user.php on line 1799


its in admin/user.php

doformheader("user","pruneusers");
maketableheader("User Moving/Pruning System - Find users where...");
makechoosercode("Usergroup is","usergroupid","usergroup",iif($usergroupid,$usergroupid,-1),"Any");
makeinputcode("Has not logged on for <i>x</i> days","daysprune",iif($daysprune,$daysprune,365));
makeinputcode("Registered before date: (yyyy-mm-dd format)","joindate",$joindate);
makeinputcode("Has less than <i>x</i> posts:","minposts",iif($minposts,$minposts,""));
makelabelcode("Order results by:","<select name='order'>
<option value='username ASC'>User Name</option>
<option value='email ASC'>Email Address</option>
<option value='usergroup.title ASC'>Usergroup</option>
<option value='posts DESC'>Post Count</option>
<option value='lastvisit ASC'>Last Visit</option>
<option value='joindate DESC'>Join Date</option>
</select>");
doformfooter("Find Users");
}

cpfooter();
?>


I think its the SPACE @ the end,
I take it away EVERY time &,
no matter what, it comes back & gives the same error.

Also, I had the karma hack on this,
& I took out it out from
the beginning ( //Karma )
to
the end of the code ( //Karma )

& the problem doesnt seem to lie there anyway.
Its @ the last line,
please help?

assassingod
05-18-2003, 07:43 PM
What one is line 1799?

E
05-18-2003, 07:48 PM
the last, Ill check to make sure, hold on

E
05-18-2003, 07:49 PM
line 1799 = the space after ?>

whenever I remove it, on iE or AOL browser,
it comes back & shows the error anyway.

Boofo
05-19-2003, 04:17 PM
What hack have you installed lately? Sounds like your problem is something you might have forgotten or not done when installing a hack. That code that you posted is correct.

E
05-19-2003, 11:26 PM
the cards / medals / awards hack by lesane,
would you like me to upload admin/user.php so maybe you can check?

filburt1
05-19-2003, 11:30 PM
You're not allowed to...

E
05-20-2003, 12:29 AM
why not?
maybe you can AIM [instant message] me & ill send it?

filburt1
05-20-2003, 12:32 AM
No...because vB files are copyright property, you can't.

E
05-20-2003, 02:01 AM
aww. :(
is there any way any of you can help w/ this problem?
thanks for telling me though, filburt.

filburt1
05-20-2003, 02:11 AM
Just post a few lines of code above the problem block. That's usually the cause.

E
05-21-2003, 12:32 AM
already did, lol..
should I post more lines of the code?

mx3
07-04-2003, 12:13 AM
I get those errors a lot, its either you have an extra } somewhere in the file or are missing a }. hope that helps...:D