die erro is dit Unable to connect to 213.10.154.123:1221. Station might be offline.
The error returned was Connection refused (111).
ik heb alles geprobeerd andere poort helpt me ook niet
we zijn al weken aan het proberen om het toch draaiende te krijgen
maar kom niet veder elke keer dan dit
alle porten staan open
weet iemand waar ik iets fout heb gedaan
heb de php codes er ook even bij gedaan misschien dat hier ergens een fout zit .
mvg
http://www.internetradiogismo.nl/Nonsto ... aylist.php
Code: Selecteer alles
REQUEST_DAYS
Show the top requests for the last xx days
*/
define('REQUEST_DAYS', 30);
/*
SAM_HOST
The internet IP address of the machine SAM is running on.
DO NOT use a local IP address like 127.0.0.1 or 192.x.x.x (UNLESS your webserver is on the same local network as SAM)
Not sure what your IP address is?
Try http://www.ipchicken.com or http://www.whatismyip.com
If your IP address changes regularly, rather use DNS to make the "name" static.
See http://www.no-ip.com and http://www.dyndns.com/
*/
define('SAM_HOST', '213.10.154.123');
/*
SAM_PORT
The port SAM handles HTTP requests on. Usually 1221.
If you are behind a router you may need to implement "port forwarding" to make SAM visible.
For more information on port forwarding see:
http://en.wikipedia.org/wiki/Port_forwarding
http://portforward.com/
*/
define('SAM_PORT', '1221');
/*
SHOW_PICTURES
Must we show album cover pictures in now playing section?
For this to work you must
a) Associate the album cover pictures with the tracks using the Song Information Editor in SAM.
The Amazon lookup really makes this an easy process.
b) Upload these album pictures to your webserver.
By default SAM stores the pictures in the directory specified in SAM->Config->General under "Local Picture Directory"
c) SAM can upload album cover pictures using FTP. See
* SAM->Config->HTML Ouput to set up FTP details
* and SAM->Menu->General->HTML Output->Upload all pictures
*/
define('SHOW_PICTURES', true);
/*
PICTURE_URL
Location where all your album pictures are stored.
Example Relative path: pictures/
Example Absolute path: http://your.webserver.com/pictures/
*/
define('PICTURE_URL', 'pictures/');
/*
PICTURE_NA
Use this picture if the song has no picture.
To disable the use of a default picture set value to empty string.
*/
define('PICTURE_URL_NA', PICTURE_URL.'na.png');
/*
HISTORY_COUNT
The number of history items to display on the playing page
*/
define('HISTORY_COUNT', 5);
/*
COMING_UP_COUNT
The number of coming soon songs to display.
Set to zero to disable coming up section.
*/
define('COMING_UP_COUNT', 2);
/*
CHECK_INTERVAL
How regularly do you want to check for a song change event in order to refresh the "Now playing" page data.
Set to zero to disable checks for song change.
Default settings is every 30 seconds.
We do not recommend a setting lower than 10 seconds (10000) or higher than 3 minutes (180000).
*/
define('CHECK_INTERVAL', 30000);
## ============================================================ ##
// The Singleton Database class
require_once('Common/Database.php');
// Create a connection to the database from config file
$db = Database::getInstance(APP_PATH.DS.'config'.DS.'dbconfig.xml.php');
// Verify the config settings above
require_once('config.verify.php');Code: Selecteer alles
<?php/*
<CONFIG application="SAM" version="3.4.2">
<Database>
<Driver>MYSQL</Driver>
<Host>213.10.154.123</Host>
<Port>3306</Port>
<Database>samdb</Database>
<Username>nick</Username>
<Password>nick132</Password>
</Database>
</CONFIG>
*/?>
