missing config

Ask questions, request features, or just complement us about our software and services.
Post Reply
SoundsUnderground
Posts: 8
Joined: Sun Feb 01, 2004 10:15 pm
Contact:

missing config

Post by SoundsUnderground »

Ok,,,,

this works:
http://192.168.1.100:4000/
radiotools/index.php - streaming works

Image
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:
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
what do I need to config?

Drew
User avatar
Jay
Will work for food (Administrator)
Posts: 3028
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

press ALT+C and see if you can see any errors for Script Service.
- Jay
SoundsUnderground
Posts: 8
Joined: Sun Feb 01, 2004 10:15 pm
Contact:

Alt C

Post by SoundsUnderground »

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
SoundsUnderground
Posts: 8
Joined: Sun Feb 01, 2004 10:15 pm
Contact:

http://www.soundsunderground.net/radiotools/catcher.php?debu

Post by SoundsUnderground »

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
SoundsUnderground
Posts: 8
Joined: Sun Feb 01, 2004 10:15 pm
Contact:

Found IT!

Post by SoundsUnderground »

$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?
Last edited by SoundsUnderground on Tue Feb 03, 2004 2:48 pm, edited 1 time in total.
User avatar
Jay
Will work for food (Administrator)
Posts: 3028
Joined: Mon Jan 14, 2002 12:48 am
Location: Next Door
Contact:

Post by Jay »

set your folder permissions to world writable.
- Jay
SoundsUnderground
Posts: 8
Joined: Sun Feb 01, 2004 10:15 pm
Contact:

Thanx,,,,

Post by SoundsUnderground »

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
Image
zhivotnoya
Posts: 1
Joined: Fri Feb 06, 2004 8:24 am

Post by zhivotnoya »

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...

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);
}
?> 

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!
Image
Post Reply