PDA

View Full Version : Please Help Error Problem


hypertextmark
05-16-2002, 05:16 AM
ok i dont understand.. i didnt have this problem then
all of a sudden i started gettin this error

Parse error: parse error in /home/hiphopic/public_html/forums/index.php on line 78

i checked the line.. and i see nothing wrong... any suggestions?

Thanks

Mark Hensler
05-16-2002, 05:39 AM
Can we see the line?

Has anyone modified that file lately?

hypertextmark
05-16-2002, 05:45 AM
it started happening after i installed the welcome hack on top..
i mean it was working, the hack that is. and the entire site in general next thing you know i refresh to check up on somethin
and it gave me that error

here the line from 78-79

if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];

<^>

whats weird is that i re-uploaded the original index.php file
with no edits and it gave me this

Parse error: parse error, expecting `']'' in /home/hiphopic/public_html/forums/index.php(336) : eval()'d code on line 39

and heres that line 39

$numbermembers=number_format($numbersmembers['users']);

i just dont understand.. if you can help me i'll gladly appreciate it
thanks

Logician
05-16-2002, 08:34 AM
Originally posted by hypertextmark
here the line from 78-79

if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];

There is nothing wrong with this code. (provided that { is closed with a } below)..

Very likely you accidently deleted ; (or a }) in the line 77, check that out..

I suggest reverting to your original index.php and then reapply hack carefully..