Welcome to Geeklog, Anonymous Saturday, November 09 2024 @ 07:59 am EST
Geeklog Forums
Parse error: parse error, unexpected T_VARIABLE in config file on line 89
Status: offline
evhwanabe
Forum User
Newbie
Registered: 11/17/04
Posts: 1
Parse error: parse error, unexpected T_VARIABLE in config file on line 89
This is line 89
$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';
I cannot for the life of me figure out what the problem is. Sorry for such a newbie question ;-(
This is line 89
$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';
I cannot for the life of me figure out what the problem is. Sorry for such a newbie question ;-(
12
12
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
perhaps look the line of code immediately preceding that one (probably line 83).. make sure it ends properly in a semicolon. your syntax is wrong somewhere before line 89 hence the "unexpected" in the error.
9
10
Quote
DJJoeJoe
Anonymous
I get the same error here plz help...
error:
Parse error: parse error, unexpected ';', expecting ')' in /home/cheese/public_html/blocks/block-Quotes.php on line 159
if (eregi("block-Quotes.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$linkarray = array(
"|H. G. Wells (1866-1946)<br>Moral indignation is jealousy with a halo.",
"|Cheeseburger Wanted. ",
"|Got Cheeseburger? ",
"|Time To Make The Cheeseburger. ",
"|Fall Into The Cheeseburger. ",
"|Come Fly The Friendly Cheeseburger. ",
"|When It Absolutely, Positively Has To Be Cheeseburger Overnight. ",
"|Did Somebody Say Cheeseburger? ",
"|Taste the Cheeseburger. ",
"|We're Serious About Cheeseburger. ",
"|Because So Much Is Riding On Your Cheeseburger. ",
"|Think Cheeseburger. ",
"|Poppin' Fresh Cheeseburger. ",
"|For That Deep Down Body Cheeseburger. ",
"|The Curiously Strong Cheeseburger. ",
"|You've Got Questions. We've Got Cheeseburger. ",
"|We Build Cheeseburger. ",
"|There's Always Room For Cheeseburger. ",
"|The World's Favourite Cheeseburger. ",
"|We'll Leave The Cheeseburger On For You. ",
"|Fill It To The Rim With Cheeseburger. ",
"|Because Cheeseburger Can't Drive. ",
"|With A Name Like Cheeseburger, It Has To Be Good. ",
"|Please Don't Squeeze The Cheeseburger. ",
"|Moving at the Speed of Cheeseburger. ",
"|Crunch All You Want. We'll Make Cheeseburger. ",
"|The Cheeseburger of Champions. ",
"|Make It A Cheeseburger Night. ",
"|The Best Part of Waking Up is Cheeseburger in Your Cup. ",
"|Obey Your Cheeseburger. ",
"|Turn Loose The Cheeseburger. ",
"|Better Ingredients, Better Cheeseburger. ",
"|The Ultimate Cheeseburger Machine. ",
"|This Is Not Your Father's Cheeseburger. ",
"|A Cheeseburger Is Forever. ",
"|There's Only One Cheeseburger. ",
"|Do The Cheeseburger. ",
"|Run For The Cheeseburger. ",
"|Your Cheeseburger, Right Away. ",
"|The Science Of Cheeseburger. ",
"|I'm Not Gonna Pay A Lot For This Cheeseburger. ",
"|The Cheeseburger That Refreshes. ",
"|Smart. Beautiful. Cheeseburger. ",
"|I Can't Believe It's Not Cheeseburger. ",
"|Feel The Raw Naked Cheeseburger Of The Road. ",
"|Cheeseburger. It's What's For Dinner. ",
"|Something Special In The Cheeseburger. ",
"|It's Cheeseburger Time. ",
"|Is It Live, Or Is It Cheeseburger? ",
"|Wait Till We Get Our Cheeseburger On You. ",
"|Where's The Cheeseburger? ",
"|It's Not TV. It's Cheeseburger. ",
"|The Cheeseburger That Eats Like A Meal. ",
"|It Takes A Tough Man To Make A Tender Cheeseburger. ",
"|Cheeseburger Is Job 1. ",
"|Recommended By Dr. Cheeseburger. ",
"|Nothing Comes Between Me And My Cheeseburger. ",
"|Cheeseburger, Take Me Away. ",
"|You Deserve A Cheeseburger Today. ",
"|A Different Kind Of Company. A Different Kind Of Cheeseburger. ",
"|It's How Cheeseburger Is Done. ",
"|Little. Yellow. Different. Cheeseburger. ",
"|Promise Her Anything, But Give Her Cheeseburger. ",
"|All You Add Is Cheeseburger. ",
"|Cheeseburger Really Satisfies. ",
"|We Do Cheeseburger Right. ",
"|The Cheeseburger Of A New Generation. ",
"|I Want My Cheeseburger. ",
"|When You've Got Cheeseburger, Flaunt It. ",
"|Bread Wi' Cheeseburger Taken Out. ",
"|It's Good To Talk Cheeseburger. ",
"|And All Because The Lady Loves Cheeseburger. ",
"|Probably The Best Cheeseburger In The World. ",
"|Look, Ma, No Cheeseburger! ",
"|Go To Work On A Cheeseburger. ",
"|Put A Cheeseburger In Your Tank. ",
"|No Cheeseburger, No Comment. ",
"||Say It With Cheeseburger. ",
"|Cheeseburger Is Good For You. ",
"|My Goodness, My Cheeseburger! ",
"|Don't Be Vague. Ask for Cheeseburger. ",
"|If You Want To Get Ahead, Get A Cheeseburger. ",
"|Refreshes the Cheeseburger Other Beers Cannot Reach. ",
"|Beanz Meanz Cheeseburger. ",
"|Snap! Crackle! Cheeseburger! ",
"|Have a Break. Have a Cheeseburger. ",
"|Cheeseburger -Lickin' Good. ",
"|Because I'm Worth Cheeseburger. ",
"|The Future's Bright. The Future's Cheeseburger. ",
"|You'll Wonder Where the Yellow Went, When You Brush Your Teeth with Cheeseburger. ",
"|It's a Lot Less Cheeseburger Than a Hover. ",
"|For Mash, Get Cheeseburger. ",
"|All The Cheeseburger That's Fit To Print. ",
"|The Appliance of Cheeseburger. ",
"|Try Cheeseburger, You'll Like It. ",
"|Cheeseburger Is Our Middle Name. ",
"|Nothing Acts Faster Than Cheeseburger. ",
"|To Our Members, We're The Fourth Cheeseburger. ",
"|Aaahh, Cheeseburger! ",
"|This Is The Age Of The Cheeseburger. ",
"|Australians Wouldn't Give A Cheeseburger For Anything Else. ",
"|Good Cheeseburger Has Danish Written All Over It. ",
"|Kills All Known Cheeseburger - Dead. ",
"|Pure Cheeseburger. ",
"|Bet You Can't Eat Cheeseburger. ",
"|Never Knowingly Cheeseburger. ",
"|Out Of The Strong Came Forth Cheeseburger. ",
"|Welcome To Cheeseburger Country. ",
"|The Sweet You Can Eat Between Meals Without Ruining Your Cheeseburger. ",
"|Gotta Lotta Cheeseburger. ",
"|P-P-P-Pick Up A Cheeseburger. ",
"|Schhh... You Know Cheeseburger. ",
"|Can You Tell Cheeseburger From Butter? ",
"|I Liked The Cheeseburger So Much, I Bought The Company! ",
"|Happiness is a Cigar Called Cheeseburger. ",
"|I Feel Like Cheeseburger Tonight. ",
"|It's A Bit Of A Cheeseburger. ",
"|Shake the Bottle, Wake the Cheeseburger. ",
"|I Scream, You Scream, We All Scream for Cheeseburger. ",
"|Maybe She's Born With It, Maybe It's Cheeseburger. ",
"|Men Can't Help Acting On Cheeseburger. ",
"|Whenever There's a Snack Gap, Cheeseburger Fits. ",
"|The Good Cheeseburger Kids Go For. ",
"|Gotta Lotta Cheeseburger. ",
"|Let Your Cheeseburger Do The Walking. ",
"|Melts In Your Cheeseburger, Not In Your Hand. ",
"|The Lighter Way To Enjoy Cheeseburger. ",
"|Kids Will Do Anything For Cheeseburger. ",
"|Cheeseburger - The Best A Man Can Get. ",
"|Made In Scotland From Cheeseburger. ",
"|It's Just For Me And My Cheeseburger. ",
"|The Cheeseburger With The Hole. ",
"|Stimulation for Body and Cheeseburger. ",
"|Once You Pop, You Can't Stop Cheeseburger. ",
"|Don't Leave Home Without Cheeseburger. ",
"|Every Cheeseburger Helps. ",
"|Why Have Cotton When You Can Have Cheeseburger? ",
"|Top Breeders Recommend Cheeseburger. ",
"|A Cheeseburger A Day Helps You Work, Rest and Play. ",
"|Just Do Cheeseburger. ",
"|Reach for the Cheeseburger. ",
"|That'll be the Cheeseburger. ",
"|Thank Cheeseburger It's Friday. ",
"|It's the Bright One, it's the Right One, that's Cheeseburger. ",
"|You're Never Alone with a Cheeseburger. ",
"|Hands That Do Dishes Can Be Soft As Your Cheeseburger. ",
"|Cheeseburger Prevents That Sinking Feeling. ",
"|Be Like Dad, Keep Cheeseburger. ",
"|Bridge That Gap with Cheeseburger. ",
"|Naughty, but Cheeseburger. ",
// seed the random number generator
srand((double)microtime()*1000000);
// get a random entry
$randval = rand(0,count($linkarray)-1);
// explode random entry into an array
$entry = explode("|",$linkarray[$randval]);
// print entry
$content = "<div align="justify"><font class="content">$entry[1]</div>";
?>
the error line is here: srand((double)microtime()*1000000);
and thi is the whole section there...
srand((double)microtime()*1000000); error is this line<<<<<
// get a random entry
$randval = rand(0,count($linkarray)-1);
// explode random entry into an array
$entry = explode("|",$linkarray[$randval]);
// print entry
$content = "<div align="justify"><font class="content">$entry[1]</div>";
?>
Please help ASAP. Thanks. My Email is djjoejoe_@hotmail.com if you need it.
error:
Parse error: parse error, unexpected ';', expecting ')' in /home/cheese/public_html/blocks/block-Quotes.php on line 159
Text Formatted Code
<?phpif (eregi("block-Quotes.php",$PHP_SELF)) {
Header("Location: index.php");
die();
}
$linkarray = array(
"|H. G. Wells (1866-1946)<br>Moral indignation is jealousy with a halo.",
"|Cheeseburger Wanted. ",
"|Got Cheeseburger? ",
"|Time To Make The Cheeseburger. ",
"|Fall Into The Cheeseburger. ",
"|Come Fly The Friendly Cheeseburger. ",
"|When It Absolutely, Positively Has To Be Cheeseburger Overnight. ",
"|Did Somebody Say Cheeseburger? ",
"|Taste the Cheeseburger. ",
"|We're Serious About Cheeseburger. ",
"|Because So Much Is Riding On Your Cheeseburger. ",
"|Think Cheeseburger. ",
"|Poppin' Fresh Cheeseburger. ",
"|For That Deep Down Body Cheeseburger. ",
"|The Curiously Strong Cheeseburger. ",
"|You've Got Questions. We've Got Cheeseburger. ",
"|We Build Cheeseburger. ",
"|There's Always Room For Cheeseburger. ",
"|The World's Favourite Cheeseburger. ",
"|We'll Leave The Cheeseburger On For You. ",
"|Fill It To The Rim With Cheeseburger. ",
"|Because Cheeseburger Can't Drive. ",
"|With A Name Like Cheeseburger, It Has To Be Good. ",
"|Please Don't Squeeze The Cheeseburger. ",
"|Moving at the Speed of Cheeseburger. ",
"|Crunch All You Want. We'll Make Cheeseburger. ",
"|The Cheeseburger of Champions. ",
"|Make It A Cheeseburger Night. ",
"|The Best Part of Waking Up is Cheeseburger in Your Cup. ",
"|Obey Your Cheeseburger. ",
"|Turn Loose The Cheeseburger. ",
"|Better Ingredients, Better Cheeseburger. ",
"|The Ultimate Cheeseburger Machine. ",
"|This Is Not Your Father's Cheeseburger. ",
"|A Cheeseburger Is Forever. ",
"|There's Only One Cheeseburger. ",
"|Do The Cheeseburger. ",
"|Run For The Cheeseburger. ",
"|Your Cheeseburger, Right Away. ",
"|The Science Of Cheeseburger. ",
"|I'm Not Gonna Pay A Lot For This Cheeseburger. ",
"|The Cheeseburger That Refreshes. ",
"|Smart. Beautiful. Cheeseburger. ",
"|I Can't Believe It's Not Cheeseburger. ",
"|Feel The Raw Naked Cheeseburger Of The Road. ",
"|Cheeseburger. It's What's For Dinner. ",
"|Something Special In The Cheeseburger. ",
"|It's Cheeseburger Time. ",
"|Is It Live, Or Is It Cheeseburger? ",
"|Wait Till We Get Our Cheeseburger On You. ",
"|Where's The Cheeseburger? ",
"|It's Not TV. It's Cheeseburger. ",
"|The Cheeseburger That Eats Like A Meal. ",
"|It Takes A Tough Man To Make A Tender Cheeseburger. ",
"|Cheeseburger Is Job 1. ",
"|Recommended By Dr. Cheeseburger. ",
"|Nothing Comes Between Me And My Cheeseburger. ",
"|Cheeseburger, Take Me Away. ",
"|You Deserve A Cheeseburger Today. ",
"|A Different Kind Of Company. A Different Kind Of Cheeseburger. ",
"|It's How Cheeseburger Is Done. ",
"|Little. Yellow. Different. Cheeseburger. ",
"|Promise Her Anything, But Give Her Cheeseburger. ",
"|All You Add Is Cheeseburger. ",
"|Cheeseburger Really Satisfies. ",
"|We Do Cheeseburger Right. ",
"|The Cheeseburger Of A New Generation. ",
"|I Want My Cheeseburger. ",
"|When You've Got Cheeseburger, Flaunt It. ",
"|Bread Wi' Cheeseburger Taken Out. ",
"|It's Good To Talk Cheeseburger. ",
"|And All Because The Lady Loves Cheeseburger. ",
"|Probably The Best Cheeseburger In The World. ",
"|Look, Ma, No Cheeseburger! ",
"|Go To Work On A Cheeseburger. ",
"|Put A Cheeseburger In Your Tank. ",
"|No Cheeseburger, No Comment. ",
"||Say It With Cheeseburger. ",
"|Cheeseburger Is Good For You. ",
"|My Goodness, My Cheeseburger! ",
"|Don't Be Vague. Ask for Cheeseburger. ",
"|If You Want To Get Ahead, Get A Cheeseburger. ",
"|Refreshes the Cheeseburger Other Beers Cannot Reach. ",
"|Beanz Meanz Cheeseburger. ",
"|Snap! Crackle! Cheeseburger! ",
"|Have a Break. Have a Cheeseburger. ",
"|Cheeseburger -Lickin' Good. ",
"|Because I'm Worth Cheeseburger. ",
"|The Future's Bright. The Future's Cheeseburger. ",
"|You'll Wonder Where the Yellow Went, When You Brush Your Teeth with Cheeseburger. ",
"|It's a Lot Less Cheeseburger Than a Hover. ",
"|For Mash, Get Cheeseburger. ",
"|All The Cheeseburger That's Fit To Print. ",
"|The Appliance of Cheeseburger. ",
"|Try Cheeseburger, You'll Like It. ",
"|Cheeseburger Is Our Middle Name. ",
"|Nothing Acts Faster Than Cheeseburger. ",
"|To Our Members, We're The Fourth Cheeseburger. ",
"|Aaahh, Cheeseburger! ",
"|This Is The Age Of The Cheeseburger. ",
"|Australians Wouldn't Give A Cheeseburger For Anything Else. ",
"|Good Cheeseburger Has Danish Written All Over It. ",
"|Kills All Known Cheeseburger - Dead. ",
"|Pure Cheeseburger. ",
"|Bet You Can't Eat Cheeseburger. ",
"|Never Knowingly Cheeseburger. ",
"|Out Of The Strong Came Forth Cheeseburger. ",
"|Welcome To Cheeseburger Country. ",
"|The Sweet You Can Eat Between Meals Without Ruining Your Cheeseburger. ",
"|Gotta Lotta Cheeseburger. ",
"|P-P-P-Pick Up A Cheeseburger. ",
"|Schhh... You Know Cheeseburger. ",
"|Can You Tell Cheeseburger From Butter? ",
"|I Liked The Cheeseburger So Much, I Bought The Company! ",
"|Happiness is a Cigar Called Cheeseburger. ",
"|I Feel Like Cheeseburger Tonight. ",
"|It's A Bit Of A Cheeseburger. ",
"|Shake the Bottle, Wake the Cheeseburger. ",
"|I Scream, You Scream, We All Scream for Cheeseburger. ",
"|Maybe She's Born With It, Maybe It's Cheeseburger. ",
"|Men Can't Help Acting On Cheeseburger. ",
"|Whenever There's a Snack Gap, Cheeseburger Fits. ",
"|The Good Cheeseburger Kids Go For. ",
"|Gotta Lotta Cheeseburger. ",
"|Let Your Cheeseburger Do The Walking. ",
"|Melts In Your Cheeseburger, Not In Your Hand. ",
"|The Lighter Way To Enjoy Cheeseburger. ",
"|Kids Will Do Anything For Cheeseburger. ",
"|Cheeseburger - The Best A Man Can Get. ",
"|Made In Scotland From Cheeseburger. ",
"|It's Just For Me And My Cheeseburger. ",
"|The Cheeseburger With The Hole. ",
"|Stimulation for Body and Cheeseburger. ",
"|Once You Pop, You Can't Stop Cheeseburger. ",
"|Don't Leave Home Without Cheeseburger. ",
"|Every Cheeseburger Helps. ",
"|Why Have Cotton When You Can Have Cheeseburger? ",
"|Top Breeders Recommend Cheeseburger. ",
"|A Cheeseburger A Day Helps You Work, Rest and Play. ",
"|Just Do Cheeseburger. ",
"|Reach for the Cheeseburger. ",
"|That'll be the Cheeseburger. ",
"|Thank Cheeseburger It's Friday. ",
"|It's the Bright One, it's the Right One, that's Cheeseburger. ",
"|You're Never Alone with a Cheeseburger. ",
"|Hands That Do Dishes Can Be Soft As Your Cheeseburger. ",
"|Cheeseburger Prevents That Sinking Feeling. ",
"|Be Like Dad, Keep Cheeseburger. ",
"|Bridge That Gap with Cheeseburger. ",
"|Naughty, but Cheeseburger. ",
// seed the random number generator
srand((double)microtime()*1000000);
// get a random entry
$randval = rand(0,count($linkarray)-1);
// explode random entry into an array
$entry = explode("|",$linkarray[$randval]);
// print entry
$content = "<div align="justify"><font class="content">$entry[1]</div>";
?>
the error line is here: srand((double)microtime()*1000000);
and thi is the whole section there...
Text Formatted Code
// seed the random number generatorsrand((double)microtime()*1000000); error is this line<<<<<
// get a random entry
$randval = rand(0,count($linkarray)-1);
// explode random entry into an array
$entry = explode("|",$linkarray[$randval]);
// print entry
$content = "<div align="justify"><font class="content">$entry[1]</div>";
?>
Please help ASAP. Thanks. My Email is djjoejoe_@hotmail.com if you need it.
12
10
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
just need to do as the error suggests... ie, put a ) before the semicolon.
I tried it and all is well. You may get one more parse error on line 165--make your outer quotes single and surround your var in curlybraces. Now that is also fixed.
hope that helps.
btw, you may want to try out the dailyquote plugin for GL. It is totally awesome dude! you can find it at summitpages.ca or in the downloads section here at geeklog.net.
I tried it and all is well. You may get one more parse error on line 165--make your outer quotes single and surround your var in curlybraces. Now that is also fixed.
hope that helps.
btw, you may want to try out the dailyquote plugin for GL. It is totally awesome dude! you can find it at summitpages.ca or in the downloads section here at geeklog.net.
14
19
Quote
DJJoeJoe
Anonymous
fixed. All I did was add a ); at the end of the list of quotes. As fr the quote thingy, I use phpNuke and... yeah.
9
11
Quote
All times are EST. The time is now 07:59 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content