wit beeld

PHP, HTML, Joomla, WordPress, etc..
Plaats reactie
joujou333

wit beeld

Ongelezen bericht door joujou333 »

Hallo,

ik heb een vraagje!
dit is wat bij mij in de config staat:

Code: Selecteer alles

<?
 
/* ## ======================================== ## */  
  $commonpath = "./common";
  
  //Station general details
  $station  = "Radio Octaaf";
  $email    = "hibbocomp@live.nl";
  $logo     = "images/logo.gif";
  
  $stationid   = 132332;           //The ID of your registered station on AudioRealm.com
  $sam["host"] = "localhost"; //The 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)
  $sam["port"] = "1221";      //The port SAM handles HTTP requests on. Usually 1221.
  
  
  //General options
  $privaterequests = true;  //If False, AudioRealm.com will handle the requests
  $showtoprequests = true;  //Must we show the top 10 requests on the now playing page?
  $requestdays     = 30;    //Show the top10 requests for the last xx days

  $showpic     = true; //Must we show pictures in now playing section?   
  $picture_dir = "pictures/"; //Directory where all your album pictures are stored
  $picture_na  = $picture_dir."na.gif"; //Use this picture if the song has no picture
  
  //Row colors used
  $darkrow  = "#dadada";
  $lightrow = "#F6F6F6";  
 
/* ## ======================================== ## */
  
 require_once("common/form.php");
 require_once("common/db.php");
 require_once("common/functions.php");
 
 // Load EGPCS vars into globals (emulates register_globals = On in php.ini)
if (!empty($HTTP_ENV_VARS)) while(list($name, $value) = each($HTTP_ENV_VARS)) $$name = $value;
if (!empty($HTTP_GET_VARS)) while(list($name, $value) = each($HTTP_GET_VARS)) $$name = $value;
if (!empty($HTTP_POST_VARS)) while(list($name, $value) = each($HTTP_POST_VARS)) $$name = $value;
if (!empty($HTTP_COOKIE_VARS)) while(list($name, $value) = each($HTTP_COOKIE_VARS)) $$name = $value;
if (!empty($HTTP_SERVER_VARS)) while(list($name, $value) = each($HTTP_SERVER_VARS)) $$name = $value;
   

 $db = new DBTable();
 
 //Your REMOTE MySQL database login details
 //IMPORTANT: This is the database login details for the database located on the WEBSERVER.
 $db->ReadXMLConfig("dbconfig.xml.php");
 
 //Your LOCAL MySQL database login details
 //This is the login details the webserver will use to contact the local database on the SAM Broadcaster server.
 //This is only used for making dedications from the request window.
 //$db->ReadXMLConfig("samdb.xml.php");
 $samlogin = $db->login; //In most cases the remote database will be the same as the local database.
  
 //Finally connect to the database
 $db->connect();
?>
maar nou als ik naar http://82.217.167.194/samPHPweb ga ik heb het gehost op xampp dan krijg ik alleen wit beeld meer niks! kan iemand mij helpen vroeger had ik het wel.
Gebruikersavatar
Wout
Beheerder
Berichten: 3522
Lid geworden op: 03 dec 2007, 14:17
SAM-versie: 2019.3
Database: MariaDB
Windows: 11
Locatie: West-Brabant
Contacteer:

Re: wit beeld

Ongelezen bericht door Wout »

Als het vroeger het wel heeft gedaan en nu niet en er is niks veranderd aan je XAMPP.
Dan heb je waarschijnlijk een verandering gemaakt in playing.php.

Doet hij het wel als je de originele PHP-bestanden gebruikt?
Afbeelding
joujou333

Re: wit beeld

Ongelezen bericht door joujou333 »

nee heel vreger maar toen heb ik alles webgegooid en nou wil ik over nieuw en nou doet hij het niet dus het is ja alles gedaan sam op nieuw gedownload de speciale voor sam 4 enzo maar niks doet het??
Plaats reactie
  • Vergelijkbare Onderwerpen
    Reacties
    Weergaves
    Laatste bericht