Forum Moderators: coopster

Message Too Old, No Replies

Parse error: parse error, unexpected T_VARIABLE

Need help...

         

adriantc

4:53 am on Oct 5, 2005 (gmt 0)

10+ Year Member



I got a cheap script from the internet and now I need help to debug it...

So it gives me this message: Parse error: parse error, unexpected T_VARIABLE in /home/adriantc/public_html/vars.php on line 34

At line 34 there is the following: $fontface = 'Verdana';

I don't know much about php so help is much apreciated. Thanks

bibby

5:00 am on Oct 5, 2005 (gmt 0)

10+ Year Member



I'd see if the lines above it were closed properly.
Look of missing semicolons or quotes.

adriantc

5:07 am on Oct 5, 2005 (gmt 0)

10+ Year Member



Yes... accidently deleted a ;
Thanks a lot for your fast replay

adriantc

7:27 am on Oct 5, 2005 (gmt 0)

10+ Year Member



Seems I have another problem with that script ... cheap stuff is cheap stuff

the problem is in the control panel of this script... well it doesn't login to the control panel... i complete the login name and password and it just reloads the page.
Have any ideas?

Thanks again,

[edited by: coopster at 1:33 pm (utc) on Oct. 5, 2005]
[edit reason] removed url per TOS [webmasterworld.com] [/edit]

jatar_k

3:26 pm on Oct 5, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld adriantc,

it sounds like an unhandled error of some kind. I think you will have to profile it a bit to see what exactly is happening.