Your request failed

PHP, HTML, Joomla, WordPress, etc..
Plaats reactie
John Winter

Your request failed

Ongelezen bericht door John Winter »

Your request failed. Reason given:
SAM host must be specified (Err#: 800)

Bovenstaande melding, krijg ik sinds vandaag op mijn jukebox te zien.

Het heeft altijd gewerkt sinds ik sam 4.4.6 heb werkt hij niet meer ...

Ik heb de poorten open staan, ook de firewal poorten die heb ik gechekt via een website

Code: Selecteer alles

Success: I can see your service on 85.149.212.32 on port (1221)
Your ISP is not blocking port 1221

Success: I can see your service on 85.149.212.32 on port (3306)
Your ISP is not blocking port 3306
Kan iemand mij helpen op dit forum.....

Alvast Bedankt
Johnny
Gebruikersavatar
peellandfm
Moderator
Berichten: 1290
Lid geworden op: 27 feb 2006, 11:26
SAM-versie: 4.9.1.*
Database: MySQL
Windows: 10
Contacteer:

Re: Your request failed

Ongelezen bericht door peellandfm »

John Winter schreef:SAM host must be specified (Err#: 800)
Kijk eens of de config.php wel goed staat?
John Winter

Re: Your request failed

Ongelezen bericht door John Winter »

Bij deze de config :

Code: Selecteer alles

<?php
 
/* ## ======================================== ## */  
  $commonpath = "./common";
  
  //Station general details
  $station  = "My station name";
  $email    = "email@mailbox.com";
  $logo     = "images/logo.gif";
  
  $stationid   = 0;           //The ID of your registered station on AudioRealm.com
  $sam["host"] = "85.149.212.32"; //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";  
 
/* ## ======================================== ## */
  
 $metabasepath = "$commonpath/metabase";
 require("$metabasepath/metabase_interface.php");
 require("$metabasepath/metabase_database.php");

 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();
?>
Gr
Johnny
Gebruikersavatar
peellandfm
Moderator
Berichten: 1290
Lid geworden op: 27 feb 2006, 11:26
SAM-versie: 4.9.1.*
Database: MySQL
Windows: 10
Contacteer:

Re: Your request failed

Ongelezen bericht door peellandfm »

En in de file dbconfig.xml.php
Ook alles goed??
Heb je ook audiorealm bij requestpolicy staan?
John Winter

Re: Your request failed

Ongelezen bericht door John Winter »

Bij deze :

Code: Selecteer alles

<?/* 
<CONFIG application="SAM" version="4.4.6 [WM-ROBUST-BETA8]">
	<Database>
		<Driver>MYSQL</Driver>
		<Host>85.149.212.32</Host>
		<Port>3306</Port>
		<Database>SAMDB</Database>
		<Username>Johnny</Username>
		<Password>07uxvJMC</Password>
	</Database>
</CONFIG>

 */?>
Gr
Johnny
Gebruikersavatar
Kees
Beheerder
Berichten: 3165
Lid geworden op: 28 nov 2005, 22:07
SAM-versie: 4.2.2.*
Database: MySQL
Windows: 11
Locatie: Bergen op Zoom
Contacteer:

Re: Your request failed

Ongelezen bericht door Kees »

Code: Selecteer alles

      <Username>Johnny</Username>
      <Password>07uxvJMC</Password>
Slim om je password zo open en bloot op het forum te zetten.
Nu kan iedereen in je database !!!!!!
John Winter

Re: Your request failed

Ongelezen bericht door John Winter »

Sorry daarvoor, paswoordt verandert,

Had bezoek, dus had het ff snel gekopierd....

Gr
Johnny, heeft iemand al een oplossing hiervoor ?
Gebruikersavatar
cyberneticorganism
VIP
Berichten: 918
Lid geworden op: 11 jun 2008, 18:14
SAM-versie: 2014.7
Database: MySQL
Windows: 10
Contacteer:

Re: Your request failed

Ongelezen bericht door cyberneticorganism »

Weet je zeker dat poort 1221 openstaat in je (windows)firewall? Iets blokkeert poort 1221, anders krijg je die foutmelding niet...
Plaats reactie
  • Vergelijkbare Onderwerpen
    Reacties
    Weergaves
    Laatste bericht