Forum Moderators: coopster

Message Too Old, No Replies

help with unexpected T_VARIABLE

         

Bill_bo

3:33 am on Apr 24, 2006 (gmt 0)

10+ Year Member



what does this string of text mean

Parse error: parse error, unexpected T_VARIABLE in /home/clanfuzi/public_html/theugn/ladders/config/config.php on line 89

JerryOdom

3:44 am on Apr 24, 2006 (gmt 0)

10+ Year Member



sounds like a syntax error while you were setting up a config file. Ccheck for a deleted quote around a variable. like $var = "something"; and you edited it and now it reads $var = "something;. Missing curly bracket is often a culprit, etc.

Bill_bo

3:56 am on Apr 24, 2006 (gmt 0)

10+ Year Member



ok i look at line 89 and i get this

$theme[option5] = 'AngryBlue';

and nothing is missing that i can see

Bill_bo

3:59 am on Apr 24, 2006 (gmt 0)

10+ Year Member



nvm with that last post now i get this

Parse error: parse error, unexpected '/', expecting ')' in /home/clanfuzi/public_html/theugn/ladders/config/config.php on line 173

Habtom

7:50 am on Apr 24, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It doesn't necessarly the error is due to that line. Check the brackets and semicolons, and make sure you didn't open something somewhere and remain unclosed.

Hab

4ior

9:19 am on Apr 24, 2006 (gmt 0)

10+ Year Member



you need to show us whats the line..

Bill_bo

7:21 pm on Apr 24, 2006 (gmt 0)

10+ Year Member



ok heres the line

$dir[base]= getcwd(/home/clanfuzi/public_html/theugn/ladders);

Bill_bo

7:24 pm on Apr 24, 2006 (gmt 0)

10+ Year Member



could it possibly be this line of text

$site[homeurl]= ("http://example.com/ladders");

[edited by: coopster at 10:22 pm (utc) on April 30, 2006]
[edit reason] generalized url TOS [webmasterworld.com] [/edit]

hakre

12:26 pm on Apr 25, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



$dir[base]= getcwd(/home/clanfuzi/public_html/theugn/ladders);

that one is faulty, encapsulate the string [php.net] with qutation marks or it is none. checkout the php manual for string to learn everything you need to know for this problem and in the future.

your code might afterwards look like this:

$dir[base]= getcwd("/home/clanfuzi/public_html/theugn/ladders");

anyway next to the php manual you should read the forums TOS about posting your domain here.