PHP Error in config.php

Ask questions, request features, or just complement us about our software and services.
Post Reply
User avatar
MCJesus
Posts: 8
Joined: Fri Feb 21, 2003 4:55 pm
Location: Germany, NRW
Contact:

PHP Error in config.php

Post by MCJesus »

first sry for my bad english

I become following error from the Catcher and config.php

Parse error: parse error, unexpected T_VARIABLE in /www/htdocs/jesusj/RTB/config.php on line 1

but i don´t known what is it :/

here is my config.php

<?php



$mode='flat_file';



/*

Set this to your Radio ToolBox Username

*/

$rtb_user = mcjesus;



/*

Set this to your Radio ToolBox Password

*/

$rtb_pass = ********;



/*

Set this to the amount of Songs you want accumulated in History.

*/

$song_history = 20;



/*

Full Path to includes directory

if you want the scripts to use the full path to the includes.php file rather then the

reletive path then use this setting. Be sure to include the trailing slash. Leave blank

to use the reletive path.

*/



$includes_path = "www/htdocs/jesusj/RTB/includes.php";



?>








So i hope you can help my.
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

make sure quotes are surrounding any string variables.

for instance
$rtb_user = mcjesus;

should be
$rtb_user = "mcjesus";
- Jay
User avatar
MCJesus
Posts: 8
Joined: Fri Feb 21, 2003 4:55 pm
Location: Germany, NRW
Contact:

Post by MCJesus »

Yeah Thx but now i have a new Problem :/


I become from the programm the error

Message: (Log Stored (Invalid Login!) Waiting 3600secs)

but all is right or what mean the Programm ?

hmm for 1 hour have it work but now it works not :cry:

http://www.jesus.world-of-lan.de/RTB/mystation.htm <-- This works but
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

ignore the invalid login message unless you have an Online Log Account.

The status of your script can be seen in the Current Stats Window under Script Status.
- Jay
User avatar
MCJesus
Posts: 8
Joined: Fri Feb 21, 2003 4:55 pm
Location: Germany, NRW
Contact:

Post by MCJesus »

Jay wrote:ignore the invalid login message unless you have an Online Log Account.

The status of your script can be seen in the Current Stats Window under Script Status.
No i dont have a Log Acc. but why can i not see on the Example´s and the whatimplayin.php what for a song i play ? or the Listenr number?

and in the stats off the Script is Script updatet but i can´t see not from this
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

is there anything in your includes.php file in the same directory as the catcher.php script?
- Jay
User avatar
MCJesus
Posts: 8
Joined: Fri Feb 21, 2003 4:55 pm
Location: Germany, NRW
Contact:

Post by MCJesus »

sry but i don`t understand the question
Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

where you placed the catcher.php script on your server, you should also see a file named includes.php
- Jay
User avatar
MCJesus
Posts: 8
Joined: Fri Feb 21, 2003 4:55 pm
Location: Germany, NRW
Contact:

Post by MCJesus »

ahh Yes the Includes.php is in the same directory we the catcher.php

I have all from the rtb_catcher.zip file packed in the Folder RTB on my Server
Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

is there anything inside this file?
- Jay
User avatar
MCJesus
Posts: 8
Joined: Fri Feb 21, 2003 4:55 pm
Location: Germany, NRW
Contact:

Post by MCJesus »

This is in my Includes.php

<?php
?>

the includes.php have CHMOD 777
Image
User avatar
Jay
Will work for food (Administrator)
Posts: 3020
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

What do you see if you go to the catcher.php url?
- Jay
User avatar
MCJesus
Posts: 8
Joined: Fri Feb 21, 2003 4:55 pm
Location: Germany, NRW
Contact:

Post by MCJesus »

This

Copyright RadioToolBox.com another great application from Jay Krivanek
BADPASSWORD
Image
Post Reply