missing config
-
- Posts: 8
- Joined: Sun Feb 01, 2004 10:15 pm
- Contact:
missing config
Ok,,,,
this works:
http://192.168.1.100:4000/
radiotools/index.php - streaming works

signature - whatsplaying.php image is shown but has old data in it
example.php & example2.php have the same 'old' data in it
catcher.php gives this error:
Drew
this works:
http://192.168.1.100:4000/
radiotools/index.php - streaming works
signature - whatsplaying.php image is shown but has old data in it
example.php & example2.php have the same 'old' data in it
catcher.php gives this error:
what do I need to config?Copyright RadioToolBox.com another great application from Jay Krivanek
well if you see this then php is installed and catcher can at least be parsed, maybe try debugging me by adding ?debug=USERNAME in the url field
Drew
-
- Posts: 8
- Joined: Sun Feb 01, 2004 10:15 pm
- Contact:
Alt C
Jay, thanx so much for your work and time in this project!
I looked at Alt C and it has shown "Script Updated"
Now I have been changing the config alot and I must of at one point had the setting for it to list data from the past.
http://www.soundsunderground.net/radiotools/example.php
this data is from Feb 02 9PM,,, (while I was changing various config)
So I had it and now I don't ,,,lol
Drew
PS:for some reason CHMOD for error_log in radiotools folder is 644 and will not allow me to 777
- I created a file error_log.txt and CHMOD777 also includes.php is CHMOD 777
I looked at Alt C and it has shown "Script Updated"
Now I have been changing the config alot and I must of at one point had the setting for it to list data from the past.
http://www.soundsunderground.net/radiotools/example.php
this data is from Feb 02 9PM,,, (while I was changing various config)
So I had it and now I don't ,,,lol
Drew
PS:for some reason CHMOD for error_log in radiotools folder is 644 and will not allow me to 777
- I created a file error_log.txt and CHMOD777 also includes.php is CHMOD 777
-
- Posts: 8
- Joined: Sun Feb 01, 2004 10:15 pm
- Contact:
http://www.soundsunderground.net/radiotools/catcher.php?debu
Copyright RadioToolBox.com another great application from Jay Krivanek
Welcome to the RTB Catcher Debug Session
We will now check your server environment for proper installation and compatibility with catcher.
Now letting you read this message cause we can.
Starting Check...
Checking Environment...
Checking for proper file permissions
Warning: Log file error_log.txt is not writable or does not exist.
Warning: includes.php does not exist in the proper location, this makes me sad, attempting to create...
FATAL
Welcome to the RTB Catcher Debug Session
We will now check your server environment for proper installation and compatibility with catcher.
Now letting you read this message cause we can.
Starting Check...
Checking Environment...
Checking for proper file permissions
Warning: Log file error_log.txt is not writable or does not exist.
Warning: includes.php does not exist in the proper location, this makes me sad, attempting to create...
FATAL
-
- Posts: 8
- Joined: Sun Feb 01, 2004 10:15 pm
- Contact:
Found IT!
$includes_path = "";
I had put the http://www.soundunderground.net/radiotools/ in rather than leaving blank
Thanx Jay for your awesome work.... once I finish beta testing,,, I will include your banners on the site!
Drew
PS: Is there a way to change the colour of the FONT?
I had put the http://www.soundunderground.net/radiotools/ in rather than leaving blank
Thanx Jay for your awesome work.... once I finish beta testing,,, I will include your banners on the site!
Drew
PS: Is there a way to change the colour of the FONT?
Last edited by SoundsUnderground on Tue Feb 03, 2004 2:48 pm, edited 1 time in total.
-
- Posts: 8
- Joined: Sun Feb 01, 2004 10:15 pm
- Contact:
Thanx,,,,
seems we posted on the thread at the same time,,,,
Just wondering how to change the colour of the font in Signature? and make the signature hyperlink to my site?
your sig is playin.png
my sig is whatsplaying.php
Drew

Just wondering how to change the colour of the font in Signature? and make the signature hyperlink to my site?
your sig is playin.png
my sig is whatsplaying.php
Drew
-
- Posts: 1
- Joined: Fri Feb 06, 2004 8:24 am
ok, you want to change the text color? here is some code that may help you...as pulled directly from the www.php.net site...
This is the actual code I use to generate my tag. If you notice the $textcolor var? That's what changes the text color. the 3 values are red, green, and blue with a value of 0 to 255.
Hope this helps!
Code: Select all
<?php
include("config.php");
header("Content-Type: image/png");
$im = imagecreatefrompng("songband1.png");
$db->open("SELECT songlist.*, historylist.listeners as listeners, historylist.requestID as requestID, historylist.date_played as starttime FROM historylist,songlist WHERE (historylist.songID = songlist.ID) AND (songlist.songtype='S') ORDER BY historylist.date_played DESC LIMIT 6");
$history = $db->rows();
reset($history);
$db->open("SELECT songlist.*, queuelist.requestID as requestID FROM queuelist, songlist WHERE (queuelist.songID = songlist.ID) AND (songlist.songtype='S') AND (songlist.artist <> '') ORDER BY queuelist.sortID ASC LIMIT 2");
$queue = $db->rows();
reset($queue);
list($key, $song) = each($history);
$listeners = $song["listeners"];
$current_song = $song["title"]." - ".$song["artist"];
$textcolor = imagecolorallocate($im, 0, 255, 255);
if ($im)
{
ImageString($im, 1, 17, 4, "Now Playing: ".$cuurent_song, 2);
ImageString($im, 1, 17, 17, "There are ".$listeners." listeners on PS Game Radio!", $textcolor);
ImagePNG($im);
}
?>
Hope this helps!